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
4 changed files with 18 additions and 6 deletions
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>
|
||||
|
||||
* generator/ByRefGen.cs: fix mismatched alloc/free.
|
||||
|
|
|
@ -189,7 +189,7 @@ namespace GtkSamples {
|
|||
|
||||
static void OnActivate (object obj, EventArgs args)
|
||||
{
|
||||
Action action = (Action)obj;
|
||||
Gtk.Action action = (Gtk.Action)obj;
|
||||
Console.WriteLine ("Action {0} (type={1}) activated",
|
||||
action.Name, action.GetType ().FullName);
|
||||
}
|
||||
|
@ -218,7 +218,7 @@ namespace GtkSamples {
|
|||
|
||||
static void OnToggleCnp (object obj, EventArgs args)
|
||||
{
|
||||
Action action = (ToggleAction)obj;
|
||||
Gtk.Action action = (ToggleAction)obj;
|
||||
bool sensitive = ((ToggleAction)action).Active;
|
||||
action = group.GetAction ("cut");
|
||||
action.Sensitive = sensitive;
|
||||
|
@ -262,7 +262,7 @@ namespace GtkSamples {
|
|||
for (int i = 0; i < num; i++) {
|
||||
string name = "DynAction" + i;
|
||||
string label = "Dynamic Action " + i;
|
||||
Action action = new Action (name, label);
|
||||
Gtk.Action action = new Gtk.Action (name, label);
|
||||
dynGroup.Add (action);
|
||||
uim.AddUi (mergeId, "/menubar/DynamicMenu", name,
|
||||
name, UIManagerItemType.Menuitem, false);
|
||||
|
@ -299,7 +299,7 @@ namespace GtkSamples {
|
|||
|
||||
static void OnSelect (object obj, EventArgs args)
|
||||
{
|
||||
Action action = (Action) actions[obj];
|
||||
Gtk.Action action = (Gtk.Action) actions[obj];
|
||||
if (action.Tooltip != null)
|
||||
statusbar.Push (0, action.Tooltip);
|
||||
}
|
||||
|
|
|
@ -156,7 +156,7 @@ namespace GtkDemo
|
|||
|
||||
private void ActionActivated (object sender, EventArgs a)
|
||||
{
|
||||
Action action = sender as Action;
|
||||
Gtk.Action action = sender as Gtk.Action;
|
||||
MessageDialog md;
|
||||
|
||||
md = new MessageDialog (this, DialogFlags.DestroyWithParent,
|
||||
|
|
|
@ -132,7 +132,7 @@ namespace GtkDemo
|
|||
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue