mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
popupMenu: Remove our custom allocation code
With support for column-based layout gone, simply use a box layout and allow items to use their own layouts without any "framework". https://bugzilla.gnome.org/show_bug.cgi?id=705845
This commit is contained in:
parent
73e1f238cf
commit
51485396c7
8 changed files with 46 additions and 169 deletions
4
HACKING
4
HACKING
|
|
@ -138,8 +138,8 @@ GObjects, although this feature isn't used very often in the Shell itself.
|
|||
|
||||
_init: function(icon, label) {
|
||||
this.parent({ reactive: false });
|
||||
this.addActor(icon);
|
||||
this.addActor(label);
|
||||
this.actor.add_child(icon);
|
||||
this.actor.add_child(label);
|
||||
},
|
||||
|
||||
open: function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue