Mercurial > pidgin
comparison src/gtkprefs.c @ 9110:78189aad1457
[gaim-migrate @ 9887]
Fix some warnings.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Fri, 28 May 2004 06:08:02 +0000 |
parents | 6a17b7e2e3b2 |
children | e46a845a573c |
comparison
equal
deleted
inserted
replaced
9109:9f21659ecf11 | 9110:78189aad1457 |
---|---|
1026 same_checkbox = gaim_gtk_prefs_checkbox(_("Show IMs and chats in _same tabbed window"), | 1026 same_checkbox = gaim_gtk_prefs_checkbox(_("Show IMs and chats in _same tabbed window"), |
1027 "/core/conversations/combine_chat_im", vbox); | 1027 "/core/conversations/combine_chat_im", vbox); |
1028 if (!gaim_prefs_get_bool("/gaim/gtk/conversations/tabs")) { | 1028 if (!gaim_prefs_get_bool("/gaim/gtk/conversations/tabs")) { |
1029 gtk_widget_set_sensitive(GTK_WIDGET(same_checkbox), FALSE); | 1029 gtk_widget_set_sensitive(GTK_WIDGET(same_checkbox), FALSE); |
1030 } | 1030 } |
1031 | |
1032 g_signal_connect(G_OBJECT(tabs_checkbox), "clicked", | |
1033 G_CALLBACK(gaim_gtk_toggle_sensitive), same_checkbox); | |
1031 #endif | 1034 #endif |
1032 | 1035 |
1033 placement_pref_id = gaim_prefs_connect_callback("/gaim/gtk/conversations/placement", | 1036 placement_pref_id = gaim_prefs_connect_callback("/gaim/gtk/conversations/placement", |
1034 conversation_placement_cb, | 1037 conversation_placement_cb, |
1035 tabs_checkbox); | 1038 tabs_checkbox); |
1036 | |
1037 g_signal_connect(G_OBJECT(tabs_checkbox), "clicked", | |
1038 G_CALLBACK(gaim_gtk_toggle_sensitive), same_checkbox); | |
1039 | 1039 |
1040 close_checkbox = gaim_gtk_prefs_checkbox(_("Show _close button on tabs"), | 1040 close_checkbox = gaim_gtk_prefs_checkbox(_("Show _close button on tabs"), |
1041 "/gaim/gtk/conversations/close_on_tabs", | 1041 "/gaim/gtk/conversations/close_on_tabs", |
1042 vbox); | 1042 vbox); |
1043 | 1043 |
1894 gtk_widget_show_all(ret); | 1894 gtk_widget_show_all(ret); |
1895 | 1895 |
1896 return ret; | 1896 return ret; |
1897 } | 1897 } |
1898 | 1898 |
1899 #if 0 | |
1899 static GtkWidget * | 1900 static GtkWidget * |
1900 protocol_page() { | 1901 protocol_page() { |
1901 GtkWidget *ret; | 1902 GtkWidget *ret; |
1902 | 1903 |
1903 ret = gtk_label_new(NULL); | 1904 ret = gtk_label_new(NULL); |
1904 gtk_widget_show(ret); | 1905 gtk_widget_show(ret); |
1905 | 1906 |
1906 return ret; | 1907 return ret; |
1907 } | 1908 } |
1909 #endif | |
1908 | 1910 |
1909 static GtkWidget *plugin_description=NULL, *plugin_details=NULL; | 1911 static GtkWidget *plugin_description=NULL, *plugin_details=NULL; |
1910 | 1912 |
1911 static void prefs_plugin_sel (GtkTreeSelection *sel, GtkTreeModel *model) | 1913 static void prefs_plugin_sel (GtkTreeSelection *sel, GtkTreeModel *model) |
1912 { | 1914 { |