]> Pileus Git - ~andy/gtk/commitdiff
rename the activate-menu signal to show-menu as discussed in bug #153873.
authorPaolo Borelli <pborelli@katamail.com>
Tue, 5 Oct 2004 14:19:54 +0000 (14:19 +0000)
committerPaolo Borelli <pborelli@src.gnome.org>
Tue, 5 Oct 2004 14:19:54 +0000 (14:19 +0000)
2004-10-05  Paolo Borelli  <pborelli@katamail.com>

* gtk/gtkmenutoolbutton.c: rename the activate-menu signal to
show-menu as discussed in bug #153873.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-6
ChangeLog.pre-2-8
docs/reference/gtk/tmpl/gtkmenutoolbutton.sgml
gtk/gtkmenutoolbutton.c
gtk/gtkmenutoolbutton.h

index a2afc7b022017701d3a44b8d6e713a8e784b6731..c26eea7a4a44df78f8d6259450a76e883db66f81 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-10-05  Paolo Borelli  <pborelli@katamail.com>
+
+       * gtk/gtkmenutoolbutton.c: rename the activate-menu signal to
+       show-menu as discussed in bug #153873.
+
 2004-10-05  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Set 
index a2afc7b022017701d3a44b8d6e713a8e784b6731..c26eea7a4a44df78f8d6259450a76e883db66f81 100644 (file)
@@ -1,3 +1,8 @@
+2004-10-05  Paolo Borelli  <pborelli@katamail.com>
+
+       * gtk/gtkmenutoolbutton.c: rename the activate-menu signal to
+       show-menu as discussed in bug #153873.
+
 2004-10-05  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Set 
index a2afc7b022017701d3a44b8d6e713a8e784b6731..c26eea7a4a44df78f8d6259450a76e883db66f81 100644 (file)
@@ -1,3 +1,8 @@
+2004-10-05  Paolo Borelli  <pborelli@katamail.com>
+
+       * gtk/gtkmenutoolbutton.c: rename the activate-menu signal to
+       show-menu as discussed in bug #153873.
+
 2004-10-05  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Set 
index a2afc7b022017701d3a44b8d6e713a8e784b6731..c26eea7a4a44df78f8d6259450a76e883db66f81 100644 (file)
@@ -1,3 +1,8 @@
+2004-10-05  Paolo Borelli  <pborelli@katamail.com>
+
+       * gtk/gtkmenutoolbutton.c: rename the activate-menu signal to
+       show-menu as discussed in bug #153873.
+
 2004-10-05  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Set 
index f7d6c093c549d169f7c2293dace89373037e9f35..bafbb218df6aa8050f592fdd3d7752c3179a9d8e 100644 (file)
@@ -41,7 +41,7 @@ A #GtkToolItem containing a button with an additional dropdown menu.
 </para>
 
 
-<!-- ##### SIGNAL GtkMenuToolButton::menu-activated ##### -->
+<!-- ##### SIGNAL GtkMenuToolButton::show-menu ##### -->
 <para>
 
 </para>
index 45c24d13ab41f5d48a43a0a07974e37e535f2b6d..e5aea705b764f344d9d7ee7298ff01c65e45c4f9 100644 (file)
@@ -48,7 +48,7 @@ static void gtk_menu_tool_button_finalize   (GObject                *object);
 
 enum
 {
-  MENU_ACTIVATED,
+  SHOW_MENU,
   LAST_SIGNAL
 };
 
@@ -232,14 +232,14 @@ gtk_menu_tool_button_class_init (GtkMenuToolButtonClass *klass)
   toolitem_class->set_tooltip = gtk_menu_tool_button_set_tooltip;
   toolitem_class->toolbar_reconfigured = gtk_menu_tool_button_toolbar_reconfigured;
 
-  signals[MENU_ACTIVATED] =
-    g_signal_new ("menu-activated",
+  signals[SHOW_MENU] =
+    g_signal_new ("show-menu",
                   G_OBJECT_CLASS_TYPE (klass),
-                 G_SIGNAL_RUN_FIRST,
-                  G_STRUCT_OFFSET (GtkMenuToolButtonClass, menu_activated),
-                 NULL, NULL,
-                 g_cclosure_marshal_VOID__VOID,
-                 G_TYPE_NONE, 0);
+                  G_SIGNAL_RUN_FIRST,
+                  G_STRUCT_OFFSET (GtkMenuToolButtonClass, show_menu),
+                  NULL, NULL,
+                  g_cclosure_marshal_VOID__VOID,
+                  G_TYPE_NONE, 0);
 
   g_object_class_install_property (object_class,
                                    PROP_MENU,
@@ -338,7 +338,7 @@ popup_menu_under_arrow (GtkMenuToolButton *button,
 
   priv = GTK_MENU_TOOL_BUTTON_GET_PRIVATE (button);
 
-  g_signal_emit (button, signals[MENU_ACTIVATED], 0);
+  g_signal_emit (button, signals[SHOW_MENU], 0);
 
   if (!priv->menu)
     return;
index 8c95de130bd42dd4f16746fd7c9008a10fb349d8..6f7539b0fd020d886c9b0bc35965846fe7797558 100644 (file)
@@ -50,7 +50,7 @@ struct _GtkMenuToolButtonClass
 {
   GtkToolButtonClass parent_class;
 
-  void (*menu_activated) (GtkMenuToolButton *button);
+  void (*show_menu) (GtkMenuToolButton *button);
 
   /* Padding for future expansion */
   void (*_gtk_reserved1) (void);