[network-manager-applet] connection-editor: fix a display bug in the "new connection" popup



commit 99ac6f7158dae73328c8c85134207826b119dda2
Author: Dan Winship <danw gnome org>
Date:   Thu Nov 1 16:13:36 2012 -0400

    connection-editor: fix a display bug in the "new connection" popup

 src/connection-editor/new-connection.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/connection-editor/new-connection.c b/src/connection-editor/new-connection.c
index 858d56a..4a6e1a6 100644
--- a/src/connection-editor/new-connection.c
+++ b/src/connection-editor/new-connection.c
@@ -261,7 +261,7 @@ set_up_connection_type_combo (GtkComboBox *combo,
 		} else if (list[i].setting_type == NM_TYPE_SETTING_WIRED)
 			active = added;
 
-		if (list[i].virtual && !added_virtual_header) {
+		if (list[i].virtual && !added_virtual_header && show_headers) {
 			markup = g_strdup_printf ("<b><big>%s</big></b>", _("Virtual"));
 			gtk_list_store_append (model, &iter);
 			gtk_list_store_set (model, &iter,



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