aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-08-18 09:06:46 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-08-18 09:06:46 (GMT)
commit2ab539073b115e3e05cab6b95c4ea638bd8d1b6f (patch)
treeed3accea842d6e8cc068dbc91703b951ae95db87 /src
parenta30a14ef36bda4ecfd8116963f641e8729350ab8 (diff)
downloadfluxbox-2ab539073b115e3e05cab6b95c4ea638bd8d1b6f.zip
fluxbox-2ab539073b115e3e05cab6b95c4ea638bd8d1b6f.tar.bz2
fix some defaults
Diffstat (limited to 'src')
-rw-r--r--src/IconbarTool.cc12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/IconbarTool.cc b/src/IconbarTool.cc
index f2ed082..f352237 100644
--- a/src/IconbarTool.cc
+++ b/src/IconbarTool.cc
@@ -72,15 +72,11 @@ void FbTk::Resource<FbTk::Container::Alignment>::setDefaultValue() {
72 72
73template<> 73template<>
74string FbTk::Resource<FbTk::Container::Alignment>::getString() const { 74string FbTk::Resource<FbTk::Container::Alignment>::getString() const {
75 switch (m_value) { 75 if (m_value == FbTk::Container::LEFT)
76 case FbTk::Container::LEFT:
77 return string("Left"); 76 return string("Left");
78 case FbTk::Container::RIGHT: 77 if (m_value == FbTk::Container::RIGHT)
79 return string("Right"); 78 return string("Right");
80 case FbTk::Container::RELATIVE: 79 return string("Relative");
81 return string("Relative");
82 }
83 return string("Left");
84} 80}
85 81
86template<> 82template<>
@@ -261,7 +257,7 @@ IconbarTool::IconbarTool(const FbTk::FbWindow &parent,
261 m_mode("none"), 257 m_mode("none"),
262 m_rc_mode(screen.resourceManager(), "{static groups} (workspace)", 258 m_rc_mode(screen.resourceManager(), "{static groups} (workspace)",
263 screen.name() + ".iconbar.mode", screen.altName() + ".Iconbar.Mode"), 259 screen.name() + ".iconbar.mode", screen.altName() + ".Iconbar.Mode"),
264 m_rc_alignment(screen.resourceManager(), FbTk::Container::LEFT, 260 m_rc_alignment(screen.resourceManager(), FbTk::Container::RELATIVE,
265 screen.name() + ".iconbar.alignment", screen.altName() + ".Iconbar.Alignment"), 261 screen.name() + ".iconbar.alignment", screen.altName() + ".Iconbar.Alignment"),
266 m_rc_client_width(screen.resourceManager(), 70, 262 m_rc_client_width(screen.resourceManager(), 70,
267 screen.name() + ".iconbar.iconWidth", screen.altName() + ".Iconbar.IconWidth"), 263 screen.name() + ".iconbar.iconWidth", screen.altName() + ".Iconbar.IconWidth"),