Sisyphus repository
Last update: 15 october 2021 | SRPMs: 17364 | Visits: 22086997
en ru br
ALT Linux repos
S:1.6-alt4
5.0: 1.0-alt0.alpha2

Group :: Graphics
RPM: geeqie

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: geeqie-1.0-double_generic_dialog_close.patch
Download


diff -Nurb --strip-trailing-cr geeqie-1.0-orig/src/ui_utildlg.c geeqie-1.0/src/ui_utildlg.c
--- geeqie-1.0-orig/src/ui_utildlg.c	2010-02-17 22:21:19.000000000 +0100
+++ geeqie-1.0/src/ui_utildlg.c	2012-12-24 14:24:27.115586025 +0100
@@ -86,11 +86,12 @@
 static gboolean generic_dialog_key_press_cb(GtkWidget *widget, GdkEventKey *event, gpointer data)
 {
 	GenericDialog *gd = data;
+	gboolean auto_close = gd->auto_close;
 
 	if (event->keyval == GDK_Escape)
 		{
 		if (gd->cancel_cb) gd->cancel_cb(gd, gd->data);
-		if (gd->auto_close) generic_dialog_click_cb(widget, data);
+		if (auto_close) generic_dialog_click_cb(widget, data);
 		return TRUE;
 		}
 	return FALSE;
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin