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