diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-12-31 19:20:45 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-12-31 19:20:45 +0000 |
commit | c18e176ceb1608c37f2df8b16371baeec62a42d5 (patch) | |
tree | 436a275ba5faf3c30aa3fb0dc1c3e7b94d43b6b5 | |
parent | 3a2623018e43515e1349512ab50f644d0f571468 (diff) | |
download | gnunet-gtk-c18e176ceb1608c37f2df8b16371baeec62a42d5.tar.gz gnunet-gtk-c18e176ceb1608c37f2df8b16371baeec62a42d5.zip |
-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.
-rw-r--r-- | contrib/gnunet_fs_gtk_search_tab.glade | 37 |
1 files changed, 35 insertions, 2 deletions
diff --git a/contrib/gnunet_fs_gtk_search_tab.glade b/contrib/gnunet_fs_gtk_search_tab.glade index 1a8f95d2..b6950b9a 100644 --- a/contrib/gnunet_fs_gtk_search_tab.glade +++ b/contrib/gnunet_fs_gtk_search_tab.glade | |||
@@ -69,10 +69,26 @@ | |||
69 | <property name="sort_indicator">True</property> | 69 | <property name="sort_indicator">True</property> |
70 | <property name="sort_column_id">6</property> | 70 | <property name="sort_column_id">6</property> |
71 | <child> | 71 | <child> |
72 | <object class="GtkCellRendererProgress" id="search_result_description_renderer"/> | 72 | <object class="GtkCellRendererText" id="search_result_description_renderer_text"/> |
73 | <attributes> | 73 | <attributes> |
74 | <attribute name="cell-background">8</attribute> | 74 | <attribute name="cell-background">8</attribute> |
75 | <attribute name="text">6</attribute> | 75 | <attribute name="text">6</attribute> |
76 | </attributes> | ||
77 | </child> | ||
78 | </object> | ||
79 | </child> | ||
80 | <child> | ||
81 | <object class="GtkTreeViewColumn" id="search_result_availability_column"> | ||
82 | <property name="sizing">autosize</property> | ||
83 | <property name="title" translatable="yes">Availability</property> | ||
84 | <property name="clickable">True</property> | ||
85 | <property name="reorderable">True</property> | ||
86 | <property name="sort_indicator">True</property> | ||
87 | <property name="sort_column_id">5</property> | ||
88 | <child> | ||
89 | <object class="GtkCellRendererProgress" id="search_result_availability_renderer"/> | ||
90 | <attributes> | ||
91 | <attribute name="cell-background">8</attribute> | ||
76 | <attribute name="value">5</attribute> | 92 | <attribute name="value">5</attribute> |
77 | </attributes> | 93 | </attributes> |
78 | </child> | 94 | </child> |
@@ -99,14 +115,31 @@ | |||
99 | <object class="GtkTreeViewColumn" id="search_result_size_column"> | 115 | <object class="GtkTreeViewColumn" id="search_result_size_column"> |
100 | <property name="sizing">autosize</property> | 116 | <property name="sizing">autosize</property> |
101 | <property name="title" translatable="yes">Size</property> | 117 | <property name="title" translatable="yes">Size</property> |
118 | <property name="clickable">True</property> | ||
102 | <property name="reorderable">True</property> | 119 | <property name="reorderable">True</property> |
103 | <property name="sort_indicator">True</property> | 120 | <property name="sort_indicator">True</property> |
104 | <property name="sort_column_id">2</property> | 121 | <property name="sort_column_id">2</property> |
105 | <child> | 122 | <child> |
106 | <object class="GtkCellRendererProgress" id="search_result_size_renderer"/> | 123 | <object class="GtkCellRendererText" id="search_result_size_renderer"/> |
107 | <attributes> | 124 | <attributes> |
108 | <attribute name="cell-background">8</attribute> | 125 | <attribute name="cell-background">8</attribute> |
109 | <attribute name="text">2</attribute> | 126 | <attribute name="text">2</attribute> |
127 | </attributes> | ||
128 | </child> | ||
129 | </object> | ||
130 | </child> | ||
131 | <child> | ||
132 | <object class="GtkTreeViewColumn" id="search_result_progress_column"> | ||
133 | <property name="title" translatable="yes">Progress</property> | ||
134 | <property name="clickable">True</property> | ||
135 | <property name="reorderable">True</property> | ||
136 | <property name="sort_indicator">True</property> | ||
137 | <property name="sort_column_id">4</property> | ||
138 | <child> | ||
139 | <object class="GtkCellRendererProgress" id="search_result_progress_renderer"/> | ||
140 | <attributes> | ||
141 | <attribute name="cell-background">8</attribute> | ||
142 | <attribute name="text">4</attribute> | ||
110 | <attribute name="value">4</attribute> | 143 | <attribute name="value">4</attribute> |
111 | </attributes> | 144 | </attributes> |
112 | </child> | 145 | </child> |