pidgin/prefs/pidginprefs.c

changeset 42764
effcb245f840
parent 42575
580339aa47cc
child 42836
000d42c316cb
equal deleted inserted replaced
42763:e73dd56b68f1 42764:effcb245f840
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
215 widget_class, 221 widget_class,
216 "/im/pidgin/Pidgin3/Prefs/prefs.ui" 222 "/im/pidgin/Pidgin3/Prefs/prefs.ui"
217 ); 223 );
218 224
219 /* Main window */ 225 /* Main window */
226 #if 0
220 gtk_widget_class_bind_template_callback(widget_class, 227 gtk_widget_class_bind_template_callback(widget_class,
221 vv_test_switch_page_cb); 228 vv_test_switch_page_cb);
229 #endif
222 } 230 }
223 231
224 static void 232 static void
225 pidgin_prefs_window_init(PidginPrefsWindow *win) 233 pidgin_prefs_window_init(PidginPrefsWindow *win)
226 { 234 {

mercurial