gpointing-device-settings r190 - trunk/modules



Author: hiikezoe
Date: Mon Mar  9 06:55:24 2009
New Revision: 190
URL: http://svn.gnome.org/viewvc/gpointing-device-settings?rev=190&view=rev

Log:
remove 0 value from wheel emulation button. 0 means disable.

Modified:
   trunk/modules/gpds-mouse-ui.c

Modified: trunk/modules/gpds-mouse-ui.c
==============================================================================
--- trunk/modules/gpds-mouse-ui.c	(original)
+++ trunk/modules/gpds-mouse-ui.c	Mon Mar  9 06:55:24 2009
@@ -512,7 +512,7 @@
 
     list_store = gtk_builder_get_object(builder, "wheel_emulation_button_list_store");
 
-    for (i = num_buttons -1; i >= 0; i--) {
+    for (i = num_buttons -1; i > 0; i--) {
         GtkTreeIter iter;
         gtk_list_store_prepend(GTK_LIST_STORE(list_store), &iter);
         gtk_list_store_set(GTK_LIST_STORE(list_store), &iter, 0, i, -1);



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