Commit 648be6c1 authored by Yosef Or Boczko's avatar Yosef Or Boczko
Browse files

region: Fix stretched "Login Screen" button

parent c713b4f9
......@@ -1716,6 +1716,7 @@ setup_login_button (CcRegionPanel *self)
priv->login_button = gtk_toggle_button_new_with_label (_("Login Screen"));
gtk_style_context_add_class (gtk_widget_get_style_context (priv->login_button),
"text-button");
gtk_widget_set_valign (priv->login_button, GTK_ALIGN_CENTER);
gtk_widget_set_visible (priv->login_button, FALSE);
gtk_widget_set_sensitive (priv->login_button, FALSE);
g_signal_connect_swapped (priv->login_button, "notify::active",
......
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