[nautilus/wip/cdavis/post-port-cleanups: 3/6] general: Remove unnecessary use of `receives-default`
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/cdavis/post-port-cleanups: 3/6] general: Remove unnecessary use of `receives-default`
- Date: Sat, 16 Jul 2022 18:56:42 +0000 (UTC)
commit a423aca9f69d283a9f0c1581cef3a0500f04458d
Author: Christopher Davis <christopherdavis gnome org>
Date: Sat Jul 16 08:35:54 2022 -0400
general: Remove unnecessary use of `receives-default`
Same rationale as previous commit for `focusable`.
src/gtk/nautilusgtkplacesview.ui | 2 --
src/resources/ui/nautilus-compress-dialog.ui | 2 --
src/resources/ui/nautilus-create-folder-dialog.ui | 2 --
src/resources/ui/nautilus-progress-info-widget.ui | 1 -
src/resources/ui/nautilus-search-popover.ui | 3 ---
5 files changed, 10 deletions(-)
---
diff --git a/src/gtk/nautilusgtkplacesview.ui b/src/gtk/nautilusgtkplacesview.ui
index abf6c45ed..a157ea1bb 100644
--- a/src/gtk/nautilusgtkplacesview.ui
+++ b/src/gtk/nautilusgtkplacesview.ui
@@ -262,7 +262,6 @@
<property name="label" translatable="yes">Con_nect</property>
<property name="use-underline">1</property>
<property name="sensitive">0</property>
- <property name="receives-default">1</property>
<property name="valign">3</property>
<signal name="clicked" handler="on_connect_button_clicked" object="NautilusGtkPlacesView"
swapped="yes"/>
</object>
@@ -284,7 +283,6 @@
</child>
<child>
<object class="GtkMenuButton" id="server_list_button">
- <property name="receives-default">1</property>
<property name="direction">0</property>
<property name="popover">recent_servers_popover</property>
<property name="icon-name">pan-down-symbolic</property>
diff --git a/src/resources/ui/nautilus-compress-dialog.ui b/src/resources/ui/nautilus-compress-dialog.ui
index 5ffa2957e..096369a55 100644
--- a/src/resources/ui/nautilus-compress-dialog.ui
+++ b/src/resources/ui/nautilus-compress-dialog.ui
@@ -75,13 +75,11 @@
<child type="action">
<object class="GtkButton" id="cancel_button">
<property name="label" translatable="yes">Cancel</property>
- <property name="receives_default">True</property>
</object>
</child>
<child type="action">
<object class="GtkButton" id="activate_button">
<property name="label" translatable="yes">Create</property>
- <property name="receives_default">True</property>
<property name="sensitive">False</property>
</object>
</child>
diff --git a/src/resources/ui/nautilus-create-folder-dialog.ui
b/src/resources/ui/nautilus-create-folder-dialog.ui
index 53061037b..33d7f438d 100644
--- a/src/resources/ui/nautilus-create-folder-dialog.ui
+++ b/src/resources/ui/nautilus-create-folder-dialog.ui
@@ -39,12 +39,10 @@
<child type="action">
<object class="GtkButton" id="cancel_button">
<property name="label" translatable="yes">Cancel</property>
- <property name="receives_default">True</property>
</object>
</child>
<child type="action">
<object class="GtkButton" id="ok_button">
- <property name="receives_default">True</property>
<property name="sensitive">False</property>
</object>
</child>
diff --git a/src/resources/ui/nautilus-progress-info-widget.ui
b/src/resources/ui/nautilus-progress-info-widget.ui
index 605c056b1..09930a560 100644
--- a/src/resources/ui/nautilus-progress-info-widget.ui
+++ b/src/resources/ui/nautilus-progress-info-widget.ui
@@ -39,7 +39,6 @@
</child>
<child>
<object class="GtkButton" id="button">
- <property name="receives_default">True</property>
<property name="valign">center</property>
<property name="margin_start">20</property>
<style>
diff --git a/src/resources/ui/nautilus-search-popover.ui b/src/resources/ui/nautilus-search-popover.ui
index 0d5fb9991..6a38f9c48 100644
--- a/src/resources/ui/nautilus-search-popover.ui
+++ b/src/resources/ui/nautilus-search-popover.ui
@@ -35,7 +35,6 @@
<object class="GtkBox">
<child>
<object class="GtkButton" id="select_date_button">
- <property name="receives_default">True</property>
<property name="tooltip_text" translatable="yes">Select a date</property>
<property name="hexpand">True</property>
<child>
@@ -50,7 +49,6 @@
<child>
<object class="GtkButton" id="clear_date_button">
<property name="visible">False</property>
- <property name="receives_default">True</property>
<property name="tooltip_text" translatable="yes">Clear the currently selected
date</property>
<signal name="clicked" handler="clear_date_button_clicked"
object="NautilusSearchPopover" swapped="no"/>
<child>
@@ -223,7 +221,6 @@
<property name="name">type-button</property>
<property name="child">
<object class="GtkButton" id="select_type_button">
- <property name="receives_default">True</property>
<property name="tooltip_text" translatable="yes">Which file types will be
searched</property>
<signal name="clicked" handler="select_type_button_clicked"
object="NautilusSearchPopover" swapped="no"/>
<child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]