Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 363637 Details for
Bug 526881
ibus-anthy backtrace is reported by the latest abrt
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch for engine/engine.py
ibus-anthy-526881-warning-setting.diff (text/plain), 1.59 KB, created by
fujiwara
on 2009-10-05 05:28:52 UTC
(
hide
)
Description:
Patch for engine/engine.py
Filename:
MIME Type:
Creator:
fujiwara
Created:
2009-10-05 05:28:52 UTC
Size:
1.59 KB
patch
obsolete
>diff --git a/engine/engine.py b/engine/engine.py >index 7069b0a..4b93d35 100644 >--- a/engine/engine.py >+++ b/engine/engine.py >@@ -952,10 +952,10 @@ class Engine(ibus.EngineBase): > @classmethod > def CONFIG_VALUE_CHANGED(cls, bus, section, name, value): > print 'VALUE_CHAMGED =', section, name, value >- section = section[len(cls.__prefs._prefix) + 1:] >- if section == cls._get_shortcut_type(): >+ base_sec = section[len(cls.__prefs._prefix) + 1:] >+ sec = cls._get_shortcut_type() >+ if base_sec == sec: > cmd = '_Engine__cmd_' + name >- sec = cls._get_shortcut_type() > old = cls.__prefs.get_value(sec, name) > value = value if value != [''] else [] > for s in set(old).difference(value): >@@ -968,12 +968,17 @@ class Engine(ibus.EngineBase): > lambda a, b: cmp(keys.index(a[13:]), keys.index(b[13:]))) > > cls.__prefs.set_value(sec, name, value) >- elif section == 'common': >- cls.__prefs.set_value(section, name, value) >+ elif base_sec == 'common': >+ cls.__prefs.set_value(base_sec, name, value) > if name == 'shortcut_type': > cls.__keybind = cls._mk_keybind() >+ elif section == 'panel': >+ # This value is used for ibus.config.set_value only. >+ pass >+ elif base_sec: >+ cls.__prefs.set_value(base_sec, name, value) > else: >- cls.__prefs.set_value(sec, name, value) >+ cls.__prefs.set_value(section, name, value) > > @classmethod > def _mk_keybind(cls):
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 526881
:
363452
| 363637