[Xfce4-commits] r30430 - xfce4-settings/trunk/xfce4-settings-helper
Nick Schermer
nick at xfce.org
Wed Aug 5 10:36:50 CEST 2009
Author: nick
Date: 2009-08-05 08:36:50 +0000 (Wed, 05 Aug 2009)
New Revision: 30430
Modified:
xfce4-settings/trunk/xfce4-settings-helper/displays.c
Log:
Always restore the default scheme for now (bug #5311).
Once Randr 1.2 support is implemented this needs to be
changed, but for now it works fine since there can only
be a default legacy randr setup right now.
Modified: xfce4-settings/trunk/xfce4-settings-helper/displays.c
===================================================================
--- xfce4-settings/trunk/xfce4-settings-helper/displays.c 2009-08-04 22:08:31 UTC (rev 30429)
+++ xfce4-settings/trunk/xfce4-settings-helper/displays.c 2009-08-05 08:36:50 UTC (rev 30430)
@@ -44,6 +44,8 @@
#undef HAS_RANDR_ONE_POINT_TWO
static void xfce_displays_helper_finalize (GObject *object);
+static void xfce_displays_helper_channel_apply_legacy (XfceDisplaysHelper *helper,
+ const gchar *scheme);
static void xfce_displays_helper_channel_property_changed (XfconfChannel *channel,
const gchar *property_name,
const GValue *value,
@@ -110,6 +112,9 @@
/* monitor channel changes */
g_signal_connect (G_OBJECT (helper->channel), "property-changed",
G_CALLBACK (xfce_displays_helper_channel_property_changed), helper);
+
+ /* restore the default scheme */
+ xfce_displays_helper_channel_apply_legacy (helper, "Default");
}
else
{
More information about the Xfce4-commits
mailing list