Write config file when closing config dialog (bug #9035).

This commit is contained in:
Harald Judt 2013-02-26 20:33:14 +01:00
parent 2026158e64
commit 5ea3c5f63c

View file

@ -44,6 +44,13 @@
#define UPDATE_TIMEOUT 100 #define UPDATE_TIMEOUT 100
/***************************
*** Function Prototypes ***
***************************/
static void eyes_write_rc_file (XfcePanelPlugin *plugin,
EyesPlugin *eyes);
/***************************** /*****************************
*** Eyes Plugin Functions *** *** Eyes Plugin Functions ***
*****************************/ *****************************/
@ -249,6 +256,8 @@ eyes_properties_dialog_response (GtkWidget *dlg,
{ {
xfce_panel_plugin_unblock_menu (eyes->plugin); xfce_panel_plugin_unblock_menu (eyes->plugin);
eyes_write_rc_file (eyes->plugin, eyes);
gtk_widget_destroy (dlg); gtk_widget_destroy (dlg);
} }