[Xfce4-commits] <xfce4-battery-plugin:master> Set small property to TRUE so that the plugin fits in a single row.
Landry Breuil
noreply at xfce.org
Tue May 8 11:56:01 CEST 2012
Updating branch refs/heads/master
to b0bf17837ff694d4730a2be19469cd4cff5ddf07 (commit)
from 36a61af2e48f63bdb2262fce932e96286dc0a6a3 (commit)
commit b0bf17837ff694d4730a2be19469cd4cff5ddf07
Author: Landry Breuil <landry at xfce.org>
Date: Tue May 8 11:55:00 2012 +0200
Set small property to TRUE so that the plugin fits in a single row.
panel-plugin/battery.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/panel-plugin/battery.c b/panel-plugin/battery.c
index 47cbc1b..4754fdd 100644
--- a/panel-plugin/battery.c
+++ b/panel-plugin/battery.c
@@ -1758,6 +1758,7 @@ battmon_construct (XfcePanelPlugin *plugin)
#ifdef HAS_PANEL_49
g_signal_connect (plugin, "mode-changed", G_CALLBACK (battmon_set_mode), battmon);
+ xfce_panel_plugin_set_small (plugin, TRUE);
#else
g_signal_connect (plugin, "orientation-changed", G_CALLBACK (battmon_set_orientation), battmon);
#endif
More information about the Xfce4-commits
mailing list