Skip to content

Commit

Permalink
Fix disabled add device button on startpage
Browse files Browse the repository at this point in the history
We accidentally used an action which no longer exists; fix this to use
the correct app action.  This reenables the button properly.
  • Loading branch information
swsnr committed Jan 9, 2025
1 parent 914f785 commit 974c6e2
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/ui/turnon-application-window.blp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ template $TurnOnApplicationWindow: Adw.ApplicationWindow {

Gtk.Button {
label: C_("application-window.status-page.button.label", "Add new device");
action-name: "win.add-device";
action-name: "app.add-device";

styles [
"pill",
Expand Down
2 changes: 1 addition & 1 deletion resources/ui/turnon-application-window.ui
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ corresponding .blp file and regenerate this file with blueprint-compiler.
<child>
<object class="GtkButton">
<property name="label" translatable="yes" context="application-window.status-page.button.label">Add new device</property>
<property name="action-name">win.add-device</property>
<property name="action-name">app.add-device</property>
<style>
<class name="pill"/>
<class name="suggested-action"/>
Expand Down
Binary file modified screenshots/social-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/start-page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 974c6e2

Please sign in to comment.