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

« back to all changes in this revision

Viewing changes to src/network/hosts.c

  • Committer: Bazaar Package Importer
  • Author(s): Emilio Pozuelo Monfort
  • Date: 2007-12-20 23:22:31 UTC
  • mfrom: (1.1.27 upstream)
  • Revision ID: james.westby@ubuntu.com-20071220232231-y4lyk1l7hpfgslri
Tags: 2.21.3-0ubuntu1
* New upstream release.
  - Network: Support PPPoE/GPRS/UMTS interfaces.
  - Shares: Handle SMB passwords.
  - Common: Improvements to UI locking
  - Ask whether to update config if the user is editing configuration
    and the backends detect some change
  - Translations
    + be@latin (Ihar Hrachyshka)
    + es (Jorge Gonzalez)
    + nb (Kjartan Maraas)
    + ru (Vasiliy Faronov)
    + sv (Daniel Nylander)

* debian/control:
  - Require liboobs >= 2.21.3 in build-depends.
* debian/patches/23_users_update_model.dpatch:
  - Updated for the new release.
* debian/patches/98_automake.dpatch:
  - Regenerated.

Show diffs side-by-side

added added

removed removed

Lines of Context:
346
346
}
347
347
 
348
348
void
349
 
host_aliases_run_dialog (GtkTreeIter *iter)
 
349
host_aliases_run_dialog (GstNetworkTool *network_tool,
 
350
                         GtkTreeIter    *iter)
350
351
{
351
 
  GtkTreeView *list;
352
 
  GtkTreeModel *model;
 
352
  GstTool *tool;
353
353
  GtkWidget *dialog;
 
354
  GtkTreeView *list;
 
355
  GtkTreeModel *model;
354
356
  gint response;
355
357
  OobsStaticHost *host = NULL;
356
358
 
364
366
                          -1);
365
367
    }
366
368
 
367
 
  dialog = gst_dialog_get_widget (tool->main_dialog, "host_aliases_edit_dialog");
 
369
  tool = GST_TOOL (network_tool);
 
370
  dialog = network_tool->host_aliases_dialog;
368
371
  host_aliases_dialog_prepare (host);
369
372
 
370
 
  gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (tool->main_dialog));
 
373
  gst_dialog_add_edit_dialog (tool->main_dialog, dialog);
 
374
 
 
375
  gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (GST_TOOL (tool)->main_dialog));
371
376
  response = gtk_dialog_run (GTK_DIALOG (dialog));
372
377
  gtk_widget_hide (dialog);
373
378
 
 
379
  gst_dialog_remove_edit_dialog (tool->main_dialog, dialog);
 
380
 
374
381
  if (response == GTK_RESPONSE_OK)
375
382
    host_aliases_dialog_save (iter);
376
383