comparison 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 a880e1e93959
comparison
equal deleted inserted replaced
18282:0fb8f1b1f0e9 18283:6f5e6efd2241
675 #endif 675 #endif
676 676
677 return 1; 677 return 1;
678 } 678 }
679 679
680 g_set_application_name(_("Pidgin"));
681
680 #ifdef _WIN32 682 #ifdef _WIN32
681 winpidgin_init(hint); 683 winpidgin_init(hint);
682 #endif 684 #endif
683 685
684 if (migration_failed) 686 if (migration_failed)
853 855
854 #ifdef _WIN32 856 #ifdef _WIN32
855 winpidgin_post_init(); 857 winpidgin_post_init();
856 #endif 858 #endif
857 859
858 g_set_application_name(_("Pidgin"));
859 gtk_main(); 860 gtk_main();
860 861
861 #ifdef HAVE_SIGNAL_H 862 #ifdef HAVE_SIGNAL_H
862 g_free(segfault_message); 863 g_free(segfault_message);
863 #endif 864 #endif