Merge lp:~kvalo/indicator-network/bug-736673 into lp:~indicator-applet-developers/indicator-network/indicator-network
- bug-736673
- Merge into indicator-network
Proposed by
Kalle Valo
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 172 | ||||
Proposed branch: | lp:~kvalo/indicator-network/bug-736673 | ||||
Merge into: | lp:~indicator-applet-developers/indicator-network/indicator-network | ||||
Diff against target: |
459 lines (+203/-118) 4 files modified
configure.ac (+4/-0) src/settings/Makefile.am (+2/-0) src/settings/frontend/widgets/dialogs/edit-connection.vala (+79/-0) src/settings/ui/edit_connection_dialog.ui (+118/-118) |
||||
To merge this branch: | bzr merge lp:~kvalo/indicator-network/bug-736673 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Conor Curran (community) | Approve | ||
Andrew | Pending | ||
Review via email: mp+53810@code.launchpad.net |
Commit message
Description of the change
To post a comment you must log in.
Revision history for this message
Conor Curran (cjcurran) : | # |
review:
Approve
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'configure.ac' | |||
2 | --- configure.ac 2011-03-10 14:14:10 +0000 | |||
3 | +++ configure.ac 2011-03-17 13:31:26 +0000 | |||
4 | @@ -71,6 +71,10 @@ | |||
5 | 71 | AC_SUBST(LIBNOTIFY_CFLAGS) | 71 | AC_SUBST(LIBNOTIFY_CFLAGS) |
6 | 72 | AC_SUBST(LIBNOTIFY_LIBS) | 72 | AC_SUBST(LIBNOTIFY_LIBS) |
7 | 73 | 73 | ||
8 | 74 | PKG_CHECK_MODULES([LIBGEE], [gee-1.0]) | ||
9 | 75 | AC_SUBST(LIBGEE_CFLAGS) | ||
10 | 76 | AC_SUBST(LIBGEE_LIBS) | ||
11 | 77 | |||
12 | 74 | ########################### | 78 | ########################### |
13 | 75 | # Check to see if we're local | 79 | # Check to see if we're local |
14 | 76 | ########################### | 80 | ########################### |
15 | 77 | 81 | ||
16 | === modified file 'src/settings/Makefile.am' | |||
17 | --- src/settings/Makefile.am 2011-03-09 12:09:23 +0000 | |||
18 | +++ src/settings/Makefile.am 2011-03-17 13:31:26 +0000 | |||
19 | @@ -42,6 +42,7 @@ | |||
20 | 42 | # -w is needed to disable gcc warnings because of valac | 42 | # -w is needed to disable gcc warnings because of valac |
21 | 43 | indicator_network_settings_CFLAGS = \ | 43 | indicator_network_settings_CFLAGS = \ |
22 | 44 | $(GTK_CFLAGS) \ | 44 | $(GTK_CFLAGS) \ |
23 | 45 | $(LIBGEE_CFLAGS) \ | ||
24 | 45 | $(CONNMAN_CFLAGS) \ | 46 | $(CONNMAN_CFLAGS) \ |
25 | 46 | -w \ | 47 | -w \ |
26 | 47 | -DLOCALEDIR=\""$(localedir)"\" \ | 48 | -DLOCALEDIR=\""$(localedir)"\" \ |
27 | @@ -49,4 +50,5 @@ | |||
28 | 49 | 50 | ||
29 | 50 | indicator_network_settings_LDADD = \ | 51 | indicator_network_settings_LDADD = \ |
30 | 51 | $(GTK_LIBS) \ | 52 | $(GTK_LIBS) \ |
31 | 53 | $(LIBGEE_LIBS) \ | ||
32 | 52 | $(CONNMAN_LIBS) | 54 | $(CONNMAN_LIBS) |
33 | 53 | 55 | ||
34 | === modified file 'src/settings/frontend/widgets/dialogs/edit-connection.vala' | |||
35 | --- src/settings/frontend/widgets/dialogs/edit-connection.vala 2011-02-24 21:22:57 +0000 | |||
36 | +++ src/settings/frontend/widgets/dialogs/edit-connection.vala 2011-03-17 13:31:26 +0000 | |||
37 | @@ -18,6 +18,15 @@ | |||
38 | 18 | * with this program. If not, see <http://www.gnu.org/licenses/>. | 18 | * with this program. If not, see <http://www.gnu.org/licenses/>. |
39 | 19 | */ | 19 | */ |
40 | 20 | 20 | ||
41 | 21 | private enum NotebookPage { | ||
42 | 22 | PAGE_MAIN = 0, | ||
43 | 23 | PAGE_WIRELESS = 1, | ||
44 | 24 | PAGE_CELLULAR = 2, | ||
45 | 25 | PAGE_IPV4 = 3, | ||
46 | 26 | PAGE_IPV6 = 4, | ||
47 | 27 | PAGE_DNS = 5, | ||
48 | 28 | } | ||
49 | 29 | |||
50 | 21 | public class EditConnectionDialog : GLib.Object { | 30 | public class EditConnectionDialog : GLib.Object { |
51 | 22 | 31 | ||
52 | 23 | public signal void response(int type); | 32 | public signal void response(int type); |
53 | @@ -49,6 +58,10 @@ | |||
54 | 49 | private Gtk.Entry entry_nameservers; | 58 | private Gtk.Entry entry_nameservers; |
55 | 50 | private Gtk.Entry entry_domains; | 59 | private Gtk.Entry entry_domains; |
56 | 51 | 60 | ||
57 | 61 | private Gtk.Notebook notebook_sections; | ||
58 | 62 | // private NotebookPage pages[]; | ||
59 | 63 | private Gee.ArrayList<NotebookPage> pages; | ||
60 | 64 | |||
61 | 52 | // button_cancel here is an _ugly_ workaround to get signals from | 65 | // button_cancel here is an _ugly_ workaround to get signals from |
62 | 53 | // objects working, reason for this is complete unknown | 66 | // objects working, reason for this is complete unknown |
63 | 54 | private string[] hint_labels = { "button_cancel" }; | 67 | private string[] hint_labels = { "button_cancel" }; |
64 | @@ -56,6 +69,8 @@ | |||
65 | 56 | public EditConnectionDialog(Connman.Service connection, string datadir) { | 69 | public EditConnectionDialog(Connman.Service connection, string datadir) { |
66 | 57 | this.connection = connection; | 70 | this.connection = connection; |
67 | 58 | 71 | ||
68 | 72 | this.select_pages(); | ||
69 | 73 | |||
70 | 59 | /// Creation | 74 | /// Creation |
71 | 60 | this.builder = Utils.Gui.new_builder(datadir+"ui/edit_connection_dialog.ui"); | 75 | this.builder = Utils.Gui.new_builder(datadir+"ui/edit_connection_dialog.ui"); |
72 | 61 | this.get_widgets(); | 76 | this.get_widgets(); |
73 | @@ -63,6 +78,68 @@ | |||
74 | 63 | 78 | ||
75 | 64 | this.connect_signals(); | 79 | this.connect_signals(); |
76 | 65 | this.update_widget_values(); | 80 | this.update_widget_values(); |
77 | 81 | |||
78 | 82 | this.update_tabs(); | ||
79 | 83 | } | ||
80 | 84 | |||
81 | 85 | private void select_pages() { | ||
82 | 86 | var pages = new Gee.ArrayList<NotebookPage>(); | ||
83 | 87 | |||
84 | 88 | switch (this.connection.get_service_type()) { | ||
85 | 89 | case Connman.ServiceType.WIFI: | ||
86 | 90 | pages.add(NotebookPage.PAGE_MAIN); | ||
87 | 91 | pages.add(NotebookPage.PAGE_WIRELESS); | ||
88 | 92 | pages.add(NotebookPage.PAGE_IPV4); | ||
89 | 93 | pages.add(NotebookPage.PAGE_IPV6); | ||
90 | 94 | pages.add(NotebookPage.PAGE_DNS); | ||
91 | 95 | break; | ||
92 | 96 | case Connman.ServiceType.ETHERNET: | ||
93 | 97 | pages.add(NotebookPage.PAGE_MAIN); | ||
94 | 98 | pages.add(NotebookPage.PAGE_IPV4); | ||
95 | 99 | pages.add(NotebookPage.PAGE_IPV6); | ||
96 | 100 | pages.add(NotebookPage.PAGE_DNS); | ||
97 | 101 | break; | ||
98 | 102 | case Connman.ServiceType.CELLULAR: | ||
99 | 103 | pages.add(NotebookPage.PAGE_MAIN); | ||
100 | 104 | pages.add(NotebookPage.PAGE_CELLULAR); | ||
101 | 105 | pages.add(NotebookPage.PAGE_IPV4); | ||
102 | 106 | pages.add(NotebookPage.PAGE_IPV6); | ||
103 | 107 | pages.add(NotebookPage.PAGE_DNS); | ||
104 | 108 | break; | ||
105 | 109 | case Connman.ServiceType.BLUETOOTH: | ||
106 | 110 | pages.add(NotebookPage.PAGE_MAIN); | ||
107 | 111 | pages.add(NotebookPage.PAGE_IPV4); | ||
108 | 112 | pages.add(NotebookPage.PAGE_IPV6); | ||
109 | 113 | pages.add(NotebookPage.PAGE_DNS); | ||
110 | 114 | break; | ||
111 | 115 | } | ||
112 | 116 | |||
113 | 117 | this.pages = pages; | ||
114 | 118 | } | ||
115 | 119 | |||
116 | 120 | private void update_tabs() { | ||
117 | 121 | /* | ||
118 | 122 | * As page numbers change as pages are removed it's important to | ||
119 | 123 | * remove the pages from the end. | ||
120 | 124 | */ | ||
121 | 125 | |||
122 | 126 | if (!(NotebookPage.PAGE_DNS in this.pages)) | ||
123 | 127 | this.notebook_sections.remove_page(NotebookPage.PAGE_DNS); | ||
124 | 128 | |||
125 | 129 | if (!(NotebookPage.PAGE_IPV6 in this.pages)) | ||
126 | 130 | this.notebook_sections.remove_page(NotebookPage.PAGE_IPV6); | ||
127 | 131 | |||
128 | 132 | if (!(NotebookPage.PAGE_IPV4 in this.pages)) | ||
129 | 133 | this.notebook_sections.remove_page(NotebookPage.PAGE_IPV4); | ||
130 | 134 | |||
131 | 135 | if (!(NotebookPage.PAGE_CELLULAR in this.pages)) | ||
132 | 136 | this.notebook_sections.remove_page(NotebookPage.PAGE_CELLULAR); | ||
133 | 137 | |||
134 | 138 | if (!(NotebookPage.PAGE_WIRELESS in this.pages)) | ||
135 | 139 | this.notebook_sections.remove_page(NotebookPage.PAGE_WIRELESS); | ||
136 | 140 | |||
137 | 141 | if (!(NotebookPage.PAGE_MAIN in this.pages)) | ||
138 | 142 | this.notebook_sections.remove_page(NotebookPage.PAGE_MAIN); | ||
139 | 66 | } | 143 | } |
140 | 67 | 144 | ||
141 | 68 | private void create_extra_widgets() { | 145 | private void create_extra_widgets() { |
142 | @@ -129,6 +206,8 @@ | |||
143 | 129 | /* dns */ | 206 | /* dns */ |
144 | 130 | this.entry_nameservers = b.get_object("entry_nameservers") as Gtk.Entry; | 207 | this.entry_nameservers = b.get_object("entry_nameservers") as Gtk.Entry; |
145 | 131 | this.entry_domains = b.get_object("entry_domains") as Gtk.Entry; | 208 | this.entry_domains = b.get_object("entry_domains") as Gtk.Entry; |
146 | 209 | |||
147 | 210 | this.notebook_sections = b.get_object("notebook_sections") as Gtk.Notebook; | ||
148 | 132 | } | 211 | } |
149 | 133 | 212 | ||
150 | 134 | private void connect_signals() { | 213 | private void connect_signals() { |
151 | 135 | 214 | ||
152 | === modified file 'src/settings/ui/edit_connection_dialog.ui' | |||
153 | --- src/settings/ui/edit_connection_dialog.ui 2011-02-16 17:31:48 +0000 | |||
154 | +++ src/settings/ui/edit_connection_dialog.ui 2011-03-17 13:31:26 +0000 | |||
155 | @@ -13,10 +13,10 @@ | |||
156 | 13 | <property name="border_width">12</property> | 13 | <property name="border_width">12</property> |
157 | 14 | <property name="spacing">6</property> | 14 | <property name="spacing">6</property> |
158 | 15 | <child> | 15 | <child> |
160 | 16 | <object class="GtkNotebook" id="notebook1"> | 16 | <object class="GtkNotebook" id="notebook_sections"> |
161 | 17 | <property name="visible">True</property> | 17 | <property name="visible">True</property> |
162 | 18 | <property name="can_focus">True</property> | 18 | <property name="can_focus">True</property> |
164 | 19 | <child> | 19 | <child> <!-- main --> |
165 | 20 | <object class="GtkAlignment" id="alignment1"> | 20 | <object class="GtkAlignment" id="alignment1"> |
166 | 21 | <property name="visible">True</property> | 21 | <property name="visible">True</property> |
167 | 22 | <property name="top_padding">12</property> | 22 | <property name="top_padding">12</property> |
168 | @@ -80,8 +80,8 @@ | |||
169 | 80 | <packing> | 80 | <packing> |
170 | 81 | <property name="tab_fill">False</property> | 81 | <property name="tab_fill">False</property> |
171 | 82 | </packing> | 82 | </packing> |
174 | 83 | </child> | 83 | </child> <!-- main --> |
175 | 84 | <child> | 84 | <child> <!-- wireless --> |
176 | 85 | <object class="GtkAlignment" id="alignment2"> | 85 | <object class="GtkAlignment" id="alignment2"> |
177 | 86 | <property name="visible">True</property> | 86 | <property name="visible">True</property> |
178 | 87 | <property name="top_padding">12</property> | 87 | <property name="top_padding">12</property> |
179 | @@ -187,8 +187,61 @@ | |||
180 | 187 | <property name="position">1</property> | 187 | <property name="position">1</property> |
181 | 188 | <property name="tab_fill">False</property> | 188 | <property name="tab_fill">False</property> |
182 | 189 | </packing> | 189 | </packing> |
183 | 190 | </child> <!--wireless end--> | ||
184 | 191 | <child> <!--cellular--> | ||
185 | 192 | <object class="GtkAlignment" id="alignment6"> | ||
186 | 193 | <property name="visible">True</property> | ||
187 | 194 | <property name="top_padding">12</property> | ||
188 | 195 | <property name="bottom_padding">12</property> | ||
189 | 196 | <property name="left_padding">24</property> | ||
190 | 197 | <property name="right_padding">12</property> | ||
191 | 198 | <child> | ||
192 | 199 | <object class="GtkTable" id="table_main5"> | ||
193 | 200 | <property name="visible">True</property> | ||
194 | 201 | <property name="n_columns">2</property> | ||
195 | 202 | <property name="column_spacing">6</property> | ||
196 | 203 | <property name="row_spacing">6</property> | ||
197 | 204 | <child> | ||
198 | 205 | <object class="GtkLabel" id="label12"> | ||
199 | 206 | <property name="visible">True</property> | ||
200 | 207 | <property name="xalign">1</property> | ||
201 | 208 | <property name="label" translatable="yes">APN:</property> | ||
202 | 209 | </object> | ||
203 | 210 | <packing> | ||
204 | 211 | <property name="x_options">GTK_FILL</property> | ||
205 | 212 | <property name="y_options">GTK_FILL</property> | ||
206 | 213 | </packing> | ||
207 | 214 | </child> | ||
208 | 215 | <child> | ||
209 | 216 | <object class="GtkEntry" id="entry_apn"> | ||
210 | 217 | <property name="visible">True</property> | ||
211 | 218 | <property name="can_focus">True</property> | ||
212 | 219 | <property name="invisible_char">●</property> | ||
213 | 220 | </object> | ||
214 | 221 | <packing> | ||
215 | 222 | <property name="left_attach">1</property> | ||
216 | 223 | <property name="right_attach">2</property> | ||
217 | 224 | <property name="y_options">GTK_FILL</property> | ||
218 | 225 | </packing> | ||
219 | 226 | </child> | ||
220 | 227 | </object> | ||
221 | 228 | </child> | ||
222 | 229 | </object> | ||
223 | 230 | <packing> | ||
224 | 231 | <property name="position">2</property> | ||
225 | 232 | </packing> | ||
226 | 190 | </child> | 233 | </child> |
228 | 191 | <child> | 234 | <child type="tab"> |
229 | 235 | <object class="GtkLabel" id="label8"> | ||
230 | 236 | <property name="visible">True</property> | ||
231 | 237 | <property name="label" translatable="yes">Cellular</property> | ||
232 | 238 | </object> | ||
233 | 239 | <packing> | ||
234 | 240 | <property name="position">2</property> | ||
235 | 241 | <property name="tab_fill">False</property> | ||
236 | 242 | </packing> | ||
237 | 243 | </child> <!-- cellular --> | ||
238 | 244 | <child> <!-- ipv4 --> | ||
239 | 192 | <object class="GtkAlignment" id="alignment4"> | 245 | <object class="GtkAlignment" id="alignment4"> |
240 | 193 | <property name="visible">True</property> | 246 | <property name="visible">True</property> |
241 | 194 | <property name="top_padding">12</property> | 247 | <property name="top_padding">12</property> |
242 | @@ -308,7 +361,7 @@ | |||
243 | 308 | </child> | 361 | </child> |
244 | 309 | </object> | 362 | </object> |
245 | 310 | <packing> | 363 | <packing> |
247 | 311 | <property name="position">2</property> | 364 | <property name="position">3</property> |
248 | 312 | </packing> | 365 | </packing> |
249 | 313 | </child> | 366 | </child> |
250 | 314 | <child type="tab"> | 367 | <child type="tab"> |
251 | @@ -317,92 +370,11 @@ | |||
252 | 317 | <property name="label" translatable="yes">IPv4</property> | 370 | <property name="label" translatable="yes">IPv4</property> |
253 | 318 | </object> | 371 | </object> |
254 | 319 | <packing> | 372 | <packing> |
341 | 320 | <property name="position">5</property> | 373 | <property name="position">3</property> |
342 | 321 | <property name="tab_fill">False</property> | 374 | <property name="tab_fill">False</property> |
343 | 322 | </packing> | 375 | </packing> |
344 | 323 | </child> | 376 | </child> <!--ipv4 --> |
345 | 324 | <child> | 377 | <child> <!-- ipv6 --> |
260 | 325 | <object class="GtkAlignment" id="alignment3"> | ||
261 | 326 | <property name="visible">True</property> | ||
262 | 327 | <property name="top_padding">12</property> | ||
263 | 328 | <property name="bottom_padding">12</property> | ||
264 | 329 | <property name="left_padding">24</property> | ||
265 | 330 | <property name="right_padding">12</property> | ||
266 | 331 | <child> | ||
267 | 332 | <object class="GtkTable" id="table_dns"> | ||
268 | 333 | <property name="visible">True</property> | ||
269 | 334 | <property name="n_rows">2</property> | ||
270 | 335 | <property name="n_columns">2</property> | ||
271 | 336 | <property name="column_spacing">6</property> | ||
272 | 337 | <property name="row_spacing">6</property> | ||
273 | 338 | <child> | ||
274 | 339 | <object class="GtkLabel" id="label6"> | ||
275 | 340 | <property name="visible">True</property> | ||
276 | 341 | <property name="xalign">1</property> | ||
277 | 342 | <property name="label" translatable="yes">Namerservers:</property> | ||
278 | 343 | </object> | ||
279 | 344 | <packing> | ||
280 | 345 | <property name="x_options">GTK_FILL</property> | ||
281 | 346 | <property name="y_options">GTK_FILL</property> | ||
282 | 347 | </packing> | ||
283 | 348 | </child> | ||
284 | 349 | <child> | ||
285 | 350 | <object class="GtkLabel" id="label18"> | ||
286 | 351 | <property name="visible">True</property> | ||
287 | 352 | <property name="xalign">1</property> | ||
288 | 353 | <property name="label" translatable="yes">Domain names:</property> | ||
289 | 354 | </object> | ||
290 | 355 | <packing> | ||
291 | 356 | <property name="top_attach">1</property> | ||
292 | 357 | <property name="bottom_attach">2</property> | ||
293 | 358 | <property name="x_options">GTK_FILL</property> | ||
294 | 359 | <property name="y_options">GTK_FILL</property> | ||
295 | 360 | </packing> | ||
296 | 361 | </child> | ||
297 | 362 | <child> | ||
298 | 363 | <object class="GtkEntry" id="entry_nameservers"> | ||
299 | 364 | <property name="visible">True</property> | ||
300 | 365 | <property name="can_focus">True</property> | ||
301 | 366 | <property name="invisible_char">●</property> | ||
302 | 367 | </object> | ||
303 | 368 | <packing> | ||
304 | 369 | <property name="left_attach">1</property> | ||
305 | 370 | <property name="right_attach">2</property> | ||
306 | 371 | <property name="y_options">GTK_FILL</property> | ||
307 | 372 | </packing> | ||
308 | 373 | </child> | ||
309 | 374 | <child> | ||
310 | 375 | <object class="GtkEntry" id="entry_domains"> | ||
311 | 376 | <property name="visible">True</property> | ||
312 | 377 | <property name="can_focus">True</property> | ||
313 | 378 | <property name="invisible_char">●</property> | ||
314 | 379 | </object> | ||
315 | 380 | <packing> | ||
316 | 381 | <property name="left_attach">1</property> | ||
317 | 382 | <property name="right_attach">2</property> | ||
318 | 383 | <property name="top_attach">1</property> | ||
319 | 384 | <property name="bottom_attach">2</property> | ||
320 | 385 | <property name="y_options">GTK_FILL</property> | ||
321 | 386 | </packing> | ||
322 | 387 | </child> | ||
323 | 388 | </object> | ||
324 | 389 | </child> | ||
325 | 390 | </object> | ||
326 | 391 | <packing> | ||
327 | 392 | <property name="position">3</property> | ||
328 | 393 | </packing> | ||
329 | 394 | </child> | ||
330 | 395 | <child type="tab"> | ||
331 | 396 | <object class="GtkLabel" id="label3"> | ||
332 | 397 | <property name="visible">True</property> | ||
333 | 398 | <property name="label" translatable="yes">DNS</property> | ||
334 | 399 | </object> | ||
335 | 400 | <packing> | ||
336 | 401 | <property name="position">3</property> | ||
337 | 402 | <property name="tab_fill">False</property> | ||
338 | 403 | </packing> | ||
339 | 404 | </child> | ||
340 | 405 | <child> | ||
346 | 406 | <object class="GtkAlignment" id="alignment5"> | 378 | <object class="GtkAlignment" id="alignment5"> |
347 | 407 | <property name="visible">True</property> | 379 | <property name="visible">True</property> |
348 | 408 | <property name="top_padding">12</property> | 380 | <property name="top_padding">12</property> |
349 | @@ -534,40 +506,68 @@ | |||
350 | 534 | <property name="position">4</property> | 506 | <property name="position">4</property> |
351 | 535 | <property name="tab_fill">False</property> | 507 | <property name="tab_fill">False</property> |
352 | 536 | </packing> | 508 | </packing> |
356 | 537 | </child> | 509 | </child> <!-- ipv6 --> |
357 | 538 | <child> | 510 | <child> <!--dns --> |
358 | 539 | <object class="GtkAlignment" id="alignment6"> | 511 | <object class="GtkAlignment" id="alignment3"> |
359 | 540 | <property name="visible">True</property> | 512 | <property name="visible">True</property> |
360 | 541 | <property name="top_padding">12</property> | 513 | <property name="top_padding">12</property> |
361 | 542 | <property name="bottom_padding">12</property> | 514 | <property name="bottom_padding">12</property> |
362 | 543 | <property name="left_padding">24</property> | 515 | <property name="left_padding">24</property> |
363 | 544 | <property name="right_padding">12</property> | 516 | <property name="right_padding">12</property> |
364 | 545 | <child> | 517 | <child> |
366 | 546 | <object class="GtkTable" id="table_main5"> | 518 | <object class="GtkTable" id="table_dns"> |
367 | 547 | <property name="visible">True</property> | 519 | <property name="visible">True</property> |
368 | 520 | <property name="n_rows">2</property> | ||
369 | 548 | <property name="n_columns">2</property> | 521 | <property name="n_columns">2</property> |
370 | 549 | <property name="column_spacing">6</property> | 522 | <property name="column_spacing">6</property> |
371 | 550 | <property name="row_spacing">6</property> | 523 | <property name="row_spacing">6</property> |
372 | 551 | <child> | 524 | <child> |
392 | 552 | <object class="GtkLabel" id="label12"> | 525 | <object class="GtkLabel" id="label6"> |
393 | 553 | <property name="visible">True</property> | 526 | <property name="visible">True</property> |
394 | 554 | <property name="xalign">1</property> | 527 | <property name="xalign">1</property> |
395 | 555 | <property name="label" translatable="yes">APN:</property> | 528 | <property name="label" translatable="yes">Namerservers:</property> |
396 | 556 | </object> | 529 | </object> |
397 | 557 | <packing> | 530 | <packing> |
398 | 558 | <property name="x_options">GTK_FILL</property> | 531 | <property name="x_options">GTK_FILL</property> |
399 | 559 | <property name="y_options">GTK_FILL</property> | 532 | <property name="y_options">GTK_FILL</property> |
400 | 560 | </packing> | 533 | </packing> |
401 | 561 | </child> | 534 | </child> |
402 | 562 | <child> | 535 | <child> |
403 | 563 | <object class="GtkEntry" id="entry_apn"> | 536 | <object class="GtkLabel" id="label18"> |
404 | 564 | <property name="visible">True</property> | 537 | <property name="visible">True</property> |
405 | 565 | <property name="can_focus">True</property> | 538 | <property name="xalign">1</property> |
406 | 566 | <property name="invisible_char">●</property> | 539 | <property name="label" translatable="yes">Domain names:</property> |
407 | 567 | </object> | 540 | </object> |
408 | 568 | <packing> | 541 | <packing> |
409 | 569 | <property name="left_attach">1</property> | 542 | <property name="top_attach">1</property> |
410 | 570 | <property name="right_attach">2</property> | 543 | <property name="bottom_attach">2</property> |
411 | 544 | <property name="x_options">GTK_FILL</property> | ||
412 | 545 | <property name="y_options">GTK_FILL</property> | ||
413 | 546 | </packing> | ||
414 | 547 | </child> | ||
415 | 548 | <child> | ||
416 | 549 | <object class="GtkEntry" id="entry_nameservers"> | ||
417 | 550 | <property name="visible">True</property> | ||
418 | 551 | <property name="can_focus">True</property> | ||
419 | 552 | <property name="invisible_char">●</property> | ||
420 | 553 | </object> | ||
421 | 554 | <packing> | ||
422 | 555 | <property name="left_attach">1</property> | ||
423 | 556 | <property name="right_attach">2</property> | ||
424 | 557 | <property name="y_options">GTK_FILL</property> | ||
425 | 558 | </packing> | ||
426 | 559 | </child> | ||
427 | 560 | <child> | ||
428 | 561 | <object class="GtkEntry" id="entry_domains"> | ||
429 | 562 | <property name="visible">True</property> | ||
430 | 563 | <property name="can_focus">True</property> | ||
431 | 564 | <property name="invisible_char">●</property> | ||
432 | 565 | </object> | ||
433 | 566 | <packing> | ||
434 | 567 | <property name="left_attach">1</property> | ||
435 | 568 | <property name="right_attach">2</property> | ||
436 | 569 | <property name="top_attach">1</property> | ||
437 | 570 | <property name="bottom_attach">2</property> | ||
438 | 571 | <property name="y_options">GTK_FILL</property> | 571 | <property name="y_options">GTK_FILL</property> |
439 | 572 | </packing> | 572 | </packing> |
440 | 573 | </child> | 573 | </child> |
441 | @@ -579,15 +579,15 @@ | |||
442 | 579 | </packing> | 579 | </packing> |
443 | 580 | </child> | 580 | </child> |
444 | 581 | <child type="tab"> | 581 | <child type="tab"> |
446 | 582 | <object class="GtkLabel" id="label8"> | 582 | <object class="GtkLabel" id="label3"> |
447 | 583 | <property name="visible">True</property> | 583 | <property name="visible">True</property> |
449 | 584 | <property name="label" translatable="yes">Cellular</property> | 584 | <property name="label" translatable="yes">DNS</property> |
450 | 585 | </object> | 585 | </object> |
451 | 586 | <packing> | 586 | <packing> |
452 | 587 | <property name="position">5</property> | 587 | <property name="position">5</property> |
453 | 588 | <property name="tab_fill">False</property> | 588 | <property name="tab_fill">False</property> |
454 | 589 | </packing> | 589 | </packing> |
456 | 590 | </child> | 590 | </child> <!--dns--> |
457 | 591 | </object> | 591 | </object> |
458 | 592 | <packing> | 592 | <packing> |
459 | 593 | <property name="position">0</property> | 593 | <property name="position">0</property> |