changeset 3419:47d6fb3884fb trunk

Connect menu to Carbon.
author William Pitcock <nenolod@atheme.org>
date Sun, 02 Sep 2007 22:43:07 -0500
parents c27b1b544026
children 7b8eb1035978
files src/audacious/ui_manager.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/ui_manager.c	Sun Sep 02 22:40:32 2007 -0500
+++ b/src/audacious/ui_manager.c	Sun Sep 02 22:43:07 2007 -0500
@@ -35,6 +35,7 @@
 
 #include "icons-stock.h"
 
+#include "sync-menu.h"
 
 static GtkUIManager *ui_manager = NULL;
 static gboolean menu_created = FALSE;
@@ -685,6 +686,7 @@
   }
 
   carbon_menubar = ui_manager_get_popup_menu( ui_manager , "/carbon-menubar/main-menu" );
+  sync_menu_takeover_menu(GTK_MENU_SHELL(carbon_menubar));
 #endif
 
   gtk_ui_manager_add_ui_from_file( ui_manager , DATA_DIR "/ui/playlist.ui" , &gerr );