Author: dannym Date: 2009-01-11 17:59:09 +0000 (Sun, 11 Jan 2009) New Revision: 29169
Modified: xfce4-mixer/branches/xfce_4_4/panel-plugin/plugin.c Log: fix bug# 3651 (block panel menu), thanks, Mike. Modified: xfce4-mixer/branches/xfce_4_4/panel-plugin/plugin.c =================================================================== --- xfce4-mixer/branches/xfce_4_4/panel-plugin/plugin.c 2009-01-11 17:15:12 UTC (rev 29168) +++ xfce4-mixer/branches/xfce_4_4/panel-plugin/plugin.c 2009-01-11 17:59:09 UTC (rev 29169) @@ -127,6 +127,8 @@ { t_mixer *mixer = (t_mixer *) user_data; + xfce_panel_plugin_unblock_menu (mixer->temp_plugin); + xfce_mixer_prefbox_save_preferences (mixer->prefbox, mixer->prefs); mixer_write_config(mixer->temp_plugin, mixer); @@ -149,11 +151,13 @@ mixer = (t_mixer *) user_data; + xfce_panel_plugin_block_menu (plugin); + /* TODO TRANSLATE TITLE OR SOMETHING */ dialog = GTK_DIALOG ( gtk_dialog_new_with_buttons (xfce_panel_plugin_get_name (plugin), - GTK_WINDOW(gtk_widget_get_toplevel(GTK_WIDGET(plugin))), + NULL, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE, NULL)); _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits