diff options
author | Ricky Kresslein <rk@lakoliu.com> | 2022-09-24 00:34:54 +0200 |
---|---|---|
committer | Ricky Kresslein <rk@lakoliu.com> | 2022-09-24 00:34:54 +0200 |
commit | 87c05770789958e6786e6490eb1fa25cd116b361 (patch) | |
tree | 959c6344c99a0f85657759fd21618dff2e9673a1 /src/gtk | |
parent | 54e7ba5b16045d4e653f392d38f045a4f7183732 (diff) | |
download | Furtherance-87c05770789958e6786e6490eb1fa25cd116b361.tar.zst |
Ability to change database location - #29
Diffstat (limited to 'src/gtk')
-rwxr-xr-x | src/gtk/preferences_window.ui | 21 | ||||
-rwxr-xr-x | src/gtk/window.ui | 8 |
2 files changed, 25 insertions, 4 deletions
diff --git a/src/gtk/preferences_window.ui b/src/gtk/preferences_window.ui index e6fd65b..168d614 100755 --- a/src/gtk/preferences_window.ui +++ b/src/gtk/preferences_window.ui @@ -206,6 +206,27 @@ </child> </object> </child> + <child> + <object class="AdwPreferencesGroup" id="database_group"> + <property name="title" translatable="yes">Database</property> + <property name="visible">True</property> + <child> + <object class="AdwActionRow" id="database_loc_row"> + <property name="title" translatable="yes">Database location</property> + <property name="subtitle" translatable="no">/location/</property> + <child> + <object class="GtkButton" id="database_browse_btn"> + <property name="valign">center</property> + <property name="label" translatable="yes">Browse</property> + <style> + <class name="flat"/> + </style> + </object> + </child> + </object> + </child> + </object> + </child> </object> </child> </template> diff --git a/src/gtk/window.ui b/src/gtk/window.ui index f11d3ef..b268ff7 100755 --- a/src/gtk/window.ui +++ b/src/gtk/window.ui @@ -93,10 +93,6 @@ <attribute name="label" translatable="yes">_Generate Report</attribute> <attribute name="action">app.report</attribute> </item> - <item> - <attribute name="label" translatable="yes">_Delete history</attribute> - <attribute name="action">app.delete-history</attribute> - </item> </section> <section> <item> @@ -111,6 +107,10 @@ <attribute name="label" translatable="yes">Import</attribute> <attribute name="action">app.import-database</attribute> </item> + <item> + <attribute name="label" translatable="yes">_Delete history</attribute> + <attribute name="action">app.delete-history</attribute> + </item> </section> <section> <item> |