diff pidgin/gtkmain.c @ 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 f54f83b20929
children 0e8b2bb66a7d
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