[uim-commit] r1141 - trunk/gtk

ekato at freedesktop.org ekato at freedesktop.org
Sat Aug 6 23:17:16 EST 2005


Author: ekato
Date: 2005-08-06 06:17:13 -0700 (Sat, 06 Aug 2005)
New Revision: 1141

Modified:
   trunk/gtk/gtk-im-uim.c
Log:
* gtk/gtk-im-uim.c (helper_str_parse) : Move code for hiding a
  caret state indicator into focus_out().
(focus_out) : Hide caret state indicator here.


Modified: trunk/gtk/gtk-im-uim.c
===================================================================
--- trunk/gtk/gtk-im-uim.c	2005-08-06 12:41:13 UTC (rev 1140)
+++ trunk/gtk/gtk-im-uim.c	2005-08-06 13:17:13 UTC (rev 1141)
@@ -515,6 +515,7 @@
   if (uic->cwin) {
     gtk_widget_hide(GTK_WIDGET(uic->cwin));
   }
+  gtk_widget_hide(uic->caret_state_indicator);
 }
 
 static void
@@ -1013,7 +1014,6 @@
 	g_signal_emit_by_name(focused_context, "commit", lines[1]);
     } else if (g_str_has_prefix(str, "focus_in") == TRUE) {
       disable_focused_context = TRUE;
-      gtk_widget_hide(focused_context->caret_state_indicator);
       /* We shouldn't do "focused_context = NULL" here, because some
 	 window manager has some focus related bugs. */
     }



More information about the uim-commit mailing list