diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-09-11 12:33:09 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-09-11 12:33:09 +0000 |
commit | 1c766f5c16780d7da2ca58978c6fe83839a488b9 (patch) | |
tree | 5604adc26a56e516e9a93323bd95119975ad5e16 | |
parent | 3867f70f3ad1e8827923ee92d49594688bef1478 (diff) | |
download | gnunet-gtk-1c766f5c16780d7da2ca58978c6fe83839a488b9.tar.gz gnunet-gtk-1c766f5c16780d7da2ca58978c6fe83839a488b9.zip |
fix
-rw-r--r-- | contrib/gnunet_peerinfo_gtk_main_window.glade | 79 |
1 files changed, 48 insertions, 31 deletions
diff --git a/contrib/gnunet_peerinfo_gtk_main_window.glade b/contrib/gnunet_peerinfo_gtk_main_window.glade index ffee717e..55f8cca3 100644 --- a/contrib/gnunet_peerinfo_gtk_main_window.glade +++ b/contrib/gnunet_peerinfo_gtk_main_window.glade | |||
@@ -2,6 +2,24 @@ | |||
2 | <interface> | 2 | <interface> |
3 | <requires lib="gtk+" version="2.20"/> | 3 | <requires lib="gtk+" version="2.20"/> |
4 | <!-- interface-naming-policy project-wide --> | 4 | <!-- interface-naming-policy project-wide --> |
5 | <object class="GtkListStore" id="GNUNET_PEERINFO_GTK_list_store"> | ||
6 | <columns> | ||
7 | <!-- column-name peer_identity --> | ||
8 | <column type="gchararray"/> | ||
9 | <!-- column-name number_of_known_addresses --> | ||
10 | <column type="guint"/> | ||
11 | <!-- column-name country_name --> | ||
12 | <column type="gchararray"/> | ||
13 | <!-- column-name country_flag --> | ||
14 | <column type="GdkPixbuf"/> | ||
15 | <!-- column-name bandwidth_in --> | ||
16 | <column type="guint64"/> | ||
17 | <!-- column-name bandwidth_out --> | ||
18 | <column type="guint64"/> | ||
19 | <!-- column-name addresses --> | ||
20 | <column type="gchararray"/> | ||
21 | </columns> | ||
22 | </object> | ||
5 | <object class="GtkWindow" id="GNUNET_PEERINFO_GTK_main_window"> | 23 | <object class="GtkWindow" id="GNUNET_PEERINFO_GTK_main_window"> |
6 | <property name="can_focus">False</property> | 24 | <property name="can_focus">False</property> |
7 | <property name="title" translatable="yes">gnunet-gtk</property> | 25 | <property name="title" translatable="yes">gnunet-gtk</property> |
@@ -70,19 +88,18 @@ | |||
70 | <property name="vadjustment">adjustment4</property> | 88 | <property name="vadjustment">adjustment4</property> |
71 | <property name="reorderable">True</property> | 89 | <property name="reorderable">True</property> |
72 | <property name="search_column">0</property> | 90 | <property name="search_column">0</property> |
73 | <property name="fixed_height_mode">True</property> | ||
74 | <child> | 91 | <child> |
75 | <object class="GtkTreeViewColumn" id="GNUNET_PEERINFO_GTK_main_window_name_column"> | 92 | <object class="GtkTreeViewColumn" id="GNUNET_PEERINFO_GTK_main_window_name_column"> |
76 | <property name="sizing">fixed</property> | 93 | <property name="spacing">5</property> |
94 | <property name="sizing">autosize</property> | ||
77 | <property name="title" translatable="yes">Peer</property> | 95 | <property name="title" translatable="yes">Peer</property> |
78 | <property name="expand">True</property> | ||
79 | <property name="clickable">True</property> | ||
80 | <property name="reorderable">True</property> | 96 | <property name="reorderable">True</property> |
97 | <property name="sort_indicator">True</property> | ||
81 | <property name="sort_column_id">0</property> | 98 | <property name="sort_column_id">0</property> |
82 | <child> | 99 | <child> |
83 | <object class="GtkCellRendererText" id="GNUNET_PEERINFO_GTK_main_window_name_renderer"> | 100 | <object class="GtkCellRendererText" id="GNUNET_PEERINFO_GTK_main_window_name_renderer"> |
84 | <property name="sensitive">False</property> | 101 | <property name="sensitive">False</property> |
85 | <property name="width_chars">16</property> | 102 | <property name="width_chars">4</property> |
86 | </object> | 103 | </object> |
87 | <attributes> | 104 | <attributes> |
88 | <attribute name="text">0</attribute> | 105 | <attribute name="text">0</attribute> |
@@ -92,13 +109,14 @@ | |||
92 | </child> | 109 | </child> |
93 | <child> | 110 | <child> |
94 | <object class="GtkTreeViewColumn" id="GNUNET_PEERINFO_GTK_main_window_bandwidth_column"> | 111 | <object class="GtkTreeViewColumn" id="GNUNET_PEERINFO_GTK_main_window_bandwidth_column"> |
95 | <property name="sizing">fixed</property> | 112 | <property name="title" translatable="yes">In</property> |
96 | <property name="title" translatable="yes">Bandwidth</property> | ||
97 | <property name="clickable">True</property> | 113 | <property name="clickable">True</property> |
114 | <property name="reorderable">True</property> | ||
115 | <property name="sort_indicator">True</property> | ||
98 | <property name="sort_order">descending</property> | 116 | <property name="sort_order">descending</property> |
99 | <property name="sort_column_id">5</property> | 117 | <property name="sort_column_id">4</property> |
100 | <child> | 118 | <child> |
101 | <object class="GtkCellRendererText" id="GNUNET_PEERINFO_GTK_main_window_bandwidth_renderer"/> | 119 | <object class="GtkCellRendererText" id="GNUNET_PEERINFO_GTK_main_window_bandwidth_in_cellrenderertext"/> |
102 | <attributes> | 120 | <attributes> |
103 | <attribute name="text">4</attribute> | 121 | <attribute name="text">4</attribute> |
104 | </attributes> | 122 | </attributes> |
@@ -106,13 +124,27 @@ | |||
106 | </object> | 124 | </object> |
107 | </child> | 125 | </child> |
108 | <child> | 126 | <child> |
127 | <object class="GtkTreeViewColumn" id="GNUNET_PEERINFO_GTK_main_window_bandwidth_out_treeviewcolumn"> | ||
128 | <property name="title" translatable="yes">Out</property> | ||
129 | <property name="clickable">True</property> | ||
130 | <property name="sort_order">descending</property> | ||
131 | <property name="sort_column_id">5</property> | ||
132 | <child> | ||
133 | <object class="GtkCellRendererText" id="GNUNET_PEERINFO_GTK_main_window_bandwidth_out_cellrenderertext"/> | ||
134 | <attributes> | ||
135 | <attribute name="text">5</attribute> | ||
136 | </attributes> | ||
137 | </child> | ||
138 | </object> | ||
139 | </child> | ||
140 | <child> | ||
109 | <object class="GtkTreeViewColumn" id="GNUNET_PEERINFO_GTK_main_window_country_column"> | 141 | <object class="GtkTreeViewColumn" id="GNUNET_PEERINFO_GTK_main_window_country_column"> |
110 | <property name="sizing">fixed</property> | 142 | <property name="sizing">autosize</property> |
111 | <property name="title" translatable="yes">Country</property> | 143 | <property name="title" translatable="yes">Country</property> |
112 | <property name="clickable">True</property> | 144 | <property name="clickable">True</property> |
113 | <property name="reorderable">True</property> | 145 | <property name="reorderable">True</property> |
114 | <property name="sort_indicator">True</property> | 146 | <property name="sort_indicator">True</property> |
115 | <property name="sort_column_id">3</property> | 147 | <property name="sort_column_id">2</property> |
116 | <child> | 148 | <child> |
117 | <object class="GtkCellRendererPixbuf" id="GNUNET_PEERINFO_GTK_main_window_country_renderer"/> | 149 | <object class="GtkCellRendererPixbuf" id="GNUNET_PEERINFO_GTK_main_window_country_renderer"/> |
118 | <attributes> | 150 | <attributes> |
@@ -123,12 +155,15 @@ | |||
123 | </child> | 155 | </child> |
124 | <child> | 156 | <child> |
125 | <object class="GtkTreeViewColumn" id="GNUNET_PEERINFO_GTK_main_window_address_treeviewcolumn"> | 157 | <object class="GtkTreeViewColumn" id="GNUNET_PEERINFO_GTK_main_window_address_treeviewcolumn"> |
126 | <property name="sizing">fixed</property> | 158 | <property name="sizing">autosize</property> |
127 | <property name="title" translatable="yes">Addresses</property> | 159 | <property name="title" translatable="yes">Addresses</property> |
160 | <property name="expand">True</property> | ||
161 | <property name="clickable">True</property> | ||
162 | <property name="sort_column_id">6</property> | ||
128 | <child> | 163 | <child> |
129 | <object class="GtkCellRendererText" id="GNUNET_PEERINFO_GTK_main_window_addresses_cellrenderertext"/> | 164 | <object class="GtkCellRendererText" id="GNUNET_PEERINFO_GTK_main_window_addresses_cellrenderertext"/> |
130 | <attributes> | 165 | <attributes> |
131 | <attribute name="text">5</attribute> | 166 | <attribute name="text">6</attribute> |
132 | </attributes> | 167 | </attributes> |
133 | </child> | 168 | </child> |
134 | </object> | 169 | </object> |
@@ -145,24 +180,6 @@ | |||
145 | </object> | 180 | </object> |
146 | </child> | 181 | </child> |
147 | </object> | 182 | </object> |
148 | <object class="GtkListStore" id="GNUNET_PEERINFO_GTK_list_store"> | ||
149 | <columns> | ||
150 | <!-- column-name peer_identity --> | ||
151 | <column type="gchararray"/> | ||
152 | <!-- column-name number_of_known_addresses --> | ||
153 | <column type="guint"/> | ||
154 | <!-- column-name country_name --> | ||
155 | <column type="gchararray"/> | ||
156 | <!-- column-name country_flag --> | ||
157 | <column type="GdkPixbuf"/> | ||
158 | <!-- column-name bandwidth_in --> | ||
159 | <column type="guint64"/> | ||
160 | <!-- column-name bandwidth_out --> | ||
161 | <column type="guint64"/> | ||
162 | <!-- column-name addresses --> | ||
163 | <column type="gchararray"/> | ||
164 | </columns> | ||
165 | </object> | ||
166 | <object class="GtkAdjustment" id="adjustment3"> | 183 | <object class="GtkAdjustment" id="adjustment3"> |
167 | <property name="upper">100</property> | 184 | <property name="upper">100</property> |
168 | <property name="step_increment">1</property> | 185 | <property name="step_increment">1</property> |