Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fun.git;a=commitdiff;h=1dd7da966e3cf00c28eaabc319ee3a78bceef550

commit 1dd7da966e3cf00c28eaabc319ee3a78bceef550
Author: Priyank <[email protected]>
Date:   Fri Mar 13 19:26:53 2009 +0530

Don't destroy the preferences dialog on delete-event
* Thanks to crazy for noticing this one.

diff --git a/src/fun-ui.c b/src/fun-ui.c
index 54d4221..bdef63c 100644
--- a/src/fun-ui.c
+++ b/src/fun-ui.c
@@ -397,6 +397,12 @@ fun_config_dialog_init (void)
G_CALLBACK(cb_fun_config_dlg_close_clicked),
(gpointer)glade_xml_get_widget(xml,"interval_spbtn"));

+       /* don't destroy the dialog on delete-event */
+       g_signal_connect (G_OBJECT(fun_config_dlg),
+                                         "delete_event",
+                                         G_CALLBACK(gtk_widget_hide),
+                                         (gpointer)fun_config_dlg);
+
return;
}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to