[ibus-indic-table/f15] Fixed bug-683749

anish anishpatil at fedoraproject.org
Wed Oct 5 11:32:56 UTC 2011


commit 953fc3b2dd16b85e7b7a5340093cb977202d9428
Author: anish <anish at dhcp193-44.pnq.redhat.com>
Date:   Wed Oct 5 17:03:36 2011 +0530

    Fixed bug-683749

 bug-683749.patch      |   69 +++++++++++++++++++++++++++++++++++++++++++++++++
 ibus-indic-table.spec |    7 ++++-
 2 files changed, 75 insertions(+), 1 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
diff --git a/ibus-indic-table.spec b/ibus-indic-table.spec
index 6f638ff..c642472 100644
--- a/ibus-indic-table.spec
+++ b/ibus-indic-table.spec
@@ -1,6 +1,6 @@
 Name:       ibus-indic-table
 Version:    1.3.1
-Release:    7%{?dist}
+Release:    8%{?dist}
 Summary:    The Table engine for IBus platform
 License:    LGPLv2+
 Group:      System Environment/Libraries
@@ -12,6 +12,7 @@ Patch2:     bug-683826-683743.patch
 Patch3:     bug-741176.patch
 Patch4:     bug-741176-minor-symbol.patch
 Patch5:     bug-742852.patch
+Patch6:     bug-683749.patch
 Requires:       ibus
 BuildRequires:  ibus-devel
 BuildArch:  noarch
@@ -27,6 +28,7 @@ The Indic Table engine for IBus platform.
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 %build
 %configure --disable-static --disable-additional
@@ -47,6 +49,9 @@ make DESTDIR=${RPM_BUILD_ROOT} NO_INDEX=true install pkgconfigdir=%{_datadir}/pk
 %{_datadir}/pkgconfig/%{name}.pc
 
 %changelog
+* Mon Oct 05 2011 Anish Patil <apatil at redhat.com> - 1.3.1-8
+- Fixed the bug #683749
+
 * Mon Oct 03 2011 Anish Patil <apatil at redhat.com> - 1.3.1-7
 - Fixed the bug #742852 
 


More information about the scm-commits mailing list