~ubuntu-branches/ubuntu/precise/nux/precise

« back to all changes in this revision

Viewing changes to Nux/PopUpWindow.cpp

  • Committer: Package Import Robot
  • Author(s): Didier Roche, Aurélien Gâteau
  • Date: 2012-01-13 09:04:48 UTC
  • mfrom: (1.1.34)
  • Revision ID: package-import@ubuntu.com-20120113090448-gtw9g6kfo1sui1f1
Tags: 2.0.0-0ubuntu1
[ Aurélien Gâteau ]
* New upstream release:
  - compiz crashed with SIGSEGV in nux::ROProperty<std::string>::operator
    std::string() (LP: #881106)
  - compiz crashed with SIGSEGV in
    nux::WindowCompositor::FindKeyFocusAreaFrom() (LP: #860852)
  - compiz crashed with SIGSEGV in nux::Area::FindKeyFocusArea()
    (LP: #848952)
  - compiz crashed with SIGILL in typeinfo for std::ostream() (LP: #849881)
  - compiz crashed with SIGSEGV in nux::WindowThread::IsInsideLayoutCycle()
    (LP: #864686)
  - Select quicklist items with just one right click (LP: #688830)
  - OnMouseDoubleClick in InputArea isn't working (LP: #708020)
  - Menubar - horizontal scroll over a menu opens it (LP: #775872)
  - Clicking on a dash category header should not give it keyboard focus
    (LP: #905921)
  - Horizontal scroll on maximize/restore window control restores window.
    (LP: #809717)
  - Horizontally scrolling while highlighting an item in the dash or on an
    indicator will open the item. (LP: #837004)
  - compiz crashed with SIGSEGV in free() (LP: #864446)
  - Mouse wheel doesn't works if the mouse pointer is inside dash scrollbar.
    (LP: #888819)
* debian/rules, debian/control:
  - add nuxabiversion capability as upstream is breaking a lot the ABI
    wasn't bumping the soname. Create a virtual package similar to what
    we already do in compiz to ensure we dep on the right version.
    Remove the makeshlibs override then as not needed anymore.
  - bump to nux 2.0 with new libnux-2.0-0, libnux-2.0-common, libnux-2.0-dev
    packages. Make the necessary changes in .install files as well
  - don't ship anymore the -doc package.
* debian/nux-tools.install:
  - move the apport file there instead of the -common package to enable
    co-instability

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
  PopUpWindow::PopUpWindow()
31
31
  {
32
32
 
33
 
    EnableTitleBar (false);
34
 
    ShowWindow (false);
35
 
    SetTopBorder (0);
36
 
    SetBorder (0);
37
 
    SetWindowSizeMatchLayout (true);
38
 
    SetMinimumSize (20, 20);
 
33
    EnableTitleBar(false);
 
34
    ShowWindow(false);
 
35
    SetTopBorder(0);
 
36
    SetBorder(0);
 
37
    SetWindowSizeMatchLayout(true);
 
38
    SetMinimumSize(20, 20);
39
39
  }
40
40
 
41
41
 
46
46
 
47
47
  void PopUpWindow::Show()
48
48
  {
49
 
    //m_Window.ComputeChildLayout();
50
 
    ShowWindow (true);
 
49
    //m_Window.ComputeContentSize();
 
50
    ShowWindow(true);
51
51
  }
52
52
 
53
53
  void PopUpWindow::Hide()
54
54
  {
55
 
    ShowWindow (false);
 
55
    ShowWindow(false);
56
56
  }
57
57
 
58
58
}