[epiphany] Make confirmation dialog modal



commit 15cb7aa3e1b4a4cb07122760818b75ae2d008b86
Author: William Jon McCann <william jon mccann gmail com>
Date:   Thu Feb 6 16:06:45 2014 -0500

    Make confirmation dialog modal
    
    https://bugzilla.gnome.org/show_bug.cgi?id=723803

 src/ephy-history-window.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c
index 6bcb9ba..979d439 100644
--- a/src/ephy-history-window.c
+++ b/src/ephy-history-window.c
@@ -173,7 +173,7 @@ confirmation_dialog_construct (EphyHistoryWindow *self)
 
        dialog = gtk_message_dialog_new
                (GTK_WINDOW (self),
-                GTK_DIALOG_DESTROY_WITH_PARENT,
+                GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
                 GTK_MESSAGE_WARNING,
                 GTK_BUTTONS_CANCEL,
                 _("Clear browsing history?"));
@@ -192,8 +192,6 @@ confirmation_dialog_construct (EphyHistoryWindow *self)
        
        gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_CANCEL);
 
-       gtk_window_set_title (GTK_WINDOW (dialog), _("Clear History"));
-
        g_signal_connect (dialog, "response",
                          G_CALLBACK (confirmation_dialog_response_cb),
                          self);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]