[nautilus/wip/cdavis/post-port-cleanups: 1/25] audio-video-properties: Remove use of `focusable`
- From: Christopher Davis <christopherdavis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/cdavis/post-port-cleanups: 1/25] audio-video-properties: Remove use of `focusable`
- Date: Sat, 16 Jul 2022 13:40:17 +0000 (UTC)
commit b74b06bb4f6baf5b30e9f8ce29e47d5783207f8e
Author: Christopher Davis <christopherdavis gnome org>
Date: Sat Jul 16 07:52:17 2022 -0400
audio-video-properties: Remove use of `focusable`
gtk4-builder-tool tries to port uses of `can_focus` to
`focusable`, but in real code you generally don't need to set
`focusable` - the defaults are always sensible, and removing
the explicit property means less code without any behavior
change.
.../audio-video-properties/resources/ui/properties.ui | 14 --------------
1 file changed, 14 deletions(-)
---
diff --git a/extensions/audio-video-properties/resources/ui/properties.ui
b/extensions/audio-video-properties/resources/ui/properties.ui
index e79a1fac7..88a6cf02f 100644
--- a/extensions/audio-video-properties/resources/ui/properties.ui
+++ b/extensions/audio-video-properties/resources/ui/properties.ui
@@ -104,7 +104,6 @@
</child>
<child>
<object class="GtkLabel" id="title">
- <property name="focusable">1</property>
<property name="label">Unknown</property>
<property name="wrap">1</property>
<property name="selectable">1</property>
@@ -121,7 +120,6 @@
</child>
<child>
<object class="GtkLabel" id="artist">
- <property name="focusable">1</property>
<property name="label">Unknown</property>
<property name="wrap">1</property>
<property name="selectable">1</property>
@@ -138,7 +136,6 @@
</child>
<child>
<object class="GtkLabel" id="album">
- <property name="focusable">1</property>
<property name="label">Unknown</property>
<property name="wrap">1</property>
<property name="selectable">1</property>
@@ -155,7 +152,6 @@
</child>
<child>
<object class="GtkLabel" id="year">
- <property name="focusable">1</property>
<property name="label">Unknown</property>
<property name="selectable">1</property>
<property name="ellipsize">end</property>
@@ -171,7 +167,6 @@
</child>
<child>
<object class="GtkLabel" id="duration">
- <property name="focusable">1</property>
<property name="label">0 seconds</property>
<property name="selectable">1</property>
<property name="ellipsize">end</property>
@@ -202,7 +197,6 @@
</child>
<child>
<object class="GtkLabel" id="comment">
- <property name="focusable">1</property>
<property name="label">Unknown</property>
<property name="wrap">1</property>
<property name="selectable">1</property>
@@ -326,7 +320,6 @@
</child>
<child>
<object class="GtkLabel" id="dimensions">
- <property name="focusable">1</property>
<property name="label">0 x 0</property>
<property name="selectable">1</property>
<property name="ellipsize">end</property>
@@ -342,7 +335,6 @@
</child>
<child>
<object class="GtkLabel" id="vcodec">
- <property name="focusable">1</property>
<property name="label">N/A</property>
<property name="selectable">1</property>
<property name="ellipsize">end</property>
@@ -358,7 +350,6 @@
</child>
<child>
<object class="GtkLabel" id="framerate">
- <property name="focusable">1</property>
<property name="label">0 frames per second</property>
<property name="selectable">1</property>
<property name="ellipsize">end</property>
@@ -374,7 +365,6 @@
</child>
<child>
<object class="GtkLabel" id="video_bitrate">
- <property name="focusable">1</property>
<property name="label">0 kbps</property>
<property name="selectable">1</property>
<property name="ellipsize">end</property>
@@ -427,7 +417,6 @@
</child>
<child>
<object class="GtkLabel" id="samplerate">
- <property name="focusable">1</property>
<property name="label">0 Hz</property>
<property name="selectable">1</property>
<property name="xalign">0</property>
@@ -457,7 +446,6 @@
</child>
<child>
<object class="GtkLabel" id="audio_bitrate">
- <property name="focusable">1</property>
<property name="label">0 kbps</property>
<property name="selectable">1</property>
<property name="ellipsize">end</property>
@@ -488,7 +476,6 @@
</child>
<child>
<object class="GtkLabel" id="acodec">
- <property name="focusable">1</property>
<property name="label">N/A</property>
<property name="selectable">1</property>
<property name="ellipsize">end</property>
@@ -519,7 +506,6 @@
</child>
<child>
<object class="GtkLabel" id="channels">
- <property name="focusable">1</property>
<property name="label">0 Channels</property>
<property name="selectable">1</property>
<property name="xalign">0</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]