aboutsummaryrefslogtreecommitdiff
path: root/src/ToolTheme.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2004-08-25 17:16:40 (GMT)
committerrathnor <rathnor>2004-08-25 17:16:40 (GMT)
commit5337fc6640efbe911682568b6281850fd322e4bb (patch)
treeb2a722b45550cee7dc612b113ddebd9395841ab7 /src/ToolTheme.cc
parentf32969d4e5a18bddd426b481824eb50902cba5de (diff)
downloadfluxbox_pavel-5337fc6640efbe911682568b6281850fd322e4bb.zip
fluxbox_pavel-5337fc6640efbe911682568b6281850fd322e4bb.tar.bz2
fix up theming of the toolbar
Diffstat (limited to 'src/ToolTheme.cc')
-rw-r--r--src/ToolTheme.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/ToolTheme.cc b/src/ToolTheme.cc
index fdcb592..cdd4bf7 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.6 2004/05/24 15:30:52 rathnor Exp $ 23// $Id: ToolTheme.cc,v 1.7 2004/08/25 17:16:40 rathnor Exp $
24 24
25#include "ToolTheme.hh" 25#include "ToolTheme.hh"
26 26
@@ -43,6 +43,13 @@ void ToolTheme::reconfigTheme() {
43} 43}
44 44
45bool ToolTheme::fallback(FbTk::ThemeItem_base &item) { 45bool ToolTheme::fallback(FbTk::ThemeItem_base &item) {
46 /* Don't fallback these for theme backwards compatibility
47 if (item.name().find(".borderWidth") != std::string::npos) {
48 return FbTk::ThemeManager::instance().loadItem(item, "borderWidth", "BorderWidth");
49 } else if (item.name().find(".borderColor") != std::string::npos) {
50 return FbTk::ThemeManager::instance().loadItem(item, "borderColor", "BorderColor");
51 } else
52 */
46 if (item.name().find(".justify") != std::string::npos) { 53 if (item.name().find(".justify") != std::string::npos) {
47 return FbTk::ThemeManager::instance().loadItem(item, 54 return FbTk::ThemeManager::instance().loadItem(item,
48 "toolbar.justify", 55 "toolbar.justify",