changeset 18283:6f5e6efd2241

Move g_set_application_name to a point before the pidgin UI is created This is important on Maemo, because windows there actually display the application name so, if it's not set before they are created, they display "<unknown>", which is really ugly. committer: Richard Laager <rlaager@wiktel.com>
author Gabriel Schulhof <nix@go-nix.ca>
date Thu, 28 Jun 2007 14:12:35 +0000
parents 0fb8f1b1f0e9
children b4f5a2c0f00a
files pidgin/gtkmain.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkmain.c	Mon Jun 25 13:54:39 2007 +0000
+++ b/pidgin/gtkmain.c	Thu Jun 28 14:12:35 2007 +0000
@@ -677,6 +677,8 @@
 		return 1;
 	}
 
+	g_set_application_name(_("Pidgin"));
+
 #ifdef _WIN32
 	winpidgin_init(hint);
 #endif
@@ -855,7 +857,6 @@
 	winpidgin_post_init();
 #endif
 
-	g_set_application_name(_("Pidgin"));
 	gtk_main();
 
 #ifdef HAVE_SIGNAL_H