[Xfce4-commits] [apps/xfce4-screenshooter] 04/05: Do not respawn the ZimageZ dialog when closed.

noreply at xfce.org noreply at xfce.org
Mon May 5 17:15:26 CEST 2014


This is an automated email from the git hooks/post-receive script.

jeromeg pushed a commit to branch master
in repository apps/xfce4-screenshooter.

commit 441dcf82c510799915cc0e35e6ccf0a636b623e3
Author: Steve Dodier-Lazaro <s.dodier-lazaro at cs.ucl.ac.uk>
Date:   Mon May 5 17:01:20 2014 +0200

    Do not respawn the ZimageZ dialog when closed.
---
 lib/screenshooter-zimagez.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/screenshooter-zimagez.c b/lib/screenshooter-zimagez.c
index f607b1b..d6a01ca 100644
--- a/lib/screenshooter-zimagez.c
+++ b/lib/screenshooter-zimagez.c
@@ -819,7 +819,7 @@ cb_ask_for_information (ScreenshooterJob *job,
   response = gtk_dialog_run (GTK_DIALOG (dialog));
   gtk_widget_hide (dialog);
 
-  if (response == GTK_RESPONSE_CANCEL)
+  if (response == GTK_RESPONSE_CANCEL || response == GTK_RESPONSE_DELETE_EVENT)
     {
       exo_job_cancel (EXO_JOB (job));
     }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list