[ibus-indic-table] fixed bug 741176

anish anishpatil at fedoraproject.org
Mon Sep 26 11:49:05 UTC 2011


commit 922d876c6d2522f555dabaca13a9085c69108fb0
Author: anish <anish at dhcp193-44.pnq.redhat.com>
Date:   Mon Sep 26 17:19:23 2011 +0530

    fixed bug 741176

 bug-741176.patch |   57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/bug-741176.patch b/bug-741176.patch
new file mode 100644
index 0000000..c955882
--- /dev/null
+++ b/bug-741176.patch
@@ -0,0 +1,57 @@
+diff -rpu ibus-indic-table-1.3.1-org/engine/main.py ibus-indic-table-1.3.1/engine/main.py
+--- ibus-indic-table-1.3.1-org/engine/main.py	2011-09-26 16:25:34.227875356 +0530
++++ ibus-indic-table-1.3.1/engine/main.py	2011-09-26 16:27:03.299877389 +0530
+@@ -103,7 +103,8 @@ class IMApp:
+                 if not os.access( icon, os.F_OK):
+                     icon = ''
+             layout = self.__factory.db.get_ime_property ("layout")
+-            
++            symbol = self.__factory.db.get_ime_property("symbol")
++
+             self.__component.add_engine(name,
+                                         longname,
+                                         description,
+@@ -111,7 +112,8 @@ class IMApp:
+                                         license,
+                                         author,
+                                         icon,
+-                                        layout)
++                                        layout,
++                                        symbol)
+             self.__bus.register_component(self.__component)
+ 
+ 
+@@ -163,6 +165,7 @@ def main():
+         #    return
+ 
+         egs = Element('engines')
++
+         for _db in dbs:
+             _sq_db = tabsqlitedb.tabsqlitedb (os.path.join (db_dir, _db))
+             _engine = SubElement (egs,'engine')
+@@ -207,6 +210,12 @@ def main():
+ 
+             _desc = SubElement (_engine, 'description')
+             _desc.text = _sq_db.get_ime_property ('description')
++            
++            _page_size_ibus = SubElement(_engine,'page_size')
++            _page_size_ibus.text = _sq_db.get_ime_property('page_size')
++            
++            _symbol = SubElement(_engine,'symbol')
++            _symbol.text = _sq_db.get_ime_property('symbol')
+ 
+         # now format the xmlout pretty
+         indent (egs)
+diff -rpu ibus-indic-table-1.3.1-org/engine/tabsqlitedb.py ibus-indic-table-1.3.1/engine/tabsqlitedb.py
+--- ibus-indic-table-1.3.1-org/engine/tabsqlitedb.py	2011-09-26 16:25:34.227875356 +0530
++++ ibus-indic-table-1.3.1/engine/tabsqlitedb.py	2011-09-26 16:28:43.773879681 +0530
+@@ -108,7 +108,8 @@ class tabsqlitedb:
+                       # we use this entry for those IME, which don't
+                       # have rules to build up phrase, but still need
+                       # auto commit to preedit
+-                      'page_size':'6'
++                      'page_size':'6',
++                      'symbol':'म'
+                       }
+             # inital the attribute in ime table, which should be updated from mabiao
+             for _name in ime_keys:


More information about the scm-commits mailing list