summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej <ndrwrdck@gmail.com>2012-01-16 17:47:29 +0900
committerNick Schermer <nick@xfce.org>2012-02-24 16:37:26 +0100
commit8e15559b57e09d84e06312e54a1cb0a1eb8431fa (patch)
tree7e1caca87cdbc8eadb453450aea5315d4d23e341
parent93ce1309569372ad02a56caf3b998671675874b9 (diff)
Clock: 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.
-rw-r--r--plugins/clock/clock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/clock/clock.c b/plugins/clock/clock.c
index 52416fa9..967ac577 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);