Changeset 14670 for trunk/gtk/main.c
- Timestamp:
- Jan 9, 2016, 6:06:17 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gtk/main.c
r14581 r14670 644 644 g_type_init (); 645 645 #endif 646 gtk_init (&argc, &argv);647 646 g_set_application_name (_("Transmission")); 648 gtk_window_set_default_icon_name (MY_CONFIG_NAME);649 647 650 648 /* parse the command line */ 651 649 option_context = g_option_context_new (_("[torrent files or urls]")); 652 650 g_option_context_add_main_entries (option_context, option_entries, GETTEXT_PACKAGE); 651 g_option_context_add_group (option_context, gtk_get_option_group (FALSE)); 653 652 g_option_context_set_translation_domain (option_context, GETTEXT_PACKAGE); 654 653 if (!g_option_context_parse (option_context, &argc, &argv, &error)) … … 667 666 return 0; 668 667 } 668 669 gtk_window_set_default_icon_name (MY_CONFIG_NAME); 669 670 670 671 /* init the unit formatters */
Note: See TracChangeset
for help on using the changeset viewer.