aboutsummaryrefslogtreecommitdiff
path: root/src/ToolTheme.cc
diff options
context:
space:
mode:
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}