~ubuntu-branches/ubuntu/natty/nux/natty

« back to all changes in this revision

Viewing changes to Nux/MenuPage.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2011-04-11 12:41:58 UTC
  • mfrom: (1.1.17 upstream)
  • Revision ID: james.westby@ubuntu.com-20110411124158-l0vapjbllx27pm8r
Tags: 0.9.42-0ubuntu1
* New upstream release.
  - compiz crashed with SIGSEGV in nux::XInputWindow::NativeHandleList()
    (LP: #753110)
  - compiz crashed with SIGSEGV in nux::WindowCompositor::ProcessEvent()
    (LP: #753005)
  - compiz crashed with SIGSEGV in nux::WindowCompositor::RenderTopViews()
    (LP: #754461)
* Breaks on current unity:
  - debian/control: update breaks statement
  - debian/rules: bump the shlib

Show diffs side-by-side

added added

removed removed

Lines of Context:
752
752
  {
753
753
    m_MenuSeparatorVector.clear();
754
754
    m_MenuItemVector.clear();
 
755
    m_numItem = 0;
755
756
    vlayout->Clear();
756
757
    ComputeChildLayout();
 
758
   
 
759
    //FIXME - Hack to fix a bug with the menu height not being reset after removing items
 
760
    Geometry base = GetGeometry ();
 
761
    base.height = 0;
 
762
    View::SetGeometry (base);
757
763
  }
758
764
 
759
765
  void MenuPage::EmitMouseMove (int x, int y, int dx, int dy, unsigned long button_flags, unsigned long key_flags)