Skip to content

Commit

Permalink
Fix error on actor (#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphaelRochet committed Mar 8, 2024
1 parent 967add5 commit 3232735
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 @@ -128,13 +128,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 3232735

Please sign in to comment.