[network-manager-applet] connection-editor: fix crash when no VPN plugins are installed



commit 99ded2dcc8ba4d176d18307479af1fa79dd16b99
Author: Dan Winship <danw gnome org>
Date:   Wed Oct 10 11:06:49 2012 -0400

    connection-editor: fix crash when no VPN plugins are installed
    
    If there are no VPN plugins installed, then the NMVpnPluginUiInterface
    type will never get registered, which will cause GtkBuilder to choke
    when it sees that type name in the model for the New Connection combo
    box. Fix this by making the column just a GObject instead.

 src/connection-editor/ce-new-connection.ui |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/connection-editor/ce-new-connection.ui b/src/connection-editor/ce-new-connection.ui
index b00de3e..ca0372d 100644
--- a/src/connection-editor/ce-new-connection.ui
+++ b/src/connection-editor/ce-new-connection.ui
@@ -173,7 +173,7 @@ If you are creating a VPN, and the VPN connection you wish to create does not ap
       <!-- column-name new_func -->
       <column type="gpointer"/>
       <!-- column-name vpn_plugin -->
-      <column type="NMVpnPluginUiInterface"/>
+      <column type="GObject"/>
     </columns>
   </object>
 </interface>



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