Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessibility #193

Merged
merged 4 commits into from
Apr 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions data/resources/ui/pages/applications.ui
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
</property>
<child type="bottom">
<object class="GtkBox">
<property name="orientation">vertical</property>
<child>
<property name="orientation">vertical</property>
<child>
<object class="GtkRevealer" id="search_revealer">
<property name="transition_type">slide-up</property>
<child>
Expand All @@ -45,7 +45,11 @@
<property name="tightening-threshold">300</property>
<property name="maximum-size">400</property>
<child>
<object class="GtkSearchEntry" id="search_entry"/>
<object class="GtkSearchEntry" id="search_entry">
<accessibility>
<property name="label">Search applications</property>
</accessibility>
</object>
</child>
</object>
</child>
Expand All @@ -61,6 +65,9 @@
<child>
<object class="GtkToggleButton" id="search_button">
<property name="icon-name">search-symbolic</property>
<accessibility>
<property name="label">Toggle search field</property>
</accessibility>
<style>
<class name="circular"/>
</style>
Expand All @@ -75,6 +82,9 @@
<object class="GtkButton" id="information_button">
<property name="icon-name">info-symbolic</property>
<property name="sensitive">false</property>
<accessibility>
<property name="label">Display application information</property>
</accessibility>
<style>
<class name="circular"/>
</style>
Expand Down
6 changes: 6 additions & 0 deletions data/resources/ui/pages/cpu.ui
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
<property name="title" translatable="yes">Show Usages of Logical CPUs</property>
<child type="suffix">
<object class="GtkSwitch" id="logical_switch">
<accessibility>
<property name="label">Logical CPU switch</property>
</accessibility>
<property name="valign">3</property>
<property name="sensitive">false</property>
</object>
Expand Down Expand Up @@ -62,6 +65,9 @@
</child>
<child>
<object class="GtkFlowBox" id="thread_box">
<accessibility>
<property name="label">CPU usage by logical processors</property>
</accessibility>
<property name="row_spacing">6</property>
<property name="column_spacing">6</property>
<property name="homogeneous">true</property>
Expand Down
16 changes: 13 additions & 3 deletions data/resources/ui/pages/processes.ui
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
</property>
<child type="bottom">
<object class="GtkBox">
<property name="orientation">vertical</property>
<child>
<property name="orientation">vertical</property>
<child>
<object class="GtkRevealer" id="search_revealer">
<property name="transition_type">slide-up</property>
<child>
Expand All @@ -45,7 +45,11 @@
<property name="tightening-threshold">300</property>
<property name="maximum-size">400</property>
<child>
<object class="GtkSearchEntry" id="search_entry"/>
<object class="GtkSearchEntry" id="search_entry">
<accessibility>
<property name="label">Search processes</property>
</accessibility>
</object>
</child>
</object>
</child>
Expand All @@ -61,6 +65,9 @@
<child>
<object class="GtkToggleButton" id="search_button">
<property name="icon-name">search-symbolic</property>
<accessibility>
<property name="label">Toggle search field</property>
</accessibility>
<style>
<class name="circular"/>
</style>
Expand All @@ -75,6 +82,9 @@
<object class="GtkButton" id="information_button">
<property name="icon-name">info-symbolic</property>
<property name="sensitive">false</property>
<accessibility>
<property name="label">Show process information</property>
</accessibility>
<style>
<class name="circular"/>
</style>
Expand Down
4 changes: 4 additions & 0 deletions data/resources/ui/window.ui
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<template class="MainWindow" parent="AdwApplicationWindow">
<property name="width-request">360</property>
<property name="height-request">240</property>
<property name="title">Resources</property>
<child>
<object class="AdwBreakpoint">
<condition>max-width: 780sp</condition>
Expand All @@ -41,6 +42,9 @@
<object class="GtkMenuButton">
<property name="menu-model">primary_menu</property>
<property name="icon-name">open-menu-symbolic</property>
<accessibility>
<property name="label">Open menu</property>
</accessibility>
</object>
</child>
</object>
Expand Down