[file-roller] Dialog title displayed untranslated



commit 64678849cc6fbe342740d85904239501c6d460a7
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sun Sep 18 08:34:30 2016 +0200

    Dialog title displayed untranslated
    
    [bug #756917]

 src/fr-application.c |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/src/fr-application.c b/src/fr-application.c
index 92e2fc9..43e8e20 100644
--- a/src/fr-application.c
+++ b/src/fr-application.c
@@ -451,6 +451,9 @@ fr_application_startup (GApplication *application)
 
        G_APPLICATION_CLASS (fr_application_parent_class)->startup (application);
 
+       g_set_application_name (_("Archive Manager"));
+       gtk_window_set_default_icon_name ("file-roller");
+
        fr_application_register_archive_manager_service (FR_APPLICATION (application));
        initialize_data ();
 
@@ -710,11 +713,6 @@ fr_application_class_init (FrApplicationClass *klass)
 static void
 fr_application_init (FrApplication *self)
 {
-       /* set the name and icon */
-
-       g_set_application_name (_("Archive Manager"));
-       gtk_window_set_default_icon_name ("file-roller");
-
 #ifdef ENABLE_NOTIFICATION
        if (! notify_init (g_get_application_name ()))
                 g_warning ("Cannot initialize notification system.");


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