fallback to clock rather than workspace name for buttons (since its

consistent with old and new themes)
This commit is contained in:
rathnor 2004-08-27 14:36:12 +00:00
parent f2599d87f6
commit d54bf608fc

View file

@ -19,7 +19,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// $Id: ToolFactory.cc,v 1.6 2004/08/27 14:14:42 rathnor Exp $ // $Id: ToolFactory.cc,v 1.7 2004/08/27 14:36:12 rathnor Exp $
#include "ToolFactory.hh" #include "ToolFactory.hh"
@ -76,7 +76,7 @@ private:
ToolFactory::ToolFactory(BScreen &screen):m_screen(screen), ToolFactory::ToolFactory(BScreen &screen):m_screen(screen),
m_clock_theme(screen.screenNumber(), "toolbar.clock", "Toolbar.Clock"), m_clock_theme(screen.screenNumber(), "toolbar.clock", "Toolbar.Clock"),
m_button_theme(new ButtonTheme(screen.screenNumber(), "toolbar.button", "Toolbar.Button", m_button_theme(new ButtonTheme(screen.screenNumber(), "toolbar.button", "Toolbar.Button",
"toolbar.workspace", "Toolbar.Workspace")), "toolbar.clock", "Toolbar.Clock")),
m_workspace_theme(new WorkspaceNameTheme(screen.screenNumber(), "toolbar.workspace", "Toolbar.Workspace")), m_workspace_theme(new WorkspaceNameTheme(screen.screenNumber(), "toolbar.workspace", "Toolbar.Workspace")),
m_iconbar_theme(screen.screenNumber(), "toolbar.iconbar", "Toolbar.Iconbar") { m_iconbar_theme(screen.screenNumber(), "toolbar.iconbar", "Toolbar.Iconbar") {