mousetweaks r26 - in trunk: . src



Author: gerdk
Date: Mon Jan 21 17:22:11 2008
New Revision: 26
URL: http://svn.gnome.org/viewvc/mousetweaks?rev=26&view=rev

Log:
2008-01-21 Gerd Kohlberger <gerdk svn gnome org>
	* src/mt-main.c: Fix command-line -m switch to enable the correct mode.



Modified:
   trunk/ChangeLog
   trunk/src/mt-main.c

Modified: trunk/src/mt-main.c
==============================================================================
--- trunk/src/mt-main.c	(original)
+++ trunk/src/mt-main.c	Mon Jan 21 17:22:11 2008
@@ -551,9 +551,11 @@
 	    gconf_client_set_bool (mt->client, OPT_CTW, TRUE, NULL);
 	if (mode) {
 	    if (g_str_equal (mode, "gesture"))
-		gconf_client_set_int (mt->client, OPT_MODE, 0, NULL);
-	    if (g_str_equal (mode, "window"))
-		gconf_client_set_int (mt->client, OPT_MODE, 1, NULL);
+		gconf_client_set_int (mt->client, OPT_MODE,
+				      DWELL_MODE_GESTURE, NULL);
+	    else if (g_str_equal (mode, "window"))
+		gconf_client_set_int (mt->client, OPT_MODE,
+				      DWELL_MODE_CTW, NULL);
 	}
 
 	/* gconf stuff */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]