[gnome-control-center] cc-multitasking-panel: Remove `can-focus`
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] cc-multitasking-panel: Remove `can-focus`
- Date: Fri, 7 Jan 2022 13:55:10 +0000 (UTC)
commit 257557d6608972682f2299414e485e4698978228
Author: Christopher Davis <christopherdavis gnome org>
Date: Thu Jan 6 18:16:12 2022 -0800
cc-multitasking-panel: Remove `can-focus`
The default should be used, and the way we were
using it was redundant.
panels/multitasking/cc-multitasking-panel.ui | 18 ------------------
1 file changed, 18 deletions(-)
---
diff --git a/panels/multitasking/cc-multitasking-panel.ui b/panels/multitasking/cc-multitasking-panel.ui
index a33a50162..38f3c1618 100644
--- a/panels/multitasking/cc-multitasking-panel.ui
+++ b/panels/multitasking/cc-multitasking-panel.ui
@@ -11,14 +11,12 @@
<!-- Hot Corner -->
<child>
<object class="CcMultitaskingRow">
- <property name="can_focus">True</property>
<property name="activatable-widget">hot_corner_switch</property>
<property name="title" translatable="yes">_Hot Corner</property>
<property name="subtitle" translatable="yes">Touch the top-left corner to open the
Activities Overview.</property>
<property name="use_underline">True</property>
<child>
<object class="GtkSwitch" id="hot_corner_switch">
- <property name="can_focus">True</property>
<property name="valign">center</property>
</object>
</child>
@@ -40,14 +38,12 @@
<!-- Active Screen Edges -->
<child>
<object class="CcMultitaskingRow">
- <property name="can_focus">True</property>
<property name="activatable-widget">active_screen_edges_switch</property>
<property name="title" translatable="yes">_Active Screen Edges</property>
<property name="subtitle" translatable="yes">Drag windows against the top, left, and right
screen edges to resize them.</property>
<property name="use_underline">True</property>
<child>
<object class="GtkSwitch" id="active_screen_edges_switch">
- <property name="can_focus">True</property>
<property name="valign">center</property>
</object>
</child>
@@ -76,14 +72,12 @@
<!-- Dynamic Workspaces -->
<child>
<object class="CcMultitaskingRow">
- <property name="can_focus">True</property>
<property name="activatable-widget">dynamic_workspaces_radio</property>
<property name="title" translatable="yes">_Dynamic workspaces</property>
<property name="subtitle" translatable="yes">Automatically removes empty
workspaces.</property>
<property name="use_underline">True</property>
<child type="prefix">
<object class="GtkCheckButton" id="dynamic_workspaces_radio">
- <property name="can_focus">True</property>
<property name="valign">center</property>
</object>
</child>
@@ -93,14 +87,12 @@
<!-- Fixed Number of Workspaces -->
<child>
<object class="CcMultitaskingRow">
- <property name="can_focus">True</property>
<property name="activatable-widget">fixed_workspaces_radio</property>
<property name="title" translatable="yes">_Fixed number of workspaces</property>
<property name="subtitle" translatable="yes">Specify a number of permanent
workspaces.</property>
<property name="use_underline">True</property>
<child type="prefix">
<object class="GtkCheckButton" id="fixed_workspaces_radio">
- <property name="can_focus">True</property>
<property name="valign">center</property>
<property name="group">dynamic_workspaces_radio</property>
</object>
@@ -111,14 +103,12 @@
<!-- Number of Workspaces -->
<child>
<object class="CcMultitaskingRow">
- <property name="can_focus">True</property>
<property name="sensitive" bind-source="fixed_workspaces_radio" bind-property="active"
bind-flags="default|sync-create" />
<property name="activatable-widget">number_of_workspaces_spin</property>
<property name="title" translatable="yes">_Number of Workspaces</property>
<property name="use_underline">True</property>
<child>
<object class="GtkSpinButton" id="number_of_workspaces_spin">
- <property name="can_focus">True</property>
<property name="valign">center</property>
<property name="adjustment">workspaces_adjustment</property>
</object>
@@ -136,13 +126,11 @@
<!-- Primary Display -->
<child>
<object class="CcMultitaskingRow">
- <property name="can_focus">True</property>
<property name="activatable-widget">workspaces_primary_display_radio</property>
<property name="title" translatable="yes">Workspaces on _primary display only</property>
<property name="use_underline">True</property>
<child type="prefix">
<object class="GtkCheckButton" id="workspaces_primary_display_radio">
- <property name="can_focus">True</property>
<property name="valign">center</property>
</object>
</child>
@@ -164,13 +152,11 @@
<!-- Span Displays -->
<child>
<object class="CcMultitaskingRow">
- <property name="can_focus">True</property>
<property name="activatable-widget">workspaces_span_displays_radio</property>
<property name="title" translatable="yes">Workspaces on all d_isplays</property>
<property name="use_underline">True</property>
<child type="prefix">
<object class="GtkCheckButton" id="workspaces_span_displays_radio">
- <property name="can_focus">True</property>
<property name="valign">center</property>
<property name="group">workspaces_primary_display_radio</property>
</object>
@@ -200,13 +186,11 @@
<!-- All Workspaces -->
<child>
<object class="CcMultitaskingRow">
- <property name="can_focus">True</property>
<property name="activatable-widget">all_workspaces_radio</property>
<property name="title" translatable="yes">Include applications from all
_workspaces</property>
<property name="use_underline">True</property>
<child type="prefix">
<object class="GtkCheckButton" id="all_workspaces_radio">
- <property name="can_focus">True</property>
<property name="valign">center</property>
</object>
</child>
@@ -216,13 +200,11 @@
<!-- Current Workspace -->
<child>
<object class="CcMultitaskingRow">
- <property name="can_focus">True</property>
<property name="activatable-widget">current_workspace_radio</property>
<property name="title" translatable="yes">Include applications from the _current workspace
only</property>
<property name="use_underline">True</property>
<child type="prefix">
<object class="GtkCheckButton" id="current_workspace_radio">
- <property name="can_focus">True</property>
<property name="valign">center</property>
<property name="group">all_workspaces_radio</property>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]