gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r18870 - gnunet-gtk/contrib


From: gnunet
Subject: [GNUnet-SVN] r18870 - gnunet-gtk/contrib
Date: Sat, 31 Dec 2011 20:20:45 +0100

Author: grothoff
Date: 2011-12-31 20:20:45 +0100 (Sat, 31 Dec 2011)
New Revision: 18870

Modified:
   gnunet-gtk/contrib/gnunet_fs_gtk_search_tab.glade
Log:
-LRN: Move-progress-and-availability-to-their-own-columns.patch - I got
tired of how ugly these progress bars look (or, to be precise, how
ugly the text in them looks), and moved them out into separate
columns. This patch, obviously, is highly debatable.

CG: I disliked the old style as well, we'll see.


Modified: gnunet-gtk/contrib/gnunet_fs_gtk_search_tab.glade
===================================================================
--- gnunet-gtk/contrib/gnunet_fs_gtk_search_tab.glade   2011-12-31 19:20:11 UTC 
(rev 18869)
+++ gnunet-gtk/contrib/gnunet_fs_gtk_search_tab.glade   2011-12-31 19:20:45 UTC 
(rev 18870)
@@ -69,10 +69,26 @@
                 <property name="sort_indicator">True</property>
                 <property name="sort_column_id">6</property>
                 <child>
-                  <object class="GtkCellRendererProgress" 
id="search_result_description_renderer"/>
+                  <object class="GtkCellRendererText" 
id="search_result_description_renderer_text"/>
                   <attributes>
                     <attribute name="cell-background">8</attribute>
                     <attribute name="text">6</attribute>
+                  </attributes>
+                </child>
+              </object>
+            </child>
+            <child>
+              <object class="GtkTreeViewColumn" 
id="search_result_availability_column">
+                <property name="sizing">autosize</property>
+                <property name="title" 
translatable="yes">Availability</property>
+                <property name="clickable">True</property>
+                <property name="reorderable">True</property>
+                <property name="sort_indicator">True</property>
+                <property name="sort_column_id">5</property>
+                <child>
+                  <object class="GtkCellRendererProgress" 
id="search_result_availability_renderer"/>
+                  <attributes>
+                    <attribute name="cell-background">8</attribute>
                     <attribute name="value">5</attribute>
                   </attributes>
                 </child>
@@ -99,14 +115,31 @@
               <object class="GtkTreeViewColumn" id="search_result_size_column">
                 <property name="sizing">autosize</property>
                 <property name="title" translatable="yes">Size</property>
+                <property name="clickable">True</property>
                 <property name="reorderable">True</property>
                 <property name="sort_indicator">True</property>
                 <property name="sort_column_id">2</property>
                 <child>
-                  <object class="GtkCellRendererProgress" 
id="search_result_size_renderer"/>
+                  <object class="GtkCellRendererText" 
id="search_result_size_renderer"/>
                   <attributes>
                     <attribute name="cell-background">8</attribute>
                     <attribute name="text">2</attribute>
+                  </attributes>
+                </child>
+              </object>
+            </child>
+            <child>
+              <object class="GtkTreeViewColumn" 
id="search_result_progress_column">
+                <property name="title" translatable="yes">Progress</property>
+                <property name="clickable">True</property>
+                <property name="reorderable">True</property>
+                <property name="sort_indicator">True</property>
+                <property name="sort_column_id">4</property>
+                <child>
+                  <object class="GtkCellRendererProgress" 
id="search_result_progress_renderer"/>
+                  <attributes>
+                    <attribute name="cell-background">8</attribute>
+                    <attribute name="text">4</attribute>
                     <attribute name="value">4</attribute>
                   </attributes>
                 </child>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]