Skip to content

Commit

Permalink
Fix error on actor (RaphaelRochet#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphaelRochet authored and slaclau committed Mar 24, 2024
1 parent e3e928c commit 3cf7a27
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,13 +151,13 @@ class ArchUpdateIndicator extends Button {
x_expand: true
});
cancelButton.set_x_align(Clutter.ActorAlign.END);
this.checkingMenuItem.actor.add_actor( checkingLabel );
this.checkingMenuItem.actor.add_actor( cancelButton );
this.checkingMenuItem.add_child( checkingLabel );
this.checkingMenuItem.add_child( cancelButton );

// A little trick on "check now" menuitem to keep menu opened
this.checkNowMenuItem = new PopupMenu.PopupMenuItem( _('Check now') );
this.checkNowMenuContainer = new PopupMenu.PopupMenuSection();
this.checkNowMenuContainer.actor.add_actor(this.checkNowMenuItem.actor);
this.checkNowMenuContainer.box.add_child(this.checkNowMenuItem);

// Assemble all menu items into the popup menu
this.menu.addMenuItem(this.menuExpander);
Expand Down

0 comments on commit 3cf7a27

Please sign in to comment.