[Xfce4-commits] <xfce4-screenshooter:master> Don't spawn the save dialog when closing the actions dialog.

Jérôme Guelfucci noreply at xfce.org
Tue Nov 24 18:10:01 CET 2009


Updating branch refs/heads/master
         to ee9b000fe6a6cfbdbb39ee72f2966459d679b817 (commit)
       from 7e4bb5acff3d84898b05d5cd5f26a98ced6566b8 (commit)

commit ee9b000fe6a6cfbdbb39ee72f2966459d679b817
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date:   Tue Nov 24 18:09:22 2009 +0100

    Don't spawn the save dialog when closing the actions dialog.

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

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



More information about the Xfce4-commits mailing list