[gnome-software: 103/110] Cleanup can-focus property
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 103/110] Cleanup can-focus property
- Date: Tue, 5 Oct 2021 20:32:46 +0000 (UTC)
commit eaba32f934b304b62ded45ac3a6fb2dcf486ebea
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue Sep 28 17:39:18 2021 -0300
Cleanup can-focus property
Its semantics changed in GTK4, and generally the default is good
enough now.
src/gs-app-context-bar.ui | 1 -
src/gs-context-dialog-row.ui | 1 -
src/gs-description-box.c | 1 -
src/gs-featured-carousel.ui | 3 ---
src/gs-license-tile.ui | 2 --
src/gs-metered-data-dialog.ui | 1 -
src/gs-shell.ui | 3 ---
7 files changed, 12 deletions(-)
---
diff --git a/src/gs-app-context-bar.ui b/src/gs-app-context-bar.ui
index 891a6f51e..7d61581d1 100644
--- a/src/gs-app-context-bar.ui
+++ b/src/gs-app-context-bar.ui
@@ -5,7 +5,6 @@
<property name="homogeneous">True</property>
<property name="spacing">0</property>
<property name="visible">True</property>
- <property name="can-focus">True</property>
<style>
<class name="linked"/>
</style>
diff --git a/src/gs-context-dialog-row.ui b/src/gs-context-dialog-row.ui
index e158b01b4..70e5db396 100644
--- a/src/gs-context-dialog-row.ui
+++ b/src/gs-context-dialog-row.ui
@@ -4,7 +4,6 @@
<template class="GsContextDialogRow" parent="GtkListBoxRow">
<property name="visible">True</property>
<property name="activatable">False</property>
- <property name="can-focus">False</property>
<child>
<object class="GtkBox">
diff --git a/src/gs-description-box.c b/src/gs-description-box.c
index e42cb89b8..23fb09dba 100644
--- a/src/gs-description-box.c
+++ b/src/gs-description-box.c
@@ -200,7 +200,6 @@ gs_description_box_init (GsDescriptionBox *box)
"vexpand", FALSE,
"valign", GTK_ALIGN_START,
"visible", TRUE,
- "can-focus", FALSE,
"max-width-chars", 40,
"selectable", TRUE,
"wrap", TRUE,
diff --git a/src/gs-featured-carousel.ui b/src/gs-featured-carousel.ui
index 48a5968a7..3011134da 100644
--- a/src/gs-featured-carousel.ui
+++ b/src/gs-featured-carousel.ui
@@ -7,7 +7,6 @@
<property name="orientation">vertical</property>
<property name="spacing">12</property>
<property name="visible">True</property>
- <property name="can-focus">True</property>
<child>
<object class="GtkEventControllerKey">
<signal name="key-pressed" handler="key_pressed_cb"/>
@@ -30,7 +29,6 @@
<object class="GtkButton" id="previous_button">
<property name="visible">True</property>
<property name="use-underline">True</property>
- <property name="can-focus">True</property>
<property name="halign">start</property>
<property name="valign">center</property>
<property name="width-request">56</property>
@@ -61,7 +59,6 @@
<object class="GtkButton" id="next_button">
<property name="visible">True</property>
<property name="use-underline">True</property>
- <property name="can-focus">True</property>
<property name="halign">end</property>
<property name="valign">center</property>
<property name="width-request">56</property>
diff --git a/src/gs-license-tile.ui b/src/gs-license-tile.ui
index b5c0cc62c..61cebe1e4 100644
--- a/src/gs-license-tile.ui
+++ b/src/gs-license-tile.ui
@@ -15,7 +15,6 @@
<object class="GtkListBoxRow">
<property name="activatable">False</property>
<property name="visible">True</property>
- <property name="can-focus">True</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
@@ -116,7 +115,6 @@
<object class="GtkListBoxRow" id="get_involved_row">
<property name="activatable">True</property>
<property name="visible">True</property>
- <property name="can-focus">True</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
diff --git a/src/gs-metered-data-dialog.ui b/src/gs-metered-data-dialog.ui
index 8e9624a7d..634d8797e 100644
--- a/src/gs-metered-data-dialog.ui
+++ b/src/gs-metered-data-dialog.ui
@@ -52,7 +52,6 @@ Alternatively, if the current network has been inÂcorrectly identified as being
<object class="GtkButton" id="button_network_settings">
<property name="visible">True</property>
<property name="label" translatable="yes">Open Network _Settings</property>
- <property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="use-underline">True</property>
<signal name="clicked" handler="button_network_settings_clicked_cb"/>
diff --git a/src/gs-shell.ui b/src/gs-shell.ui
index f24860acf..d5f3e5bb6 100644
--- a/src/gs-shell.ui
+++ b/src/gs-shell.ui
@@ -180,7 +180,6 @@
<child>
<object class="AdwHeaderBar" id="main_header">
<property name="visible">True</property>
- <property name="can-focus">False</property>
<property name="hexpand">True</property>
<property name="show-end-title-buttons">True</property>
<property name="centering-policy">strict</property>
@@ -378,7 +377,6 @@
<child>
<object class="AdwHeaderBar" id="sub_header">
<property name="visible">True</property>
- <property name="can-focus">False</property>
<property name="show-end-title-buttons">True</property>
<property name="hexpand">True</property>
<child>
@@ -474,7 +472,6 @@
<child>
<object class="AdwHeaderBar" id="details_header">
<property name="visible">True</property>
- <property name="can-focus">False</property>
<property name="hexpand">True</property>
<property name="show-end-title-buttons">True</property>
<property name="title-widget">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]