diff options
author | markt <markt> | 2007-07-07 23:11:04 (GMT) |
---|---|---|
committer | markt <markt> | 2007-07-07 23:11:04 (GMT) |
commit | 135019abf97c7adb236c061d46e3906e51c8a145 (patch) | |
tree | 2e675ac4d9dfda48301e0b2a40b057448174692e /src/Workspace.cc | |
parent | b735d405f58ac226e025d6ef4dbd91a0129bb12e (diff) | |
download | fluxbox_pavel-135019abf97c7adb236c061d46e3906e51c8a145.zip fluxbox_pavel-135019abf97c7adb236c061d46e3906e51c8a145.tar.bz2 |
fixes for --program-prefix and --program-suffix, plus fixed overwriting init file on reconfigure
Diffstat (limited to 'src/Workspace.cc')
-rw-r--r-- | src/Workspace.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Workspace.cc b/src/Workspace.cc index 35fcf54..2f575af 100644 --- a/src/Workspace.cc +++ b/src/Workspace.cc | |||
@@ -371,6 +371,8 @@ void Workspace::update(FbTk::Subject *subj) { | |||
371 | 371 | ||
372 | void Workspace::setName(const string &name) { | 372 | void Workspace::setName(const string &name) { |
373 | if (!name.empty() && name != "") { | 373 | if (!name.empty() && name != "") { |
374 | if (name == m_name) | ||
375 | return; | ||
374 | m_name = name; | 376 | m_name = name; |
375 | } else { //if name == 0 then set default name from nls | 377 | } else { //if name == 0 then set default name from nls |
376 | _FB_USES_NLS; | 378 | _FB_USES_NLS; |