diff options
author | fluxgen <fluxgen> | 2003-08-28 14:19:27 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-08-28 14:19:27 (GMT) |
commit | 86828f7a804e2b93590e2075cf362a428f94e4ca (patch) | |
tree | d52fdb8b3ff2c716a64723e439138c878cf7ec83 | |
parent | 2de46c7adeaf602923e459da51dcfd342e1e15cd (diff) | |
download | fluxbox-86828f7a804e2b93590e2075cf362a428f94e4ca.zip fluxbox-86828f7a804e2b93590e2075cf362a428f94e4ca.tar.bz2 |
setDefaultValue for themeitems in constructor
-rw-r--r-- | src/FbTk/Theme.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/FbTk/Theme.hh b/src/FbTk/Theme.hh index ef9a13f..563796d 100644 --- a/src/FbTk/Theme.hh +++ b/src/FbTk/Theme.hh | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: Theme.hh,v 1.7 2003/08/19 21:25:26 fluxgen Exp $ | 22 | // $Id: Theme.hh,v 1.8 2003/08/28 14:19:27 fluxgen Exp $ |
23 | 23 | ||
24 | /** | 24 | /** |
25 | @file holds ThemeItem<T>, Theme and ThemeManager which is the base for any theme | 25 | @file holds ThemeItem<T>, Theme and ThemeManager which is the base for any theme |
@@ -151,6 +151,7 @@ ThemeItem<T>::ThemeItem(FbTk::Theme &tm, | |||
151 | ThemeItem_base(name, altname), | 151 | ThemeItem_base(name, altname), |
152 | m_tm(tm) { | 152 | m_tm(tm) { |
153 | tm.add(*this); | 153 | tm.add(*this); |
154 | setDefaultValue(); | ||
154 | } | 155 | } |
155 | 156 | ||
156 | template <typename T> | 157 | template <typename T> |