~ubuntu-branches/ubuntu/wily/unity-2d/wily

« back to all changes in this revision

Viewing changes to libunity-2d-private/src/panelapplet.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2011-08-25 18:16:57 UTC
  • mfrom: (1.1.19 upstream)
  • Revision ID: james.westby@ubuntu.com-20110825181657-opb29rqsxae3i98f
Tags: 4.2.0-0ubuntu1
* New upstream release:
  - [panel] application menus do not appear on first hover after dismissal
    (lp: #825262)
  - [dash] Lens icons badly scaled (lp: #825368)
  - [panel] indicators are shifted offscreen to the right (lp: #827673)
  - [panel] scrubbing from system indicators to menubar should be possible
    (lp: #706903)
  - [launcher] Closed applications don't get their launcher counts cleared
    (lp: #767367)
  - [dash] selected item should not be underlined but use the same 
    treatment as unity (lp: #817456)
  - [dash] categories should be collapsed by default (lp: #827214)
  - [dash] Ratings filter (lp: #831855)
  - [dash] Multirange filter (lp: #831856)
  - [dash] ToggleButton filter (lp: #831857)
  - [dash] Icon size must be bigger to match the mockups (lp: #831858)
  - [dash] "Refine search" right margin should be 15 pixels (lp: #832058)
  - [dash] "Refine search" should be "Filter results" (lp: #832060)
  - [dash] Font sizes should match new design (lp: #832114)
  - [panel] Glitch: application menu appearing when pressing the BFB 
    (lp: #825060)
  - [panel] Glitch: application menus are quickly opened after a drag gesture
    (lp: #825267)
  - [dash] File thumbnails aspect ratio is not respected (lp: #832204)
* debian/control: require current the current versions of nux and unity

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include "panelapplet.h"
 
2
 
 
3
namespace Unity2d
 
4
{
 
5
 
 
6
class PanelAppletPrivate
 
7
{
 
8
    Unity2dPanel* m_panel;
 
9
 
 
10
    PanelApplet* q_ptr;
 
11
    Q_DECLARE_PUBLIC(PanelApplet)
 
12
};
 
13
 
 
14
PanelApplet::PanelApplet(Unity2dPanel* panel) :
 
15
    QWidget(),
 
16
    d_ptr(new PanelAppletPrivate)
 
17
{
 
18
    Q_D(PanelApplet);
 
19
 
 
20
    d->m_panel = panel;
 
21
    setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Minimum);
 
22
}
 
23
 
 
24
Unity2dPanel* PanelApplet::panel() const
 
25
{
 
26
    Q_D(const PanelApplet);
 
27
    return d->m_panel;
 
28
}
 
29
 
 
30
} // namespace Unity2d
 
31
 
 
32
#include "panelapplet.moc"