diff options
Diffstat (limited to 'src/IconbarTool.cc')
-rw-r--r-- | src/IconbarTool.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/IconbarTool.cc b/src/IconbarTool.cc index c9de74c..6aab114 100644 --- a/src/IconbarTool.cc +++ b/src/IconbarTool.cc | |||
@@ -87,7 +87,7 @@ void FbTk::Resource<IconbarTool::DeiconifyMode>::setFromString(const char* strva | |||
87 | } | 87 | } |
88 | 88 | ||
89 | template<> | 89 | template<> |
90 | std::string FbTk::Resource<IconbarTool::DeiconifyMode>::getString() { | 90 | std::string FbTk::Resource<IconbarTool::DeiconifyMode>::getString() const { |
91 | switch (m_value) { | 91 | switch (m_value) { |
92 | case IconbarTool::SEMIFOLLOW: | 92 | case IconbarTool::SEMIFOLLOW: |
93 | return std::string("SemiFollow"); | 93 | return std::string("SemiFollow"); |
@@ -119,7 +119,7 @@ void FbTk::Resource<IconbarTool::WheelMode>::setFromString(const char* strval) { | |||
119 | 119 | ||
120 | 120 | ||
121 | template<> | 121 | template<> |
122 | std::string FbTk::Resource<IconbarTool::WheelMode>::getString() { | 122 | std::string FbTk::Resource<IconbarTool::WheelMode>::getString() const { |
123 | switch(m_value) { | 123 | switch(m_value) { |
124 | case IconbarTool::ON: | 124 | case IconbarTool::ON: |
125 | return std::string("On"); | 125 | return std::string("On"); |
@@ -137,7 +137,7 @@ void FbTk::Resource<Container::Alignment>::setDefaultValue() { | |||
137 | } | 137 | } |
138 | 138 | ||
139 | template<> | 139 | template<> |
140 | string FbTk::Resource<Container::Alignment>::getString() { | 140 | string FbTk::Resource<Container::Alignment>::getString() const { |
141 | switch (m_value) { | 141 | switch (m_value) { |
142 | case Container::LEFT: | 142 | case Container::LEFT: |
143 | return string("Left"); | 143 | return string("Left"); |
@@ -162,7 +162,7 @@ void FbTk::Resource<Container::Alignment>::setFromString(const char *str) { | |||
162 | } | 162 | } |
163 | 163 | ||
164 | template<> | 164 | template<> |
165 | string FbTk::Resource<IconbarTool::Mode>::getString() { | 165 | string FbTk::Resource<IconbarTool::Mode>::getString() const { |
166 | 166 | ||
167 | switch (m_value) { | 167 | switch (m_value) { |
168 | case IconbarTool::NONE: | 168 | case IconbarTool::NONE: |
@@ -721,8 +721,8 @@ void IconbarTool::renderTheme() { | |||
721 | m_icon_container.height(), | 721 | m_icon_container.height(), |
722 | m_theme.unfocusedTexture()); | 722 | m_theme.unfocusedTexture()); |
723 | m_unfocused_err_pm = m_screen.imageControl().renderImage(icon_width+1, | 723 | m_unfocused_err_pm = m_screen.imageControl().renderImage(icon_width+1, |
724 | m_icon_container.height(), | 724 | m_icon_container.height(), |
725 | m_theme.unfocusedTexture()); | 725 | m_theme.unfocusedTexture()); |
726 | } | 726 | } |
727 | if (tmp) | 727 | if (tmp) |
728 | m_screen.imageControl().removeImage(tmp); | 728 | m_screen.imageControl().removeImage(tmp); |