[gnome-builder/wip/gtk4-port: 1033/1774] plugins/find-other-file: show arrow for directories
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 1033/1774] plugins/find-other-file: show arrow for directories
- Date: Mon, 11 Jul 2022 22:31:32 +0000 (UTC)
commit 21dd4927a128be85ed04203d0fa6cedaa87e8a1d
Author: Christian Hergert <chergert redhat com>
Date: Mon May 16 16:18:21 2022 -0700
plugins/find-other-file: show arrow for directories
To indicate that we will be opening something (a new `ls` view currently).
In the future, I'd like this to dive down into a directory view from the
popover instead of the `ls` view though.
.../find-other-file/gbp-find-other-file-popover-row.ui | 11 +++++++++++
1 file changed, 11 insertions(+)
---
diff --git a/src/plugins/find-other-file/gbp-find-other-file-popover-row.ui
b/src/plugins/find-other-file/gbp-find-other-file-popover-row.ui
index f7c8d419b..80933032c 100644
--- a/src/plugins/find-other-file/gbp-find-other-file-popover-row.ui
+++ b/src/plugins/find-other-file/gbp-find-other-file-popover-row.ui
@@ -21,6 +21,7 @@
<child>
<object class="GtkLabel">
<property name="halign">start</property>
+ <property name="hexpand">true</property>
<property name="ellipsize">start</property>
<binding name="label">
<lookup name="display-name" type="GbpFoundFile">
@@ -29,6 +30,16 @@
</binding>
</object>
</child>
+ <child>
+ <object class="GtkImage">
+ <property name="icon-name">go-next-symbolic</property>
+ <binding name="visible">
+ <lookup name="is-directory" type="GbpFoundFile">
+ <lookup name="item">GtkListItem</lookup>
+ </lookup>
+ </binding>
+ </object>
+ </child>
</object>
</property>
</template>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]