[uim-commit] r1255 - trunk/qt

ekato at freedesktop.org ekato at freedesktop.org
Sun Aug 21 13:38:12 EST 2005


Author: ekato
Date: 2005-08-20 20:38:06 -0700 (Sat, 20 Aug 2005)
New Revision: 1255

Modified:
   trunk/qt/immodule-qhelpermanager.cpp
Log:
* qt/immodule-qhelpermanager.cpp
(QUimHelperManager::update_prop_list_cb) : Don't update the status
  when disableFocusedContext is set.
(QUimHelperManager::update_prop_label_cb : Ditto.


Modified: trunk/qt/immodule-qhelpermanager.cpp
===================================================================
--- trunk/qt/immodule-qhelpermanager.cpp	2005-08-21 03:27:27 UTC (rev 1254)
+++ trunk/qt/immodule-qhelpermanager.cpp	2005-08-21 03:38:06 UTC (rev 1255)
@@ -221,7 +221,7 @@
 void QUimHelperManager::update_prop_list_cb( void *ptr, const char *str )
 {
     QUimInputContext *ic = ( QUimInputContext* ) ptr;
-    if ( ic != focusedInputContext )
+    if ( ic != focusedInputContext || disableFocusedContext )
         return;
 
     QString msg = "prop_list_update\ncharset=UTF-8\n";
@@ -233,7 +233,7 @@
 void QUimHelperManager::update_prop_label_cb( void *ptr, const char *str )
 {
     QUimInputContext *ic = ( QUimInputContext* ) ptr;
-    if ( ic != focusedInputContext )
+    if ( ic != focusedInputContext || disableFocusedContext )
         return;
 
     QString msg = "prop_label_update\ncharset=UTF-8\n";



More information about the uim-commit mailing list