comparison pidgin/gtkmain.c @ 18160:428bea8235cb

Use g_set_application_name() so unnamed dialogs get given a name, my dialogs were titled '<unknown>' before this change. References #1672 - but does not give specific titles to the dialogs mentioned there.
author Stu Tomlinson <stu@nosnilmot.com>
date Sun, 17 Jun 2007 15:46:42 +0000
parents 00cec200ec58
children f54f83b20929 90d558470507
comparison
equal deleted inserted replaced
18159:30663201d911 18160:428bea8235cb
472 debug_enabled = FALSE; 472 debug_enabled = FALSE;
473 #endif 473 #endif
474 474
475 /* This is the first Glib function call. Make sure to initialize GThread bfeore then */ 475 /* This is the first Glib function call. Make sure to initialize GThread bfeore then */
476 g_thread_init(NULL); 476 g_thread_init(NULL);
477 477
478 #ifdef ENABLE_NLS 478 #ifdef ENABLE_NLS
479 bindtextdomain(PACKAGE, LOCALEDIR); 479 bindtextdomain(PACKAGE, LOCALEDIR);
480 bind_textdomain_codeset(PACKAGE, "UTF-8"); 480 bind_textdomain_codeset(PACKAGE, "UTF-8");
481 textdomain(PACKAGE); 481 textdomain(PACKAGE);
482 #endif 482 #endif
853 853
854 #ifdef _WIN32 854 #ifdef _WIN32
855 winpidgin_post_init(); 855 winpidgin_post_init();
856 #endif 856 #endif
857 857
858 g_set_application_name(_("Pidgin"));
858 gtk_main(); 859 gtk_main();
859 860
860 #ifdef HAVE_SIGNAL_H 861 #ifdef HAVE_SIGNAL_H
861 g_free(segfault_message); 862 g_free(segfault_message);
862 #endif 863 #endif