[gnome-documents/wip/abono/sort-by: 4/4] view-menu: Add sort options in the popover
- From: Alessandro Bono <abono src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents/wip/abono/sort-by: 4/4] view-menu: Add sort options in the popover
- Date: Fri, 6 Nov 2015 10:52:20 +0000 (UTC)
commit 171fa4bc7e62caf8456ec810faab048550d47e8e
Author: Alessandro Bono <shadow openaliasbox org>
Date: Wed Nov 4 12:25:46 2015 +0100
view-menu: Add sort options in the popover
data/ui/view-menu.ui | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++
libgd | 2 +-
2 files changed, 55 insertions(+), 1 deletions(-)
---
diff --git a/data/ui/view-menu.ui b/data/ui/view-menu.ui
index ea456ae..594d3fa 100644
--- a/data/ui/view-menu.ui
+++ b/data/ui/view-menu.ui
@@ -50,6 +50,60 @@
</child>
</object>
</child>
+ <child>
+ <object class="GtkBox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="orientation">vertical</property>
+ <child>
+ <object class="GtkSeparator">
+ <property name="visible">True</property>
+ <property name="orientation">horizontal</property>
+ <property name="margin-top">6</property>
+ <property name="margin-bottom">6</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLabel">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="halign">start</property>
+ <property name="label" translatable="yes">Sort</property>
+ <property name="margin-start">12</property>
+ <style>
+ <class name="separator"/>
+ </style>
+ </object>
+ </child>
+ <child>
+ <object class="GtkModelButton">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="text" translatable="yes">Author</property>
+ <property name="action-name">app.sort-by</property>
+ <property name="action-target">'secondary-text'</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkModelButton">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="text" translatable="yes">Date</property>
+ <property name="action-name">app.sort-by</property>
+ <property name="action-target">'mtime'</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkModelButton">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="text" translatable="yes">Name</property>
+ <property name="action-name">app.sort-by</property>
+ <property name="action-target">'primary-text'</property>
+ </object>
+ </child>
+ </object>
+ </child>
</object>
</child>
</object>
diff --git a/libgd b/libgd
index bf0b5c9..ed6c8f3 160000
--- a/libgd
+++ b/libgd
@@ -1 +1 @@
-Subproject commit bf0b5c96a6b2f4b039fc12c2cef7729fc7cb6ecf
+Subproject commit ed6c8f3667b67ac284933a3d03faa34b5948bf52
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]