[ibus-indic-table] Fixed bug-683749.patch

anish anishpatil at fedoraproject.org
Wed Oct 5 11:09:59 UTC 2011


commit 8cb3b1216251bb1d0cd491ea313475ecccf401c1
Author: anish <anish at dhcp193-44.pnq.redhat.com>
Date:   Wed Oct 5 16:40:32 2011 +0530

    Fixed bug-683749.patch

 bug-683749.patch |   69 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 69 insertions(+), 0 deletions(-)
---
diff --git a/bug-683749.patch b/bug-683749.patch
new file mode 100644
index 0000000..9234cef
--- /dev/null
+++ b/bug-683749.patch
@@ -0,0 +1,69 @@
+Only in ibus-indic-table-1.3.1/engine: factory.pyc
+diff -rup ibus-indic-table-1.3.1-org/engine/indic_table.py ibus-indic-table-1.3.1/engine/indic_table.py
+--- ibus-indic-table-1.3.1-org/engine/indic_table.py	2011-10-05 16:05:07.430871777 +0530
++++ ibus-indic-table-1.3.1/engine/indic_table.py	2011-10-05 16:28:06.852903251 +0530
+@@ -1026,26 +1026,27 @@ class tabengine (ibus.EngineBase):
+     def _init_properties (self):
+         self.properties= ibus.PropList ()
+         self._status_property = ibus.Property(u'status')
+-        if self.db._is_chinese:
+-            self._cmode_property = ibus.Property(u'cmode')
+-        self._letter_property = ibus.Property(u'letter')
+-        self._punct_property = ibus.Property(u'punct')
+-        self._py_property = ibus.Property(u'py_mode')
+-        self._onechar_property = ibus.Property(u'onechar')
+-        self._auto_commit_property = ibus.Property(u'acommit')
++  #      if self.db._is_chinese:
++  #          self._cmode_property = ibus.Property(u'cmode')
++  #      self._letter_property = ibus.Property(u'letter')
++  #      self._punct_property = ibus.Property(u'punct')
++  #      self._py_property = ibus.Property(u'py_mode')
++  #      self._onechar_property = ibus.Property(u'onechar')
++  #      self._auto_commit_property = ibus.Property(u'acommit')
+         for prop in (self._status_property,
+-            self._letter_property,
+-            self._punct_property,
+-            self._py_property,
+-            self._onechar_property,
+-            self._auto_commit_property
++  #          self._letter_property,
++  #          self._punct_property,
++  #          self._py_property,
++  #          self._onechar_property,
++  #          self._auto_commit_property
+             #self._setup_property
+             ):
+             self.properties.append(prop)
+-        if self.db._is_chinese:
+-            self.properties.insert( 1, self._cmode_property )
+-        self.register_properties (self.properties)
+-        self._refresh_properties ()
++   #     if self.db._is_chinese:
++   #         self.properties.insert( 1, self._cmode_property )
++   #     self.register_properties (self.properties)
++        self.register_properties (self._status_property)
++  #      self._refresh_properties ()
+     
+     def _refresh_properties (self):
+         '''Method used to update properties'''
+@@ -1216,6 +1217,7 @@ class tabengine (ibus.EngineBase):
+     
+     def _update_aux (self):
+         '''Update Aux String in UI'''
++        '''
+         _ic = self._editor.get_strings ()
+         if _ic:
+             res = patt_edit.match (_ic)
+@@ -1230,6 +1232,8 @@ class tabengine (ibus.EngineBase):
+                 _ic += res.group(3)
+         if _ic in self._editor._ap_dict:
+             _ic =  self._editor.get_aux_strings()+self._editor._ap_dict[_ic]
++        '''
++        _ic = self._editor.get_aux_strings()
+         if _ic:
+             attrs = ibus.AttrList([ ibus.AttributeForeground(0x9515b5,0, len(_ic)) ])
+             #attrs = [ scim.Attribute(0,len(_ic),scim.ATTR_FOREGROUND,0x5540c1)]
+Only in ibus-indic-table-1.3.1/engine: indic_table.py~
+Only in ibus-indic-table-1.3.1/engine: indic_table.pyc
+Only in ibus-indic-table-1.3.1/engine: tabdict.pyc
+Only in ibus-indic-table-1.3.1/engine: tabsqlitedb.pyc


More information about the scm-commits mailing list