fix bug with >1 column menus
rathnor rathnor
2 files changed,
4 insertions(+),
2 deletions(-)
M
ChangeLog
→
ChangeLog
@@ -1,6 +1,8 @@
(Format: Year/Month/Day) Changes for 0.9.10: *04/08/29: + * Fix rendering bug when revisiting >1 column menus (Simon) + FbTk/Menu.cc * Fix crash when extramenus not attached to windowmenu (Simon) - and add checking that windowmenu file exists and sorta parses Window.cc FbTk/Menu.hh MenuCreator.hh/cc
M
src/FbTk/Menu.cc
→
src/FbTk/Menu.cc
@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Menu.cc,v 1.75 2004/08/29 08:33:13 rathnor Exp $ +// $Id: Menu.cc,v 1.76 2004/08/29 14:37:52 rathnor Exp $ //use GNU extensions #ifndef _GNU_SOURCE@@ -947,7 +947,7 @@
if (render_trans) { renderTransp(item_x, item_y, - width(), theme().itemHeight()); + menu.item_w, theme().itemHeight()); } //!! //!! TODO: Move this out to MenuItem