[Xfce4-commits] <xfce4-panel:andrzejr/deskbar2> clock plugin: changing default value of rotate-vertically to TRUE.
Andrzej
noreply at xfce.org
Mon Jan 16 09:56:03 CET 2012
Updating branch refs/heads/andrzejr/deskbar2
to 6bdea4b755a7f38bb456ade581311b74562b6e2f (commit)
from e45d478e239c6550ec01063b0108403290486af2 (commit)
commit 6bdea4b755a7f38bb456ade581311b74562b6e2f
Author: Andrzej <ndrwrdck at gmail.com>
Date: Mon Jan 16 17:47:29 2012 +0900
clock plugin: changing default value of rotate-vertically to TRUE.
Reasons for doing that:
1. it's consistent with other plugins.
2. it isn't exposed in the gui (user has to use xfconf-query tool
to set it).
3. previous behavior was likely a workaround for lack of desbar mode
(users which preferred to have the clock horizontal in a vertical
panel by default are likely to use deskbar mode now).
4. horizontal labels don't fit in narrow vertical panels.
We could perhaps remove this property instead.
plugins/clock/clock.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/clock/clock.c b/plugins/clock/clock.c
index 52416fa..967ac57 100644
--- a/plugins/clock/clock.c
+++ b/plugins/clock/clock.c
@@ -226,7 +226,7 @@ clock_plugin_class_init (ClockPluginClass *klass)
PROP_ROTATE_VERTICALLY,
g_param_spec_boolean ("rotate-vertically",
NULL, NULL,
- FALSE,
+ TRUE,
EXO_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
@@ -247,7 +247,7 @@ clock_plugin_init (ClockPlugin *plugin)
plugin->tooltip_format = g_strdup (DEFAULT_TOOLTIP_FORMAT);
plugin->tooltip_timeout = NULL;
plugin->command = NULL;
- plugin->rotate_vertically = FALSE;
+ plugin->rotate_vertically = TRUE;
plugin->frame = gtk_frame_new (NULL);
gtk_container_add (GTK_CONTAINER (plugin), plugin->frame);
More information about the Xfce4-commits
mailing list