[goobox] fixed application name not translated in about dialog



commit ac4552f42bdfaaa1718017850efa358de986264f
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sun Sep 18 13:16:55 2016 +0200

    fixed application name not translated in about dialog

 src/goo-application.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/goo-application.c b/src/goo-application.c
index b3636ef..93587bd 100644
--- a/src/goo-application.c
+++ b/src/goo-application.c
@@ -386,6 +386,10 @@ static void
 goo_application_startup (GApplication *application)
 {
        G_APPLICATION_CLASS (goo_application_parent_class)->startup (application);
+
+       g_set_application_name (_("CD Player"));
+       gtk_window_set_default_icon_name ("goobox");
+
        initialize_app_menu (application);
 }
 
@@ -413,9 +417,6 @@ goo_application_init (GooApplication *self)
 {
        self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self, GOO_TYPE_APPLICATION, GooApplicationPrivate);
        self->priv->settings = g_settings_new (GOOBOX_SCHEMA_PLAYLIST);
-
-       g_set_application_name (_("CD Player"));
-       gtk_window_set_default_icon_name ("goobox");
 }
 
 


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