[gtranslator] Set the application name in all apps instead of just the first one.



commit a3a3da11570800d8049d9ee712e252cb086460b7
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Sun Nov 7 22:39:33 2010 +0100

    Set the application name in all apps instead of just the first one.

 src/gtr-application.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/gtr-application.c b/src/gtr-application.c
index e0ffe68..2214737 100644
--- a/src/gtr-application.c
+++ b/src/gtr-application.c
@@ -200,8 +200,6 @@ gtr_application_init (GtrApplication *application)
   priv->last_dir = NULL;
   priv->first_run = FALSE;
 
-  g_set_application_name (_("Gtranslator"));
-
   /* Creating config folder */
   ensure_user_config_dir (); /* FIXME: is this really needed ? */
 
@@ -319,6 +317,7 @@ gtr_application_startup (GApplication *application)
 {
   G_APPLICATION_CLASS (gtr_application_parent_class)->startup (application);
 
+  g_set_application_name (_("Gtranslator"));
   gtk_window_set_default_icon_name ("gtranslator");
 
   /* We set the default icon dir */



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