Write config file when closing config dialog (bug #9035).
This commit is contained in:
parent
2026158e64
commit
5ea3c5f63c
1 changed files with 9 additions and 0 deletions
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue