mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-06-19 04:47:54 +00:00
2008-02-29 Mike Kestner <mkestner@novell.com>
* sample/Action.cs: qualify Action usage. * sample/GtkDemo/DemoApplicationWindow.cs: qualify Action usage. * sample/GtkDemo/DemoUIManager.cs: qualify Action usage. svn path=/trunk/gtk-sharp/; revision=97023
This commit is contained in:
parent
10d5a42951
commit
9b2f9754ed
12
ChangeLog
12
ChangeLog
|
@ -1,3 +1,15 @@
|
||||||
|
2008-02-29 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
|
* sample/Action.cs: qualify Action usage.
|
||||||
|
* sample/GtkDemo/DemoApplicationWindow.cs: qualify Action usage.
|
||||||
|
* sample/GtkDemo/DemoUIManager.cs: qualify Action usage.
|
||||||
|
|
||||||
|
2008-02-29 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
|
* configure.in.in: atk checks and SUBSTs.
|
||||||
|
* atk/Util.custom: custom properties for overriding class methods.
|
||||||
|
* atk/glue/util.c: glue to override class methods.
|
||||||
|
|
||||||
2008-02-26 Mike Kestner <mkestner@novell.com>
|
2008-02-26 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
* generator/ByRefGen.cs: fix mismatched alloc/free.
|
* generator/ByRefGen.cs: fix mismatched alloc/free.
|
||||||
|
|
|
@ -189,7 +189,7 @@ namespace GtkSamples {
|
||||||
|
|
||||||
static void OnActivate (object obj, EventArgs args)
|
static void OnActivate (object obj, EventArgs args)
|
||||||
{
|
{
|
||||||
Action action = (Action)obj;
|
Gtk.Action action = (Gtk.Action)obj;
|
||||||
Console.WriteLine ("Action {0} (type={1}) activated",
|
Console.WriteLine ("Action {0} (type={1}) activated",
|
||||||
action.Name, action.GetType ().FullName);
|
action.Name, action.GetType ().FullName);
|
||||||
}
|
}
|
||||||
|
@ -218,7 +218,7 @@ namespace GtkSamples {
|
||||||
|
|
||||||
static void OnToggleCnp (object obj, EventArgs args)
|
static void OnToggleCnp (object obj, EventArgs args)
|
||||||
{
|
{
|
||||||
Action action = (ToggleAction)obj;
|
Gtk.Action action = (ToggleAction)obj;
|
||||||
bool sensitive = ((ToggleAction)action).Active;
|
bool sensitive = ((ToggleAction)action).Active;
|
||||||
action = group.GetAction ("cut");
|
action = group.GetAction ("cut");
|
||||||
action.Sensitive = sensitive;
|
action.Sensitive = sensitive;
|
||||||
|
@ -262,7 +262,7 @@ namespace GtkSamples {
|
||||||
for (int i = 0; i < num; i++) {
|
for (int i = 0; i < num; i++) {
|
||||||
string name = "DynAction" + i;
|
string name = "DynAction" + i;
|
||||||
string label = "Dynamic Action " + i;
|
string label = "Dynamic Action " + i;
|
||||||
Action action = new Action (name, label);
|
Gtk.Action action = new Gtk.Action (name, label);
|
||||||
dynGroup.Add (action);
|
dynGroup.Add (action);
|
||||||
uim.AddUi (mergeId, "/menubar/DynamicMenu", name,
|
uim.AddUi (mergeId, "/menubar/DynamicMenu", name,
|
||||||
name, UIManagerItemType.Menuitem, false);
|
name, UIManagerItemType.Menuitem, false);
|
||||||
|
@ -299,7 +299,7 @@ namespace GtkSamples {
|
||||||
|
|
||||||
static void OnSelect (object obj, EventArgs args)
|
static void OnSelect (object obj, EventArgs args)
|
||||||
{
|
{
|
||||||
Action action = (Action) actions[obj];
|
Gtk.Action action = (Gtk.Action) actions[obj];
|
||||||
if (action.Tooltip != null)
|
if (action.Tooltip != null)
|
||||||
statusbar.Push (0, action.Tooltip);
|
statusbar.Push (0, action.Tooltip);
|
||||||
}
|
}
|
||||||
|
|
|
@ -156,7 +156,7 @@ namespace GtkDemo
|
||||||
|
|
||||||
private void ActionActivated (object sender, EventArgs a)
|
private void ActionActivated (object sender, EventArgs a)
|
||||||
{
|
{
|
||||||
Action action = sender as Action;
|
Gtk.Action action = sender as Gtk.Action;
|
||||||
MessageDialog md;
|
MessageDialog md;
|
||||||
|
|
||||||
md = new MessageDialog (this, DialogFlags.DestroyWithParent,
|
md = new MessageDialog (this, DialogFlags.DestroyWithParent,
|
||||||
|
|
|
@ -132,7 +132,7 @@ namespace GtkDemo
|
||||||
|
|
||||||
private void ActionActivated (object sender, EventArgs a)
|
private void ActionActivated (object sender, EventArgs a)
|
||||||
{
|
{
|
||||||
Action action = sender as Action;
|
Gtk.Action action = sender as Gtk.Action;
|
||||||
Console.WriteLine ("Action \"{0}\" activated", action.Name);
|
Console.WriteLine ("Action \"{0}\" activated", action.Name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue