[Xfce4-commits] <xfce4-settings:master> Remove useless populate calls.
Nick Schermer
noreply at xfce.org
Sat Aug 28 23:04:57 CEST 2010
Updating branch refs/heads/master
to df7ddc2cf88994fccd65a9a43095f3d0aa399e6c (commit)
from cff21b0504c2169fedb81166a2556d8ae9c11d4a (commit)
commit df7ddc2cf88994fccd65a9a43095f3d0aa399e6c
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