Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gfpm.git;a=commitdiff;h=3692ef9bbc37665257df4045cd93bd305fcfb73a

commit 3692ef9bbc37665257df4045cd93bd305fcfb73a
Author: Priyank <priy...@frugalware.org>
Date:   Sat Jul 11 11:39:50 2009 +0530

do not destroy the 'Readme' dialog on delete-event

diff --git a/src/gfpm-quickpane.c b/src/gfpm-quickpane.c
index bbbdbfb..7a177aa 100644
--- a/src/gfpm-quickpane.c
+++ b/src/gfpm-quickpane.c
@@ -73,6 +73,10 @@ gfpm_quickpane_init (void)
"clicked",
G_CALLBACK(cb_gfpm_quickpane_readme_clicked),
NULL);
+       g_signal_connect (G_OBJECT(quick_pane_readme_dlg),
+                                       "delete-event",
+                                       G_CALLBACK(gtk_widget_hide),
+                                       (gpointer)quick_pane_readme_dlg);

/* Disable the Quick pane Install,Remove,Upgrade buttons if gfpm is not run as 
root */
if (geteuid() != 0)
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to