pidgin/plugins/gestures/gestures.c

branch
soc.2013.gobjectification.plugins
changeset 37111
efe4b7c5218a
parent 37109
94d1a2589d5a
parent 35539
c3c490f4f611
child 37123
9c245220151d
equal deleted inserted replaced
37110:4309235d2a46 37111:efe4b7c5218a
254 purple_prefs_add_none("/plugins/gtk"); 254 purple_prefs_add_none("/plugins/gtk");
255 purple_prefs_add_none("/plugins/gtk/X11"); 255 purple_prefs_add_none("/plugins/gtk/X11");
256 purple_prefs_add_none("/plugins/gtk/X11/gestures"); 256 purple_prefs_add_none("/plugins/gtk/X11/gestures");
257 purple_prefs_add_bool("/plugins/gtk/X11/gestures/visual", FALSE); 257 purple_prefs_add_bool("/plugins/gtk/X11/gestures/visual", FALSE);
258 258
259 purple_prefs_connect_callback(plugin, "/plugins/gtk/X11/gestures/visual", 259 purple_prefs_connect_callback(plugin,
260 visual_pref_cb, NULL); 260 "/plugins/gtk/X11/gestures/visual", visual_pref_cb, NULL);
261 gstroke_set_draw_strokes(purple_prefs_get_bool(
262 "/plugins/gtk/X11/gestures/visual"));
261 263
262 for (l = purple_conversations_get_all(); l != NULL; l = l->next) { 264 for (l = purple_conversations_get_all(); l != NULL; l = l->next) {
263 conv = (PurpleConversation *)l->data; 265 conv = (PurpleConversation *)l->data;
264 266
265 if (!PIDGIN_IS_PIDGIN_CONVERSATION(conv)) 267 if (!PIDGIN_IS_PIDGIN_CONVERSATION(conv))

mercurial