diff options
author | fujiwarat <takao.fujiwara1@gmail.com> | 2014-04-24 11:37:44 +0900 |
---|---|---|
committer | fujiwarat <takao.fujiwara1@gmail.com> | 2014-04-24 11:37:44 +0900 |
commit | 98bf852afe1cedeaa256e6a9763a73bd3f78cbfd (patch) | |
tree | eea125eab6a87bbe293f87dbc8bdcebae851d00a | |
parent | 8f4bd6d745707c26d7ccd66ae71e8f4833501b3c (diff) |
Do not show property panel by default.
Property panel sometimes hides text entry box on firefox in case
the mode is auto-hide because firefox does not provide the right
cursor locations and firefox does not update cursor locales
when preedit is updated so property panel hides text entry box
for a while and auto-hide is not useful with firefox and thunderbird.
TEST=gsettings reset org.freedesktop.ibus.panel show
Review URL: https://codereview.appspot.com/90480043
-rw-r--r-- | data/ibus.schemas.in | 2 | ||||
-rw-r--r-- | ui/gtk3/propertypanel.vala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/data/ibus.schemas.in b/data/ibus.schemas.in index 2f76ce33..328437b9 100644 --- a/data/ibus.schemas.in +++ b/data/ibus.schemas.in @@ -161,7 +161,7 @@ <applyto>/desktop/ibus/panel/show</applyto> <owner>ibus</owner> <type>int</type> - <default>1</default> + <default>0</default> <locale name="C"> <short>Auto hide</short> <long>The behavior of property panel. 0 = Do not show, 1 = Auto hide, 2 = Always show</long> diff --git a/ui/gtk3/propertypanel.vala b/ui/gtk3/propertypanel.vala index e6a192f9..99de6f86 100644 --- a/ui/gtk3/propertypanel.vala +++ b/ui/gtk3/propertypanel.vala @@ -34,7 +34,7 @@ public class PropertyPanel : Gtk.Box { private IPropToolItem[] m_items; private Gdk.Rectangle m_cursor_location = Gdk.Rectangle(){ x = -1, y = -1, width = 0, height = 0 }; - private int m_show = PanelShow.AUTO_HIDE; + private int m_show = PanelShow.DO_NOT_SHOW; private uint m_auto_hide_timeout = 10000; private uint m_auto_hide_timeout_id = 0; private bool m_follow_input_cursor_when_always_shown = false; |