comparison src/gtkblist.c @ 11798:01c3eec6ea3c

[gaim-migrate @ 14089] I like this better, feel free to disagree. (I don't much like Manually but it seemed better than None with this, alternatives welcome.) committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Mon, 24 Oct 2005 16:08:52 +0000
parents e6bbf34b2465
children fdb78734e2ae
comparison
equal deleted inserted replaced
11797:e6bbf34b2465 11798:01c3eec6ea3c
2333 { N_("/Buddies/View User _Log..."), "<CTL>L", gaim_gtkdialogs_log, 0, NULL }, 2333 { N_("/Buddies/View User _Log..."), "<CTL>L", gaim_gtkdialogs_log, 0, NULL },
2334 { "/Buddies/sep1", NULL, NULL, 0, "<Separator>" }, 2334 { "/Buddies/sep1", NULL, NULL, 0, "<Separator>" },
2335 { N_("/Buddies/Show _Offline Buddies"), NULL, gaim_gtk_blist_edit_mode_cb, 1, "<CheckItem>"}, 2335 { N_("/Buddies/Show _Offline Buddies"), NULL, gaim_gtk_blist_edit_mode_cb, 1, "<CheckItem>"},
2336 { N_("/Buddies/Show _Empty Groups"), NULL, gaim_gtk_blist_show_empty_groups_cb, 1, "<CheckItem>"}, 2336 { N_("/Buddies/Show _Empty Groups"), NULL, gaim_gtk_blist_show_empty_groups_cb, 1, "<CheckItem>"},
2337 { N_("/Buddies/Show Buddy _Details"), NULL, gaim_gtk_blist_buddy_details_cb, 1, "<CheckItem>"}, 2337 { N_("/Buddies/Show Buddy _Details"), NULL, gaim_gtk_blist_buddy_details_cb, 1, "<CheckItem>"},
2338 { N_("/Buddies/Sorting"), NULL, NULL, 0, "<Branch>" }, 2338 { N_("/Buddies/Sort Buddies"), NULL, NULL, 0, "<Branch>" },
2339 { "/Buddies/sep2", NULL, NULL, 0, "<Separator>" }, 2339 { "/Buddies/sep2", NULL, NULL, 0, "<Separator>" },
2340 { N_("/Buddies/_Add Buddy..."), "<CTL>B", gaim_gtk_blist_add_buddy_cb, 0, "<StockItem>", GTK_STOCK_ADD }, 2340 { N_("/Buddies/_Add Buddy..."), "<CTL>B", gaim_gtk_blist_add_buddy_cb, 0, "<StockItem>", GTK_STOCK_ADD },
2341 { N_("/Buddies/Add C_hat..."), NULL, gaim_gtk_blist_add_chat_cb, 0, "<StockItem>", GTK_STOCK_ADD }, 2341 { N_("/Buddies/Add C_hat..."), NULL, gaim_gtk_blist_add_chat_cb, 0, "<StockItem>", GTK_STOCK_ADD },
2342 { N_("/Buddies/Add _Group..."), NULL, gaim_blist_request_add_group, 0, "<StockItem>", GTK_STOCK_ADD }, 2342 { N_("/Buddies/Add _Group..."), NULL, gaim_blist_request_add_group, 0, "<StockItem>", GTK_STOCK_ADD },
2343 { "/Buddies/sep3", NULL, NULL, 0, "<Separator>" }, 2343 { "/Buddies/sep3", NULL, NULL, 0, "<Separator>" },
3080 return _((char *)path); 3080 return _((char *)path);
3081 } 3081 }
3082 3082
3083 void gaim_gtk_blist_setup_sort_methods() 3083 void gaim_gtk_blist_setup_sort_methods()
3084 { 3084 {
3085 gaim_gtk_blist_sort_method_reg("none", _("None"), sort_method_none); 3085 gaim_gtk_blist_sort_method_reg("none", _("Manually"), sort_method_none);
3086 #if GTK_CHECK_VERSION(2,2,1) 3086 #if GTK_CHECK_VERSION(2,2,1)
3087 gaim_gtk_blist_sort_method_reg("alphabetical", _("Alphabetical"), sort_method_alphabetical); 3087 gaim_gtk_blist_sort_method_reg("alphabetical", _("Alphabetically"), sort_method_alphabetical);
3088 gaim_gtk_blist_sort_method_reg("status", _("By status"), sort_method_status); 3088 gaim_gtk_blist_sort_method_reg("status", _("By status"), sort_method_status);
3089 gaim_gtk_blist_sort_method_reg("log_size", _("By log size"), sort_method_log); 3089 gaim_gtk_blist_sort_method_reg("log_size", _("By log size"), sort_method_log);
3090 #endif 3090 #endif
3091 gaim_gtk_blist_sort_method_set(gaim_prefs_get_string("/gaim/gtk/blist/sort_type")); 3091 gaim_gtk_blist_sort_method_set(gaim_prefs_get_string("/gaim/gtk/blist/sort_type"));
3092 } 3092 }
5153 const char *m = gaim_prefs_get_string("/gaim/gtk/blist/sort_type"); 5153 const char *m = gaim_prefs_get_string("/gaim/gtk/blist/sort_type");
5154 5154
5155 if (gtkblist == NULL) 5155 if (gtkblist == NULL)
5156 return; 5156 return;
5157 5157
5158 sortmenu = gtk_item_factory_get_widget(gtkblist->ift, N_("/Buddies/Sorting")); 5158 sortmenu = gtk_item_factory_get_widget(gtkblist->ift, N_("/Buddies/Sort Buddies"));
5159 5159
5160 if (sortmenu == NULL) 5160 if (sortmenu == NULL)
5161 return; 5161 return;
5162 5162
5163 /* Clear the old menu */ 5163 /* Clear the old menu */