src/gtkprefs.c

changeset 5567
248932da7121
parent 5563
d5a7852aa0cb
child 5568
3c7cc231c8c4
equal deleted inserted replaced
5566:7ebd31a6f5da 5567:248932da7121
867 GtkWidget *list_page() { 867 GtkWidget *list_page() {
868 GtkWidget *ret; 868 GtkWidget *ret;
869 GtkWidget *vbox; 869 GtkWidget *vbox;
870 GtkWidget *button, *warn_checkbox, *idle_checkbox; 870 GtkWidget *button, *warn_checkbox, *idle_checkbox;
871 GList *l= NULL; 871 GList *l= NULL;
872 GSList *sl = gaim_gtk_blist_sort_methods; 872 GSList *sl;
873 ret = gtk_vbox_new(FALSE, 18); 873 ret = gtk_vbox_new(FALSE, 18);
874 gtk_container_set_border_width (GTK_CONTAINER (ret), 12); 874 gtk_container_set_border_width (GTK_CONTAINER (ret), 12);
875 875
876 876
877 vbox = gaim_gtk_make_frame (ret, _("Buddy List Sorting")); 877 vbox = gaim_gtk_make_frame (ret, _("Buddy List Sorting"));
878 while (sl) { 878
879 for (sl = gaim_gtk_blist_sort_methods; sl != NULL; sl = sl->next) {
879 char *name = ((struct gaim_gtk_blist_sort_method*)sl->data)->name; 880 char *name = ((struct gaim_gtk_blist_sort_method*)sl->data)->name;
880 881
881 l = g_list_append(l, name); 882 l = g_list_append(l, name);
882 l = g_list_append(l, name); 883 l = g_list_append(l, name);
883 } 884 }
2671 /* XXX Move this! HACK! :( Aww... */ 2672 /* XXX Move this! HACK! :( Aww... */
2672 gaim_prefs_add_none("/plugins/gtk/docklet"); 2673 gaim_prefs_add_none("/plugins/gtk/docklet");
2673 gaim_prefs_add_bool("/plugins/gtk/docklet/queue_messages", FALSE); 2674 gaim_prefs_add_bool("/plugins/gtk/docklet/queue_messages", FALSE);
2674 2675
2675 /* Accounts Dialog */ 2676 /* Accounts Dialog */
2677 gaim_prefs_add_none("/gaim/gtk/accounts");
2678 gaim_prefs_add_none("/gaim/gtk/accounts/dialog");
2676 gaim_prefs_add_int("/gaim/gtk/accounts/dialog/width", 550); 2679 gaim_prefs_add_int("/gaim/gtk/accounts/dialog/width", 550);
2677 gaim_prefs_add_int("/gaim/gtk/accounts/dialog/height", 250); 2680 gaim_prefs_add_int("/gaim/gtk/accounts/dialog/height", 250);
2678 2681
2679 /* Browsers */ 2682 /* Browsers */
2680 gaim_prefs_add_none("/gaim/gtk/browsers"); 2683 gaim_prefs_add_none("/gaim/gtk/browsers");

mercurial