[Xfce4-commits] <xfce4-panel:master> Clock: Changing default value of rotate-vertically to TRUE.
Nick Schermer
noreply at xfce.org
Fri Feb 24 16:38:05 CET 2012
Updating branch refs/heads/master
to 8e15559b57e09d84e06312e54a1cb0a1eb8431fa (commit)
from 93ce1309569372ad02a56caf3b998671675874b9 (commit)
commit 8e15559b57e09d84e06312e54a1cb0a1eb8431fa
Author: Andrzej <ndrwrdck at gmail.com>
Date: Mon Jan 16 17:47:29 2012 +0900
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.
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