Skip to content

Commit

Permalink
mainwindow.ui - Fix keyboard movement to the buttons in the headerbar
Browse files Browse the repository at this point in the history
This way, the UI is fully tab-able with the keyboard.
  • Loading branch information
Lains committed Mar 3, 2021
1 parent ce07ffc commit 86e4c6e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ install_data(
)

install_data(
join_paths('icons', '128', meson.project_name() + '.Devel.svg'),
join_paths('icons', '128', meson.project_name() + 'Devel.svg'),
install_dir: join_paths(get_option('datadir'), 'icons', 'hicolor', 'scalable', 'apps')
)

Expand Down
3 changes: 3 additions & 0 deletions data/ui/main_window.ui
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
</child>
<child type="end">
<object class="GtkMenuButton" id="menu_button">
<property name="can-focus">True</property>
<property name="icon-name">open-menu-symbolic</property>
<style>
<class name="image-button"/>
Expand All @@ -45,6 +46,7 @@
</child>
<child type="end">
<object class="GtkMenuButton" id="menu_button2">
<property name="can-focus">True</property>
<property name="icon-name">open-menu-symbolic</property>
<style>
<class name="image-button"/>
Expand All @@ -53,6 +55,7 @@
</child>
<child type="start">
<object class="GtkButton" id="trash_button">
<property name="can-focus">True</property>
<property name="icon-name">user-trash-symbolic</property>
<property name="tooltip-text" translatable="yes">Removes all logs from the list</property>
<style>
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ else
profile = ''
endif

app_id = 'io.github.lainsce.Khronos.@0@'.format(profile)
app_id = 'io.github.lainsce.Khronos@0@'.format(profile)

conf = configuration_data()
conf.set_quoted('APP_ID', app_id)
Expand Down

0 comments on commit 86e4c6e

Please sign in to comment.