comparison src/gtkprefs.c @ 8811:7329d01bb770

[gaim-migrate @ 9573] A patch from Phil Snowberger to add a "None" option for the warn, info, add/remove, and send buttons in conversation windows. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 26 Apr 2004 04:16:35 +0000
parents 6c0fae7a4f1a
children c61be128dff3
comparison
equal deleted inserted replaced
8810:a7affa2e2986 8811:7329d01bb770
1010 widge = gaim_gtk_prefs_dropdown(vbox, _("Show _buttons as:"), GAIM_PREF_INT, 1010 widge = gaim_gtk_prefs_dropdown(vbox, _("Show _buttons as:"), GAIM_PREF_INT,
1011 "/gaim/gtk/conversations/im/button_type", 1011 "/gaim/gtk/conversations/im/button_type",
1012 _("Pictures"), GAIM_BUTTON_IMAGE, 1012 _("Pictures"), GAIM_BUTTON_IMAGE,
1013 _("Text"), GAIM_BUTTON_TEXT, 1013 _("Text"), GAIM_BUTTON_TEXT,
1014 _("Pictures and text"), GAIM_BUTTON_TEXT_IMAGE, 1014 _("Pictures and text"), GAIM_BUTTON_TEXT_IMAGE,
1015 _("None"), GAIM_BUTTON_NONE,
1015 NULL); 1016 NULL);
1016 1017
1017 gtk_size_group_add_widget(sg, widge); 1018 gtk_size_group_add_widget(sg, widge);
1018 gtk_misc_set_alignment(GTK_MISC(widge), 0, 0); 1019 gtk_misc_set_alignment(GTK_MISC(widge), 0, 0);
1019 gaim_gtk_prefs_labeled_spin_button(vbox, _("New window _width:"), 1020 gaim_gtk_prefs_labeled_spin_button(vbox, _("New window _width:"),
1061 dd = gaim_gtk_prefs_dropdown(vbox, _("Show _buttons as:"), GAIM_PREF_INT, 1062 dd = gaim_gtk_prefs_dropdown(vbox, _("Show _buttons as:"), GAIM_PREF_INT,
1062 "/gaim/gtk/conversations/chat/button_type", 1063 "/gaim/gtk/conversations/chat/button_type",
1063 _("Pictures"), GAIM_BUTTON_IMAGE, 1064 _("Pictures"), GAIM_BUTTON_IMAGE,
1064 _("Text"), GAIM_BUTTON_TEXT, 1065 _("Text"), GAIM_BUTTON_TEXT,
1065 _("Pictures and text"), GAIM_BUTTON_TEXT_IMAGE, 1066 _("Pictures and text"), GAIM_BUTTON_TEXT_IMAGE,
1067 _("None"), GAIM_BUTTON_NONE,
1066 NULL); 1068 NULL);
1067 1069
1068 gtk_size_group_add_widget(sg, dd); 1070 gtk_size_group_add_widget(sg, dd);
1069 gtk_misc_set_alignment(GTK_MISC(dd), 0, 0); 1071 gtk_misc_set_alignment(GTK_MISC(dd), 0, 0);
1070 gaim_gtk_prefs_labeled_spin_button(vbox, _("New window _width:"), 1072 gaim_gtk_prefs_labeled_spin_button(vbox, _("New window _width:"),