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

commit ebf917f385070ef28d948cf3e00785d873a6ae8a
Author: Priyank <priy...@frugalware.org>
Date:   Sat May 30 15:30:51 2009 +0530

gfpm-optimizedb: Don't destroy the optimize package database dialog on 
delete-event
* Closes #3713

diff --git a/src/gfpm-optimizedb.c b/src/gfpm-optimizedb.c
index 164cbdd..e13bed0 100644
--- a/src/gfpm-optimizedb.c
+++ b/src/gfpm-optimizedb.c
@@ -1,7 +1,7 @@
/*
*  gfpm-optimizedb.c for gfpm
*
- *  Copyright (C) 2006-2008 by Priyank Gosalia <priyan...@gmail.com>
+ *  Copyright (C) 2006-2009 by Priyank Gosalia <priyan...@gmail.com>
*  Based on pacman-optimize written by Judd Vinet
*  Copyright (C) 2002-2006 Judd Vinet <jvi...@zeroflux.org>
*
@@ -62,6 +62,10 @@ gfpm_optimize_db_dlg_init (void)
"clicked",
G_CALLBACK(gfpm_optimize_db_dlg_hide),
NULL);
+       g_signal_connect (G_OBJECT(gfpm_optimize_db_dlg),
+                       "delete-event",
+                       G_CALLBACK(gtk_widget_hide),
+                       (gpointer)gfpm_optimize_db_dlg);

return;
}
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to