[Xfce4-commits] [xfce/xfce4-settings] 23/67: display: Don't auto-apply matched profiles in advanced dialog

noreply at xfce.org noreply at xfce.org
Sat Sep 22 11:23:14 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 e1cdc0eae463248bd905dcf1eafae2d6e7259a00
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Tue Aug 21 20:14:41 2018 +0200

    display: Don't auto-apply matched profiles in advanced dialog
    
    Advanced dialog: Only select the profile.
    Minimal dialog: Select and apply (if there is only one match).
---
 dialogs/display-settings/main.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/dialogs/display-settings/main.c b/dialogs/display-settings/main.c
index 62db06c..9285fe3 100644
--- a/dialogs/display-settings/main.c
+++ b/dialogs/display-settings/main.c
@@ -1498,16 +1498,10 @@ display_settings_profile_changed (GtkWidget *widget, GtkBuilder *builder)
 {
     GtkWidget *entry = gtk_bin_get_child ((GtkBin*) gtk_builder_get_object (builder, "randr-profile"));
     gboolean sensitive = gtk_entry_get_text_length (GTK_ENTRY (entry));
-    GtkTreeIter   iter;
 
     gtk_widget_set_sensitive (profile_save_button, sensitive);
     gtk_widget_set_sensitive (profile_delete_button, sensitive);
     gtk_widget_set_sensitive (profile_apply_button, sensitive);
-
-    if (gtk_combo_box_get_active_iter (GTK_COMBO_BOX (widget), &iter))
-    {
-        display_settings_profile_apply (widget, builder);
-    }
 }
 
 static void

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list