summaryrefslogtreecommitdiff
path: root/src/resources/ui/nautilus-list-view-column-editor.ui
diff options
context:
space:
mode:
authorCorey Berla <corey@berla.me>2023-01-02 17:10:08 -0800
committerCorey Berla <corey@berla.me>2023-05-04 21:32:59 +0000
commit4346087adc4057aae9a84c18cdfd87db2aafdac0 (patch)
treee8427d91141580eabf49a5b47d4aaf99effdbd95 /src/resources/ui/nautilus-list-view-column-editor.ui
parent7c5f51739adc1c0abf60e1ac88f9cf9c4ce1aa97 (diff)
downloadnautilus-4346087adc4057aae9a84c18cdfd87db2aafdac0.tar.gz
column-chooser: Subclass AdwWindow instead of GtkBox
We were subclassing from GtkBox and then, list-view created a list-view-column-editor which subclassed from AdwWindow to add the column-chooser. It's a lot of extra code / complexity for something that is only used in list-view. This also allows us to directly use column-chooser within list-view. Also drop the list description label, in preparation for the switch to GtkListBox.
Diffstat (limited to 'src/resources/ui/nautilus-list-view-column-editor.ui')
-rw-r--r--src/resources/ui/nautilus-list-view-column-editor.ui41
1 files changed, 0 insertions, 41 deletions
diff --git a/src/resources/ui/nautilus-list-view-column-editor.ui b/src/resources/ui/nautilus-list-view-column-editor.ui
deleted file mode 100644
index c4cab589e..000000000
--- a/src/resources/ui/nautilus-list-view-column-editor.ui
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<interface>
- <requires lib="gtk" version="4.0"/>
- <object class="AdwWindow" id="window">
- <property name="modal">True</property>
- <property name="default-width">360</property>
- <property name="default-height">440</property>
- <child>
- <object class="GtkBox">
- <property name="orientation">vertical</property>
- <child>
- <object class="AdwHeaderBar">
- <child type="title">
- <object class="AdwWindowTitle" id="window_title">
- <property name="title" translatable="true">Visible Columns</property>
- </object>
- </child>
- </object>
- </child>
- <child>
- <object class="GtkBox" id="box">
- <property name="margin-top">18</property>
- <property name="margin-bottom">18</property>
- <property name="margin-start">18</property>
- <property name="margin-end">18</property>
- <property name="orientation">vertical</property>
- <property name="spacing">18</property>
- <child>
- <object class="GtkLabel">
- <property name="label" translatable="yes">Choose the order of information to appear in this folder:</property>
- <property name="xalign">0</property>
- <property name="yalign">0</property>
- <property name="wrap">True</property>
- </object>
- </child>
- </object>
- </child>
- </object>
- </child>
- </object>
-</interface>