Move g_set_application_name to a point before the pidgin UI is created
Gabriel Schulhof
nix at go-nix.ca
Wed Jun 27 17:55:10 EDT 2007
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.
TIA,
Gabriel
--- gtkmain.c 2007-06-28 00:49:40.000000000 +0300
+++ gtkmain.c.mod 2007-06-28 00:49:55.000000000 +0300
@@ -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
More information about the Devel
mailing list