Bug fix for 7053381 imf-selector shows unnecessary iiim information dialogue when IM disabled
authormkaz
Wed, 15 Jun 2011 16:15:23 +0900
changeset 688 21d10476a7ac
parent 687 fcb06c0bc596
child 689 47c87ad3c3cc
Bug fix for 7053381 imf-selector shows unnecessary iiim information dialogue when IM disabled
imf-selector/src/imf-selector
--- a/imf-selector/src/imf-selector	Wed Jun 15 16:08:17 2011 +0900
+++ b/imf-selector/src/imf-selector	Wed Jun 15 16:15:23 2011 +0900
@@ -213,7 +213,7 @@
         msg = _("Do you update your configuration ?\n"\
                 "This configuration becomes effective "\
                 "from next desktop login.")
-        if(id in self.MSGS):
+        if(id in self.MSGS and self.ENABLE_FLAG):
             msg = msg+"\n\n"+self.MSGS[id]
         dlg = gtk.MessageDialog(type = gtk.MESSAGE_INFO,
                     buttons = gtk.BUTTONS_YES_NO,