From Nathan Jennings (bug 2350):
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 12 Mar 2008 07:16:25 +0000 (07:16 +0000)
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 12 Mar 2008 07:16:25 +0000 (07:16 +0000)
Highlight the selected interface in the edit interfaces list.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24609 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/capture_prefs.c

index d2b22f093b4c3c4d41cfdaa1972b6bcc66a96b2f..2ccd07fb5988cf176ec634481cb421510a126d6a 100644 (file)
@@ -583,7 +583,7 @@ ifopts_options_add(GtkCList *clist, if_info_t *if_info)
                                                        /* add row to CList */
                                                        row = gtk_clist_append(GTK_CLIST(clist), text);
                                                        gtk_clist_set_selectable(GTK_CLIST(clist), row,
-                                                                       FALSE);
+                                                                       TRUE);
                                                        ifopts_options_free(text);
                                                        break;
                                                }
@@ -619,7 +619,7 @@ ifopts_options_add(GtkCList *clist, if_info_t *if_info)
 
                        /* add row to CList */
                        row = gtk_clist_append(GTK_CLIST(clist), text);
-                       gtk_clist_set_selectable(GTK_CLIST(clist), row, FALSE);
+                       gtk_clist_set_selectable(GTK_CLIST(clist), row, TRUE);
                        ifopts_options_free(text);
                }
 
@@ -646,7 +646,7 @@ ifopts_options_add(GtkCList *clist, if_info_t *if_info)
 
                /* add row to CList */
                row = gtk_clist_append(GTK_CLIST(clist), text);
-               gtk_clist_set_selectable(GTK_CLIST(clist), row, FALSE);
+               gtk_clist_set_selectable(GTK_CLIST(clist), row, TRUE);
                ifopts_options_free(text);
        }
        /*
@@ -667,7 +667,7 @@ ifopts_options_add(GtkCList *clist, if_info_t *if_info)
 
                /* add row to CList */
                row = gtk_clist_append(GTK_CLIST(clist), text);
-               gtk_clist_set_selectable(GTK_CLIST(clist), row, FALSE);
+               gtk_clist_set_selectable(GTK_CLIST(clist), row, TRUE);
                ifopts_options_free(text);
        }
 }