diff options
Diffstat (limited to 'src/RootTheme.cc')
-rw-r--r-- | src/RootTheme.cc | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/RootTheme.cc b/src/RootTheme.cc index b174d25..f3695dd 100644 --- a/src/RootTheme.cc +++ b/src/RootTheme.cc | |||
@@ -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: RootTheme.cc,v 1.3 2003/08/16 10:01:57 fluxgen Exp $ | 22 | // $Id: RootTheme.cc,v 1.4 2003/08/25 16:02:24 fluxgen Exp $ |
23 | 23 | ||
24 | #include "RootTheme.hh" | 24 | #include "RootTheme.hh" |
25 | 25 | ||
@@ -29,13 +29,10 @@ | |||
29 | RootTheme::RootTheme(int screen_num, std::string &screen_root_command): | 29 | RootTheme::RootTheme(int screen_num, std::string &screen_root_command): |
30 | FbTk::Theme(screen_num), | 30 | FbTk::Theme(screen_num), |
31 | m_root_command(*this, "rootCommand", "RootCommand"), | 31 | m_root_command(*this, "rootCommand", "RootCommand"), |
32 | m_border_width(*this, "borderWidth", "BorderWidth"), | ||
33 | m_bevel_width(*this, "bevelWidth", "BevelWidth"), | 32 | m_bevel_width(*this, "bevelWidth", "BevelWidth"), |
34 | m_handle_width(*this, "handleWidth", "HandleWidth"), | 33 | m_handle_width(*this, "handleWidth", "HandleWidth"), |
35 | m_border_color(*this, "borderColor", "BorderColor"), | ||
36 | m_screen_root_command(screen_root_command) { | 34 | m_screen_root_command(screen_root_command) { |
37 | 35 | ||
38 | *m_border_width = 0; | ||
39 | *m_bevel_width = 0; | 36 | *m_bevel_width = 0; |
40 | *m_handle_width = 0; | 37 | *m_handle_width = 0; |
41 | 38 | ||
@@ -55,10 +52,6 @@ RootTheme::~RootTheme() { | |||
55 | } | 52 | } |
56 | 53 | ||
57 | void RootTheme::reconfigTheme() { | 54 | void RootTheme::reconfigTheme() { |
58 | // clamp values to "normal" size | ||
59 | if (*m_border_width > 20) | ||
60 | *m_border_width = 20; | ||
61 | |||
62 | if (*m_bevel_width > 20) | 55 | if (*m_bevel_width > 20) |
63 | *m_bevel_width = 20; | 56 | *m_bevel_width = 20; |
64 | 57 | ||