summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-01-08 21:37:39 (GMT)
committerfluxgen <fluxgen>2002-01-08 21:37:39 (GMT)
commit522e38bd716a6537d6efe086ecf4ff43d51c0fea (patch)
tree059b6514e5f03620d75f7b99321c8de11061a816
parentcb612c391bf7807f898fa84291827594448f78ab (diff)
downloadfluxbox_lack-522e38bd716a6537d6efe086ecf4ff43d51c0fea.zip
fluxbox_lack-522e38bd716a6537d6efe086ecf4ff43d51c0fea.tar.bz2
Fixed rootcommand
-rw-r--r--src/Theme.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Theme.cc b/src/Theme.cc
index afd6a33..dd6b759 100644
--- a/src/Theme.cc
+++ b/src/Theme.cc
@@ -41,7 +41,7 @@
41// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 41// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
42// DEALINGS IN THE SOFTWARE. 42// DEALINGS IN THE SOFTWARE.
43 43
44// $Id: Theme.cc,v 1.10 2002/01/08 12:13:55 fluxgen Exp $ 44// $Id: Theme.cc,v 1.11 2002/01/08 21:37:39 fluxgen Exp $
45 45
46#ifndef _GNU_SOURCE 46#ifndef _GNU_SOURCE
47#define _GNU_SOURCE 47#define _GNU_SOURCE
@@ -75,9 +75,10 @@ Theme::Theme(Display *display, Window rootwindow, Colormap colormap,
75m_imagecontrol(ic), 75m_imagecontrol(ic),
76m_display(display), 76m_display(display),
77m_colormap(colormap), 77m_colormap(colormap),
78m_screennum(screennum) 78m_screennum(screennum),
79m_rootcommand(rootcommand ? "" : rootcommand) //we dont want to send 0-pointer to std::string
79{ 80{
80 m_rootcommand = (rootcommand == 0 ? "" : rootcommand); 81
81 //default settings 82 //default settings
82 m_menustyle.titlefont.set = m_menustyle.framefont.set = m_toolbarstyle.font.set = 83 m_menustyle.titlefont.set = m_menustyle.framefont.set = m_toolbarstyle.font.set =
83 m_windowstyle.font.set = m_windowstyle.tab.font.set = 0; 84 m_windowstyle.font.set = m_windowstyle.tab.font.set = 0;