aboutsummaryrefslogtreecommitdiff
path: root/src/ToolTheme.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-08-29 00:48:41 (GMT)
committerfluxgen <fluxgen>2003-08-29 00:48:41 (GMT)
commit8f0b2b2016d0023f928bab973936cf049fe9a30a (patch)
tree4f9f930159ef6630c6c0ee7579fbe8043abdfec1 /src/ToolTheme.cc
parent76c1bd4b62ed62ffae1f3f6da8dde9716440d87c (diff)
downloadfluxbox-8f0b2b2016d0023f928bab973936cf049fe9a30a.zip
fluxbox-8f0b2b2016d0023f928bab973936cf049fe9a30a.tar.bz2
minor fixes
Diffstat (limited to 'src/ToolTheme.cc')
-rw-r--r--src/ToolTheme.cc11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/ToolTheme.cc b/src/ToolTheme.cc
index 77c6ea4..730c9a3 100644
--- a/src/ToolTheme.cc
+++ b/src/ToolTheme.cc
@@ -20,7 +20,7 @@
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE. 21// DEALINGS IN THE SOFTWARE.
22 22
23// $Id: ToolTheme.cc,v 1.3 2003/08/19 21:27:40 fluxgen Exp $ 23// $Id: ToolTheme.cc,v 1.4 2003/08/29 00:46:18 fluxgen Exp $
24 24
25#include "ToolTheme.hh" 25#include "ToolTheme.hh"
26 26
@@ -41,9 +41,12 @@ void ToolTheme::reconfigTheme() {
41 update(); 41 update();
42} 42}
43 43
44
45bool ToolTheme::fallback(FbTk::ThemeItem_base &item) { 44bool ToolTheme::fallback(FbTk::ThemeItem_base &item) {
46 if (item.name() == "toolbar.workspace") 45 if (item.name().find(".justify") != std::string::npos) {
47 return FbTk::ThemeManager::instance().loadItem(item, "toolbar.label", "Toolbar.Label"); 46 return FbTk::ThemeManager::instance().loadItem(item,
47 "toolbar.justify",
48 "Toolbar.Justify");
49 }
50
48 return false; 51 return false;
49} 52}