[Xfce4-commits] <xfce4-screenshooter:master> Quit action dialog on delete event (Mike Massonnet).

Jérôme Guelfucci noreply at xfce.org
Thu Nov 12 15:44:05 CET 2009


Updating branch refs/heads/master
         to 178a91674b8a39ece9e543511fa52e85502715e7 (commit)
       from 90189d939f8ade7eefdead1e0c4186bf90058a16 (commit)

commit 178a91674b8a39ece9e543511fa52e85502715e7
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date:   Thu Nov 12 14:54:14 2009 +0100

    Quit action dialog on delete event (Mike Massonnet).

 lib/screenshooter-actions.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/screenshooter-actions.c b/lib/screenshooter-actions.c
index 1be06a5..4c2356d 100644
--- a/lib/screenshooter-actions.c
+++ b/lib/screenshooter-actions.c
@@ -68,7 +68,7 @@ gboolean screenshooter_action_idle (ScreenshotData *sd)
 
       gtk_widget_destroy (dialog);
 
-      if (response == GTK_RESPONSE_CANCEL)
+      if (response == GTK_RESPONSE_CANCEL || response == GTK_RESPONSE_DELETE_EVENT)
         {
           if (!sd->plugin)
             gtk_main_quit ();



More information about the Xfce4-commits mailing list