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

Priyank priyank at frugalware.org
Sat May 30 12:03:37 CEST 2009


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

commit ebf917f385070ef28d948cf3e00785d873a6ae8a
Author: Priyank <priyank at 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 <priyankmg at gmail.com>
+ *  Copyright (C) 2006-2009 by Priyank Gosalia <priyankmg at gmail.com>
*  Based on pacman-optimize written by Judd Vinet
*  Copyright (C) 2002-2006 Judd Vinet <jvinet at 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;
}


More information about the Frugalware-git mailing list