[evince] ishell: Make the about dialog non modal



commit 94e06be89abc1de73ca0a40cc1646bbcc539b942
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Sat May 10 09:23:12 2014 +0200

    ishell: Make the about dialog non modal

 shell/ev-window.c |   28 +++++++++++++---------------
 1 files changed, 13 insertions(+), 15 deletions(-)
---
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 8479e31..f0f16a1 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -5087,21 +5087,19 @@ ev_window_cmd_help_about (GtkAction *action, EvWindow *ev_window)
 
        comments = build_comments_string (ev_window->priv->document);
 
-       gtk_show_about_dialog (
-               GTK_WINDOW (ev_window),
-               "name", _("Evince"),
-               "version", VERSION,
-               "copyright",
-               _("© 1996–2012 The Evince authors"),
-               "license", license_trans,
-               "website", "http://www.gnome.org/projects/evince";,
-               "comments", comments,
-               "authors", authors,
-               "documenters", documenters,
-               "translator-credits", _("translator-credits"),
-               "logo-icon-name", "evince",
-               "wrap-license", TRUE,
-               NULL);
+       gtk_show_about_dialog (NULL,
+                              "name", _("Evince"),
+                              "version", VERSION,
+                              "copyright", _("© 1996–2012 The Evince authors"),
+                              "license", license_trans,
+                              "website", "http://www.gnome.org/projects/evince";,
+                              "comments", comments,
+                              "authors", authors,
+                              "documenters", documenters,
+                              "translator-credits", _("translator-credits"),
+                              "logo-icon-name", "evince",
+                              "wrap-license", TRUE,
+                              NULL);
 
        g_free (comments);
        g_free (license_trans);


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