[Xfce4-commits] <xfce4-settings:xrandr-display-settings> Remove useless populate calls.
Jérôme Guelfucci
noreply at xfce.org
Sun Jun 27 18:10:01 CEST 2010
Updating branch refs/heads/xrandr-display-settings
to c1092bd56524136989481870091b715c5c959c9c (commit)
from ecc665625202851348e00a0699fe1df66194089c (commit)
commit c1092bd56524136989481870091b715c5c959c9c
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date: Sun Jun 27 18:07:44 2010 +0200
Remove useless populate calls.
Those calls are triggered by the screen changed event, so no need to
duplicate them.
dialogs/display-settings/main.c | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/dialogs/display-settings/main.c b/dialogs/display-settings/main.c
index 3ee85b4..7f1483d 100644
--- a/dialogs/display-settings/main.c
+++ b/dialogs/display-settings/main.c
@@ -775,11 +775,6 @@ display_setting_output_toggled (GtkToggleButton *togglebutton,
else if (!is_active && XFCE_RANDR_MODE (xfce_randr) != None)
XFCE_RANDR_MODE (xfce_randr) = None;
- display_setting_resolutions_populate (builder);
- display_setting_refresh_rates_populate (builder);
- display_setting_rotations_populate (builder);
- display_setting_reflections_populate (builder);
-
/* Apply the changes */
xfce_randr_save (xfce_randr, "Default", display_channel);
}
@@ -841,8 +836,7 @@ display_settings_treeview_selection_changed (GtkTreeSelection *selection,
display_setting_refresh_rates_populate (builder);
display_setting_rotations_populate (builder);
#ifdef HAS_RANDR_ONE_POINT_TWO
- if (xfce_randr)
- display_setting_reflections_populate (builder);
+ display_setting_reflections_populate (builder);
#endif
}
}
More information about the Xfce4-commits
mailing list