summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/ibus.schemas.in2
-rw-r--r--ui/gtk3/propertypanel.vala2
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;