| 28 #include <glib/gi18n-lib.h> |
28 #include <glib/gi18n-lib.h> |
| 29 #include <glib/gstdio.h> |
29 #include <glib/gstdio.h> |
| 30 |
30 |
| 31 #include <purple.h> |
31 #include <purple.h> |
| 32 |
32 |
| |
33 #include <adwaita.h> |
| |
34 |
| 33 #include "pidginprefs.h" |
35 #include "pidginprefs.h" |
| 34 #include "pidginprefsinternal.h" |
36 #include "pidginprefsinternal.h" |
| 35 #include "gtkutils.h" |
37 #include "gtkutils.h" |
| 36 #include "pidgincore.h" |
38 #include "pidgincore.h" |
| |
39 #if 0 |
| 37 #include "pidginvvprefs.h" |
40 #include "pidginvvprefs.h" |
| |
41 #endif |
| 38 |
42 |
| 39 struct _PidginPrefsWindow { |
43 struct _PidginPrefsWindow { |
| 40 GtkDialog parent; |
44 GtkDialog parent; |
| 41 }; |
45 }; |
| 42 |
46 |
| 179 purple_prefs_get_bool(key)); |
183 purple_prefs_get_bool(key)); |
| 180 g_signal_connect(widget, "notify::enable-expansion", |
184 g_signal_connect(widget, "notify::enable-expansion", |
| 181 G_CALLBACK(set_expander_row_pref), (gchar *)key); |
185 G_CALLBACK(set_expander_row_pref), (gchar *)key); |
| 182 } |
186 } |
| 183 |
187 |
| |
188 #if 0 |
| 184 static void |
189 static void |
| 185 vv_test_switch_page_cb(GtkStack *stack, G_GNUC_UNUSED GParamSpec *pspec, |
190 vv_test_switch_page_cb(GtkStack *stack, G_GNUC_UNUSED GParamSpec *pspec, |
| 186 gpointer data) |
191 gpointer data) |
| 187 { |
192 { |
| 188 PidginVVPrefs *vv_prefs = data; |
193 PidginVVPrefs *vv_prefs = data; |
| 190 if (!g_str_equal(gtk_stack_get_visible_child_name(stack), "vv")) { |
195 if (!g_str_equal(gtk_stack_get_visible_child_name(stack), "vv")) { |
| 191 /* Disable any running test pipelines. */ |
196 /* Disable any running test pipelines. */ |
| 192 pidgin_vv_prefs_disable_test_pipelines(vv_prefs); |
197 pidgin_vv_prefs_disable_test_pipelines(vv_prefs); |
| 193 } |
198 } |
| 194 } |
199 } |
| |
200 #endif |
| 195 |
201 |
| 196 /****************************************************************************** |
202 /****************************************************************************** |
| 197 * GObject Implementation |
203 * GObject Implementation |
| 198 *****************************************************************************/ |
204 *****************************************************************************/ |
| 199 static void |
205 static void |