Verified Commit fd6c8353 authored by Sebastian Krzyszkowiak's avatar Sebastian Krzyszkowiak
Browse files

PhoshHome: Hide the keyboard button when unfolded

parent ea777fb7
...@@ -258,5 +258,10 @@ phosh_home_set_state (PhoshHome *self, PhoshHomeState state) ...@@ -258,5 +258,10 @@ phosh_home_set_state (PhoshHome *self, PhoshHomeState state)
} }
gtk_widget_show (self->img_home); gtk_widget_show (self->img_home);
if (state == PHOSH_HOME_STATE_UNFOLDED)
gtk_widget_hide (self->btn_osk);
else
gtk_widget_show (self->btn_osk);
g_object_notify_by_pspec (G_OBJECT (self), props[PROP_HOME_STATE]); g_object_notify_by_pspec (G_OBJECT (self), props[PROP_HOME_STATE]);
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment