Skip to content

Commit

Permalink
Gresource
Browse files Browse the repository at this point in the history
  • Loading branch information
gr211 committed Jun 24, 2020
1 parent 3aa0672 commit b21e4c1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/main_window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,7 @@ impl MainWindow {
.title("Authenticator RS")
.build();

{
let connection = connection.clone();
titlebar.pack_start(&self.build_action_menu(connection));
}
titlebar.pack_start(&self.build_action_menu(connection));

titlebar.pack_end(&self.build_system_menu());
self.window.set_titlebar(Some(&titlebar));
Expand Down Expand Up @@ -239,7 +236,6 @@ impl MainWindow {
}

{
let popover = popover.clone();
let popup = self.popup.clone();
about_button.connect_clicked(move |_| {
popup.set_title("About");
Expand Down

0 comments on commit b21e4c1

Please sign in to comment.