diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2019-03-15 16:52:11 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2019-05-24 11:52:26 +0200 |
commit | 9d6ac4f36ce15ddec873016402e26465d1fe7546 (patch) | |
tree | 36e38ebe6196c29dd6c372dcfec937146bb407d6 | |
parent | 01e8115d92a20517bf2706d8b9d26f74d6cefa9a (diff) | |
download | network-manager-applet-9d6ac4f36ce15ddec873016402e26465d1fe7546.tar.gz |
nma/mobile-wizard: fix the title on the country page
The label is confusing and the tree view header is redundant. Fix the
label and remove the header.
-rw-r--r-- | src/libnma/nma-mobile-wizard.c | 2 | ||||
-rw-r--r-- | src/libnma/nma-mobile-wizard.ui | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/libnma/nma-mobile-wizard.c b/src/libnma/nma-mobile-wizard.c index 4d47209b..9715c56e 100644 --- a/src/libnma/nma-mobile-wizard.c +++ b/src/libnma/nma-mobile-wizard.c @@ -930,7 +930,7 @@ country_setup (NMAMobileWizard *self) NULL); renderer = gtk_cell_renderer_text_new (); - column = gtk_tree_view_column_new_with_attributes (_("Country or region"), + column = gtk_tree_view_column_new_with_attributes (NULL, renderer, "text", COUNTRIES_COL_NAME, NULL); diff --git a/src/libnma/nma-mobile-wizard.ui b/src/libnma/nma-mobile-wizard.ui index 5e5f2a62..749c7acf 100644 --- a/src/libnma/nma-mobile-wizard.ui +++ b/src/libnma/nma-mobile-wizard.ui @@ -186,7 +186,7 @@ <object class="GtkLabel"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Country or Region List:</property> + <property name="label" translatable="yes">Country or region:</property> <property name="xalign">0</property> </object> <packing> @@ -209,6 +209,7 @@ <property name="hexpand">True</property> <property name="vexpand">True</property> <property name="model">country_sort</property> + <property name="headers_visible">False</property> <property name="search_column">0</property> <signal name="row-activated" handler="country_update_continue" swapped="yes"/> <child internal-child="selection"> |