[Xfce4-commits] [xfce/xfce4-settings] 50/67: display: Make identity popups a setting
noreply at xfce.org
noreply at xfce.org
Sat Sep 22 11:23:41 CEST 2018
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-settings.
commit e44d454913eb2d53b314e6259f4690cd96322e78
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Sat Sep 1 22:48:54 2018 +0200
display: Make identity popups a setting
---
dialogs/display-settings/main.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dialogs/display-settings/main.c b/dialogs/display-settings/main.c
index f021868..7350a5d 100644
--- a/dialogs/display-settings/main.c
+++ b/dialogs/display-settings/main.c
@@ -1746,6 +1746,7 @@ display_settings_dialog_new (GtkBuilder *builder)
GObject *label, *check, *primary, *mirror, *identify;
GtkWidget *button;
GtkTreeSelection *selection;
+ gboolean show_popups;
/* Get the combobox */
combobox = gtk_builder_get_object (builder, "randr-outputs");
@@ -1760,6 +1761,9 @@ display_settings_dialog_new (GtkBuilder *builder)
display_setting_identity_popups_populate ();
identify = gtk_builder_get_object (builder, "identify-displays");
g_signal_connect (G_OBJECT (identify), "state-set", G_CALLBACK (on_identify_displays_toggled), builder);
+ xfconf_g_property_bind (display_channel, "/IdentityPopups", G_TYPE_BOOLEAN, identify,
+ "active");
+ show_popups = gtk_switch_get_active (GTK_SWITCH (identify));
set_display_popups_visible (show_popups);
/* Display selection combobox */
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list