[gnome-control-center] region: Fix the look of login button
- From: Yosef Or Boczko <yoseforb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] region: Fix the look of login button
- Date: Fri, 12 Jul 2013 08:22:10 +0000 (UTC)
commit 720f1b4a87bd40cb6f9fd0a6a69cd3cce5d8b6aa
Author: Yosef Or Boczko <yoseforb gmail com>
Date: Fri Jul 12 11:18:17 2013 +0300
region: Fix the look of login button
https://bugzilla.gnome.org/show_bug.cgi?id=703769
panels/region/cc-region-panel.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/panels/region/cc-region-panel.c b/panels/region/cc-region-panel.c
index 71291fe..5372f60 100644
--- a/panels/region/cc-region-panel.c
+++ b/panels/region/cc-region-panel.c
@@ -1714,6 +1714,8 @@ setup_login_button (CcRegionPanel *self)
priv->login_label = WID ("login-label");
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_visible (priv->login_button, FALSE);
gtk_widget_set_sensitive (priv->login_button, FALSE);
g_signal_connect_swapped (priv->login_button, "notify::active",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]