~ubuntu-branches/ubuntu/edgy/gnome-system-tools/edgy-proposed

« back to all changes in this revision

Viewing changes to src/network/network-tool.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2006-09-08 12:57:14 UTC
  • mfrom: (1.1.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20060908125714-vxhohmumvdfzex1u
Tags: 2.15.4-0ubuntu1
* New upstream version:
  Network:
  - Set the last selected profile as the default name in the "save location" 
    dialog. Other wording and GUI improvements 
  - Show the interface name in the UI if there's more than one interface of 
    the same type. (Ubuntu: #56888)
* debian/patches/83_network-locations-apply-button.dpatch:
  - updated

Show diffs side-by-side

added added

removed removed

Lines of Context:
192
192
  OobsListIter iter;
193
193
  GObject *iface;
194
194
  gboolean valid;
 
195
  gint n_items;
195
196
 
196
197
  valid = oobs_list_get_iter_first (list, &iter);
 
198
  n_items = oobs_list_get_n_items (list);
197
199
 
198
200
  while (valid)
199
201
    {
200
202
      iface = oobs_list_get (list, &iter);
201
 
      ifaces_model_add_interface (OOBS_IFACE (iface));
 
203
      ifaces_model_add_interface (OOBS_IFACE (iface), (n_items > 1));
202
204
 
203
205
      g_object_unref (iface);
204
206
      valid = oobs_list_iter_next (list, &iter);