aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrathnor <rathnor>2004-08-28 19:03:09 (GMT)
committerrathnor <rathnor>2004-08-28 19:03:09 (GMT)
commit8a59b9b4541490badaf3e1a0503b4ca5f0105c8f (patch)
treeaa352791e820a1f96ef2c95b936533951e60784f
parentc4c67dafeb9165f394c1bae25604f97921a8ae7a (diff)
downloadfluxbox_paul-8a59b9b4541490badaf3e1a0503b4ca5f0105c8f.zip
fluxbox_paul-8a59b9b4541490badaf3e1a0503b4ca5f0105c8f.tar.bz2
couple of menu render fixes
-rw-r--r--ChangeLog3
-rw-r--r--src/FbTk/Menu.cc4
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 36432d5..c9c402a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,9 @@
1(Format: Year/Month/Day) 1(Format: Year/Month/Day)
2Changes for 0.9.10: 2Changes for 0.9.10:
3*04/08/28: 3*04/08/28:
4 * Some more menu rendering fixes (Simon)
5 Thanks Florian Pigorsch for nice bug reports + debugging
6 FbTk/Menu.cc
4 * Fix some blank fonts problem for i18n (I think) (Simon) 7 * Fix some blank fonts problem for i18n (I think) (Simon)
5 FbTk/Font.cc FbTk/XmbFontImp.cc 8 FbTk/Font.cc FbTk/XmbFontImp.cc
6 * Fix menu render bug with previously highlighted items (Simon) 9 * Fix menu render bug with previously highlighted items (Simon)
diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc
index 95fa9ad..18c3b75 100644
--- a/src/FbTk/Menu.cc
+++ b/src/FbTk/Menu.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Menu.cc,v 1.73 2004/08/28 14:25:52 rathnor Exp $ 25// $Id: Menu.cc,v 1.74 2004/08/28 19:03:09 rathnor Exp $
26 26
27//use GNU extensions 27//use GNU extensions
28#ifndef _GNU_SOURCE 28#ifndef _GNU_SOURCE
@@ -177,6 +177,7 @@ Menu::Menu(MenuTheme &tm, ImageControl &imgctrl):
177 177
178 menu.title.raise(); 178 menu.title.raise();
179 179
180 reconfigure();
180} 181}
181 182
182Menu::~Menu() { 183Menu::~Menu() {
@@ -389,6 +390,7 @@ void Menu::enterParent() {
389 if (submenu) 390 if (submenu)
390 submenu->internal_hide(); 391 submenu->internal_hide();
391 392
393 m_active_index = -1;
392 drawItem(which_press, 394 drawItem(which_press,
393 true, // clear 395 true, // clear
394 true); // transp 396 true); // transp