summaryrefslogtreecommitdiff
path: root/src/resources/ui/nautilus-window.ui
diff options
context:
space:
mode:
authorCorey Berla <corey@berla.me>2022-12-27 11:22:01 -0800
committerAntónio Fernandes <antoniof@gnome.org>2023-01-09 11:57:48 +0000
commitcd0ece2696a8d794af4b95e24eee8e6f54da6520 (patch)
tree93fae9ef6cf1a2fb80f0129a133426f6bf3088cd /src/resources/ui/nautilus-window.ui
parentbcdcbc1479713eb3052d1843d3dd1dfb2840e59a (diff)
downloadnautilus-cd0ece2696a8d794af4b95e24eee8e6f54da6520.tar.gz
window: Add drop targets back to tabs
With the introduction of ::extra-drag-value in AdwTabBar, we can now dynamically set the preferred action on the AdwTabBar. Use the "extra" drop target on the AdwTabBar, and use our existing code making this fairly simple. Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2495
Diffstat (limited to 'src/resources/ui/nautilus-window.ui')
-rw-r--r--src/resources/ui/nautilus-window.ui2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/ui/nautilus-window.ui b/src/resources/ui/nautilus-window.ui
index 5dd2e4b88..31afae73a 100644
--- a/src/resources/ui/nautilus-window.ui
+++ b/src/resources/ui/nautilus-window.ui
@@ -75,7 +75,7 @@
<property name="orientation">vertical</property>
<property name="width-request">360</property>
<child>
- <object class="AdwTabBar">
+ <object class="AdwTabBar" id="tab_bar">
<property name="view">tab_view</property>
</object>
</child>