Skip to content

Commit

Permalink
Don't pre-emp dbus asking for permission
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit committed Jun 14, 2024
1 parent 2bc81d0 commit 95f66a7
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/Widgets/LocaleSetting.vala
Original file line number Diff line number Diff line change
Expand Up @@ -201,13 +201,7 @@ namespace SwitchboardPlugLocale.Widgets {
restart_infobar.revealed = true;
});

set_system_button.clicked.connect (() => {
if (!Utils.allowed_permission ()) {
return;
}

on_applied_to_system ();
});
set_system_button.clicked.connect (on_applied_to_system);

installer.check_missing_finished.connect (on_check_missing_finished);
}
Expand Down

0 comments on commit 95f66a7

Please sign in to comment.