aboutsummaryrefslogtreecommitdiff
path: root/src/WorkspaceNameTheme.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/WorkspaceNameTheme.hh')
-rw-r--r--src/WorkspaceNameTheme.hh13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/WorkspaceNameTheme.hh b/src/WorkspaceNameTheme.hh
index a29dd51..ee4f12d 100644
--- a/src/WorkspaceNameTheme.hh
+++ b/src/WorkspaceNameTheme.hh
@@ -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: WorkspaceNameTheme.hh,v 1.1 2003/08/29 00:51:55 fluxgen Exp $ 23// $Id: WorkspaceNameTheme.hh,v 1.2 2004/04/26 15:04:37 rathnor Exp $
24 24
25#ifndef WORKSPACENAMETHEME_HH 25#ifndef WORKSPACENAMETHEME_HH
26#define WORKSPACENAMETHEME_HH 26#define WORKSPACENAMETHEME_HH
@@ -40,14 +40,9 @@ public:
40 "toolbar.label.textColor", 40 "toolbar.label.textColor",
41 "Toolbar.Label.TextColor"); 41 "Toolbar.Label.TextColor");
42 } else if (item.name() == "toolbar.workspace") { 42 } else if (item.name() == "toolbar.workspace") {
43 43 return FbTk::ThemeManager::instance().loadItem(item,
44 // special case for textures since they're using .load() 44 "toolbar.label",
45 FbTk::ThemeItem<FbTk::Texture> tmp_item(*this, 45 "Toolbar.Label");
46 "toolbar.label", "Toolbar.Label");
47 tmp_item.load();
48 // copy texture
49 *textureTheme() = *tmp_item;
50 return true;
51 } 46 }
52 47
53 return ToolTheme::fallback(item); 48 return ToolTheme::fallback(item);