[uim-commit] r123 - trunk/helper

tkng@freedesktop.org tkng@freedesktop.org
Wed Jan 5 01:12:30 PST 2005


Author: tkng
Date: 2005-01-05 01:12:27 -0800 (Wed, 05 Jan 2005)
New Revision: 123

Modified:
   trunk/helper/im-switcher-gtk.c
Log:
* helper/im-swicther-gtk.c:
 -(grouped): Removed because it was an unused variable.
 -(change_input_method): Fixed wrong case label.


Modified: trunk/helper/im-switcher-gtk.c
===================================================================
--- trunk/helper/im-switcher-gtk.c	2005-01-05 07:59:13 UTC (rev 122)
+++ trunk/helper/im-switcher-gtk.c	2005-01-05 09:12:27 UTC (rev 123)
@@ -48,7 +48,6 @@
 static int uim_fd; /* file descriptor to connect helper message bus */
 static gchar *im_list_str_old; /* To compare new im_list_str */
 static GtkWidget *switcher_tree_view;
-static gboolean grouped;
 
 static void
 reload_im_list(GtkWindow *window, gpointer user_data);
@@ -224,12 +223,11 @@
     }
     i++;
   }
-  printf("**%d**\n",i);
   switch (i) {
-  case 1:
+  case 0:
     send_message_im_change("im_change_whole_desktop\n");
     break;
-  case 0:
+  case 1:
     send_message_im_change("im_change_this_application_only\n");
     break;
   case 2:



More information about the Uim-commit mailing list