diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2011-04-25 13:37:00 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2018-05-31 22:45:18 +0200 |
commit | 75a4a592e5ccda30715f93563d741b83e0dcf39e (patch) | |
tree | 502f745607e77a2c4386ad38d818ddcafe81489c /source/x/scim-bridge/patches/scim-bridge-0.4.16-scim-bridge-agent-imcontext.cpp.patch | |
parent | b76270bf9e6dd375e495fec92140a79a79415d27 (diff) | |
download | current-75a4a592e5ccda30715f93563d741b83e0dcf39e.tar.gz |
Slackware 13.37slackware-13.37
Mon Apr 25 13:37:00 UTC 2011
Slackware 13.37 x86_64 stable is released!
Thanks to everyone who pitched in on this release: the Slackware team,
the folks producing upstream code, and linuxquestions.org for providing
a great forum for collaboration and testing.
The ISOs are off to be replicated, a 6 CD-ROM 32-bit set and a
dual-sided
32-bit/64-bit x86/x86_64 DVD. Please consider supporting the Slackware
project by picking up a copy from store.slackware.com. We're taking
pre-orders now, and offer a discount if you sign up for a subscription.
As always, thanks to the Slackware community for testing, suggestions,
and feedback. :-)
Have fun!
Diffstat (limited to 'source/x/scim-bridge/patches/scim-bridge-0.4.16-scim-bridge-agent-imcontext.cpp.patch')
-rw-r--r-- | source/x/scim-bridge/patches/scim-bridge-0.4.16-scim-bridge-agent-imcontext.cpp.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/source/x/scim-bridge/patches/scim-bridge-0.4.16-scim-bridge-agent-imcontext.cpp.patch b/source/x/scim-bridge/patches/scim-bridge-0.4.16-scim-bridge-agent-imcontext.cpp.patch new file mode 100644 index 00000000..85732013 --- /dev/null +++ b/source/x/scim-bridge/patches/scim-bridge-0.4.16-scim-bridge-agent-imcontext.cpp.patch @@ -0,0 +1,48 @@ +--- scim-bridge-0.4.16/agent/scim-bridge-agent-imcontext.cpp.bak 2009-02-03 22:36:14.000000000 +0800 ++++ scim-bridge-0.4.16/agent/scim-bridge-agent-imcontext.cpp 2010-09-11 23:25:00.636978519 +0800 +@@ -60,6 +60,8 @@ + + static bool on_the_spot_enabled = true; + ++static String help_hotkeys = ""; ++ + /* Class definition */ + class ScimBridgeAgentIMContextImpl: public ScimBridgeAgentIMContext + { +@@ -274,6 +276,12 @@ + } + + ++void ScimBridgeAgentIMContext::set_help_hotkeys (const String &hotkey_str) ++{ ++ help_hotkeys = hotkey_str; ++} ++ ++ + ScimBridgeAgentIMContextImpl::ScimBridgeAgentIMContextImpl (ScimBridgeAgentClientListener *new_client_listener): + client_listener (new_client_listener), imengine (NULL), enabled (false), focused(false) ,preedit_mode (PREEDIT_ANY), + preedit_shown (false), preedit_cursor_position (0) +@@ -654,6 +662,8 @@ + + void ScimBridgeAgentIMContextImpl::focus_out () + { ++ if (!imengine_shared && imengine == NULL) alloc_imengine (); ++ + ScimBridgeAgentIMContext *focused_imcontext = static_cast<ScimBridgeAgentIMContext*> (get_imengine ()->get_frontend_data ()); + + if ( !focused ) +@@ -923,9 +933,11 @@ + + void ScimBridgeAgentIMContextImpl::panel_request_help () + { +- String help = String ("Smart Common Input Method platform ") + +- String (SCIM_VERSION) + +- String ("\n(C) 2002-2005 James Su <suzhe@tsinghua.org.cn>\n\n"); ++ String help = String ("SCIM Bridge") + ++ String (VERSION) + ++ String ("\n(C) 2006-2008 Ryo Dairiki <ryo-dairiki@users.sourceforge.net>\n") + ++ help_hotkeys + ++ String ("\n\n"); + + IMEngineFactoryPointer factory = scim_backend->get_factory (get_imengine ()->get_factory_uuid ()); + if (factory.null ()) factory = fallback_imengine_factory; |