Mercurial > pidgin
comparison src/gtkprefs.c @ 9251:45d2ad4ac1c1
[gaim-migrate @ 10050]
Stu Tomlinson has provided a nice patch to move the separation of IM
and Chat windows back into the core from the extplacement plugin.
It's awesome to have crazy patch writers, and even better to have
crazy patch writers who write what I want to write before I do it,
thus saving me the effort.
committer: Tailor Script <tailor@pidgin.im>
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Wed, 09 Jun 2004 20:47:07 +0000 |
parents | e0c50af60837 |
children | 3e8619644a8a |
comparison
equal
deleted
inserted
replaced
9250:ff8e380015e3 | 9251:45d2ad4ac1c1 |
---|---|
1003 conversation_usetabs_cb, | 1003 conversation_usetabs_cb, |
1004 vbox2); | 1004 vbox2); |
1005 if (!gaim_prefs_get_bool("/gaim/gtk/conversations/tabs")) | 1005 if (!gaim_prefs_get_bool("/gaim/gtk/conversations/tabs")) |
1006 gtk_widget_set_sensitive(vbox2, FALSE); | 1006 gtk_widget_set_sensitive(vbox2, FALSE); |
1007 | 1007 |
1008 #if 0 /* PREFSLASH04 */ | |
1009 gaim_gtk_prefs_checkbox(_("Show IMs and chats in _same tabbed window"), | |
1010 "/core/conversations/combine_chat_im", vbox2); | |
1011 #endif | |
1012 | |
1013 gaim_gtk_prefs_checkbox(_("Show _close button on tabs"), | 1008 gaim_gtk_prefs_checkbox(_("Show _close button on tabs"), |
1014 "/gaim/gtk/conversations/close_on_tabs", vbox2); | 1009 "/gaim/gtk/conversations/close_on_tabs", vbox2); |
1015 | 1010 |
1016 label = gaim_gtk_prefs_dropdown(vbox2, _("Tab p_lacement:"), GAIM_PREF_INT, | 1011 label = gaim_gtk_prefs_dropdown(vbox2, _("Tab p_lacement:"), GAIM_PREF_INT, |
1017 "/gaim/gtk/conversations/tab_side", | 1012 "/gaim/gtk/conversations/tab_side", |
1022 NULL); | 1017 NULL); |
1023 gtk_misc_set_alignment(GTK_MISC(label), 0, 0); | 1018 gtk_misc_set_alignment(GTK_MISC(label), 0, 0); |
1024 gtk_size_group_add_widget(sg, label); | 1019 gtk_size_group_add_widget(sg, label); |
1025 | 1020 |
1026 names = gaim_conv_placement_get_options(); | 1021 names = gaim_conv_placement_get_options(); |
1027 label = gaim_gtk_prefs_dropdown_from_list(vbox2, _("New window _placement:"), | 1022 label = gaim_gtk_prefs_dropdown_from_list(vbox2, _("New conversation _placement:"), |
1028 GAIM_PREF_STRING, "/gaim/gtk/conversations/placement", names); | 1023 GAIM_PREF_STRING, "/gaim/gtk/conversations/placement", names); |
1029 gtk_size_group_add_widget(sg, label); | 1024 gtk_size_group_add_widget(sg, label); |
1030 gtk_misc_set_alignment(GTK_MISC(label), 0, 0); | 1025 gtk_misc_set_alignment(GTK_MISC(label), 0, 0); |
1031 g_list_free(names); | 1026 g_list_free(names); |
1032 | |
1033 #if 0 /* PREFSLASH04 */ | |
1034 label = gaim_gtk_prefs_labeled_spin_button(vbox2, _("Number of conversations per window:"), | |
1035 "/gaim/gtk/conversations/placement_number", | |
1036 1, 50, sg); | |
1037 #endif | |
1038 | 1027 |
1039 gtk_widget_show_all(ret); | 1028 gtk_widget_show_all(ret); |
1040 | 1029 |
1041 return ret; | 1030 return ret; |
1042 } | 1031 } |