[goobox] use the 'popup' property for the GtkMenuButton



commit 05be4bbfe770cd47eea3fe3c46b023c57016c107
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Thu Jun 20 20:50:47 2013 +0200

    use the 'popup' property for the GtkMenuButton

 src/goo-player-bar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/goo-player-bar.c b/src/goo-player-bar.c
index ddda839..65f5b99 100644
--- a/src/goo-player-bar.c
+++ b/src/goo-player-bar.c
@@ -250,7 +250,7 @@ _gtk_button_sync_with_action (GtkWidget *button,
        gtk_widget_set_tooltip_text (button, gtk_action_get_tooltip (action));
        if (GTK_IS_MENU_BUTTON (button))
                g_object_set (button,
-                             "menu", gth_toggle_menu_action_get_menu (GTH_TOGGLE_MENU_ACTION (action)),
+                             "popup", gth_toggle_menu_action_get_menu (GTH_TOGGLE_MENU_ACTION (action)),
                              NULL);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]