[Xfce4-commits] [xfce/xfce4-power-manager] 01/01: Correctly hide brightness label (Bug #14649)
noreply at xfce.org
noreply at xfce.org
Tue Aug 6 17:09:50 CEST 2019
This is an automated email from the git hooks/post-receive script.
o c h o s i p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/xfce4-power-manager.
commit f914df0838c815515a054093d726c69fff274c13
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Tue Aug 6 17:08:46 2019 +0200
Correctly hide brightness label (Bug #14649)
---
data/interfaces/xfpm-settings.ui | 2 +-
settings/xfpm-settings.c | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/data/interfaces/xfpm-settings.ui b/data/interfaces/xfpm-settings.ui
index f6e6e00..62e5217 100644
--- a/data/interfaces/xfpm-settings.ui
+++ b/data/interfaces/xfpm-settings.ui
@@ -462,7 +462,7 @@
</packing>
</child>
<child>
- <object class="GtkLabel" id="label7">
+ <object class="GtkLabel" id="handle-brightness-keys-label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
diff --git a/settings/xfpm-settings.c b/settings/xfpm-settings.c
index 6c8479e..624863f 100644
--- a/settings/xfpm-settings.c
+++ b/settings/xfpm-settings.c
@@ -2524,6 +2524,8 @@ xfpm_settings_dialog_new (XfconfChannel *channel, gboolean auth_suspend,
gtk_widget_hide (frame);
frame = GTK_WIDGET (gtk_builder_get_object (xml, "handle-brightness-keys"));
gtk_widget_hide (frame);
+ frame = GTK_WIDGET (gtk_builder_get_object (xml, "handle-brightness-keys-label"));
+ gtk_widget_hide (frame);
}
if ( id != 0 )
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list