/pidgin/main: c3c490f4f611: Gestures plugin: fix loading setting...

Tomasz Wasilczyk twasilczyk at pidgin.im
Wed Feb 12 09:19:50 EST 2014


Changeset: c3c490f4f611ce8916a74301ad0f3fbf3f3b57da
Author:	 Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date:	 2014-02-12 15:19 +0100
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/c3c490f4f611

Description:

Gestures plugin: fix loading settings at startup

diffstat:

 pidgin/plugins/gestures/gestures.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (16 lines):

diff --git a/pidgin/plugins/gestures/gestures.c b/pidgin/plugins/gestures/gestures.c
--- a/pidgin/plugins/gestures/gestures.c
+++ b/pidgin/plugins/gestures/gestures.c
@@ -319,8 +319,10 @@ init_plugin(PurplePlugin *plugin)
 	purple_prefs_add_none("/plugins/gtk/X11/gestures");
 	purple_prefs_add_bool("/plugins/gtk/X11/gestures/visual", FALSE);
 
-	purple_prefs_connect_callback(plugin, "/plugins/gtk/X11/gestures/visual",
-								visual_pref_cb, NULL);
+	purple_prefs_connect_callback(plugin,
+		"/plugins/gtk/X11/gestures/visual", visual_pref_cb, NULL);
+	gstroke_set_draw_strokes(purple_prefs_get_bool(
+		"/plugins/gtk/X11/gestures/visual"));
 }
 
 PURPLE_INIT_PLUGIN(gestures, init_plugin, info)



More information about the Commits mailing list