Lines Matching refs:pMenu
94 static void menu_deactivate_cb( GtkWidget *pMenu ) in menu_deactivate_cb() argument
96 gtk_menu_popdown( GTK_MENU( pMenu ) ); in menu_deactivate_cb()
238 static void populate_menu( GtkWidget *pMenu ) in populate_menu() argument
241 GtkMenuShell *pMenuShell = GTK_MENU_SHELL( pMenu ); in populate_menu()
300 gtk_widget_show_all( pMenu ); in populate_menu()
303 static void refresh_menu( GtkWidget *pMenu ) in refresh_menu() argument
306 populate_menu( pMenu ); in refresh_menu()
315 gpointer pMenu ) in activate_cb() argument
317 refresh_menu( GTK_WIDGET( pMenu ) ); in activate_cb()
319 gtk_menu_popup( GTK_MENU( pMenu ), NULL, NULL, in activate_cb()
327 gpointer pMenu) in popup_menu_cb() argument
332 refresh_menu( GTK_WIDGET( pMenu ) ); in popup_menu_cb()
334 gtk_menu_popup( GTK_MENU( pMenu ), NULL, NULL, in popup_menu_cb()
378 GtkWidget *pMenu = gtk_menu_new(); in plugin_init_sys_tray() local
383 G_CALLBACK( activate_cb ), pMenu ); in plugin_init_sys_tray()
385 G_CALLBACK( popup_menu_cb ), pMenu ); in plugin_init_sys_tray()
387 g_signal_connect( pMenu, "deactivate", in plugin_init_sys_tray()