[Xfce4-commits] [apps/xfce4-panel-profiles] 16/162: Make both columns (name, date) sortable

noreply at xfce.org noreply at xfce.org
Fri Jul 13 13:08:35 CEST 2018


This is an automated email from the git hooks/post-receive script.

o   c   h   o   s   i       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-panel-profiles.

commit feee43ad2231d73b31f4c2a639dec65d1859ac4e
Author: Simon SteinbeiƟ <ochosi at shimmerproject.org>
Date:   Thu Aug 13 23:27:38 2015 +0200

    Make both columns (name, date) sortable
---
 xfpanel-switch/xfpanel-switch.glade | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/xfpanel-switch/xfpanel-switch.glade b/xfpanel-switch/xfpanel-switch.glade
index da627ef..7c49bbe 100644
--- a/xfpanel-switch/xfpanel-switch.glade
+++ b/xfpanel-switch/xfpanel-switch.glade
@@ -64,11 +64,11 @@
                         <property name="visible">True</property>
                         <property name="can_focus">False</property>
                         <property name="margin_start">12</property>
+                        <property name="xalign">0</property>
                         <property name="label" translatable="yes"><b><big>Xfce Panel Switch</big></b>
 Backup and restore your panel configuration</property>
                         <property name="use_markup">True</property>
                         <property name="ellipsize">end</property>
-                        <property name="xalign">0</property>
                       </object>
                       <packing>
                         <property name="expand">True</property>
@@ -134,6 +134,8 @@ Backup and restore your panel configuration</property>
                           <object class="GtkTreeViewColumn" id="treeviewcolumn1">
                             <property name="title" translatable="yes">Filename</property>
                             <property name="expand">True</property>
+                            <property name="sort_indicator">True</property>
+                            <property name="sort_column_id">0</property>
                             <child>
                               <object class="GtkCellRendererText" id="cellrenderertext1">
                                 <property name="ellipsize">end</property>
@@ -147,6 +149,8 @@ Backup and restore your panel configuration</property>
                         <child>
                           <object class="GtkTreeViewColumn" id="treeviewcolumn2">
                             <property name="title" translatable="yes">Date Modified</property>
+                            <property name="sort_indicator">True</property>
+                            <property name="sort_column_id">1</property>
                             <child>
                               <object class="GtkCellRendererText" id="cellrenderertext2"/>
                               <attributes>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list