Skip to content

Commit 77a0412

Browse files
committed
ui: Remove unused shortcuts and menu
1 parent d864bd9 commit 77a0412

4 files changed

Lines changed: 0 additions & 46 deletions

File tree

credentialsd-ui/data/resources/resources.gresource.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<gresources>
33
<gresource prefix="/xyz/iinuwa/credentialsd/CredentialsUi/">
4-
<!-- see https://gtk-rs.org/gtk4-rs/git/docs/gtk4/struct.Application.html#automatic-resources -->
5-
<file compressed="true" preprocess="xml-stripblanks" alias="gtk/help-overlay.ui">ui/shortcuts.ui</file>
64
<file compressed="true" preprocess="xml-stripblanks">ui/window.ui</file>
75
<file compressed="true">style.css</file>
86
</gresource>

credentialsd-ui/data/resources/ui/shortcuts.ui

Lines changed: 0 additions & 29 deletions
This file was deleted.

credentialsd-ui/data/resources/ui/window.blp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,5 @@
11
using Gtk 4.0;
22

3-
menu primary_menu {
4-
section {
5-
item {
6-
label: _("_Preferences");
7-
action: "app.preferences";
8-
}
9-
10-
item {
11-
label: _("_Keyboard Shortcuts");
12-
action: "win.show-help-overlay";
13-
}
14-
}
15-
}
16-
173
template $CredentialsUiWindow: ApplicationWindow {
184
[titlebar]
195
HeaderBar headerbar {}

credentialsd-ui/po/POTFILES.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
data/xyz.iinuwa.credentialsd.CredentialsUi.desktop.in.in
22
data/xyz.iinuwa.credentialsd.CredentialsUi.gschema.xml.in
33
data/xyz.iinuwa.credentialsd.CredentialsUi.metainfo.xml.in.in
4-
data/resources/ui/shortcuts.ui
54
data/resources/ui/window.blp
65
src/gui/view_model/gtk/mod.rs
76
src/gui/view_model/gtk/device.rs

0 commit comments

Comments
 (0)