patch

=== modified file 'ChangeLog'
--- a/ChangeLog 2009-04-13 13:21:42 +0000
+++ b/ChangeLog 2009-04-15 14:15:20 +0000
@@ -1,8 +1,14 @@
+2009-04-15  Alexander Sack  <a...@ubuntu.com>
+
+       * src/connection-editor/nm-connection-list.c
+               - (add_done_cb): prevent assertion crash when editor dialogs are
+                       cancelled
+
 2009-04-12  Dan Williams  <d...@redhat.com>
 
        * Tag 0.7.1
 
 2009-04-04  Dan Williams  <d...@redhat.com>
 
        * Tag 0.7.1-rc4 (0.7.0.100)
 

=== modified file 'src/connection-editor/nm-connection-list.c'
--- a/src/connection-editor/nm-connection-list.c        2009-04-08 14:16:14 
+0000
+++ b/src/connection-editor/nm-connection-list.c        2009-04-15 14:12:47 
+0000
@@ -735,16 +735,18 @@ add_done_cb (NMConnectionEditor *editor,
                        message = error->message;
                error_dialog (GTK_WINDOW (editor->window),
                              _("Error initializing editor"),
                              "%s", message);
                break;
        case GTK_RESPONSE_OK:
                add_connection (info->list, editor, connection, NULL, NULL);
                break;
+       case GTK_RESPONSE_CANCEL:
+               break;
        default:
                g_assert_not_reached ();
                break;
        }
 
        g_hash_table_remove (info->list->editors, connection);
 }
 


** Changed in: network-manager (Ubuntu)
   Importance: Undecided => High

** Changed in: network-manager (Ubuntu)
       Status: New => In Progress

** Changed in: network-manager (Ubuntu)
    Milestone: None => later

** Changed in: network-manager (Ubuntu)
     Assignee: (unassigned) => Alexander Sack (asac)

** Also affects: network-manager (Ubuntu Jaunty)
   Importance: High
     Assignee: Alexander Sack (asac)
       Status: In Progress

-- 
nm-connection-editor crashs after clicking Cancel in the "add new connection" 
dialog
https://bugs.launchpad.net/bugs/361115
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to