Package: network-manager-strongswan Version: 1.3.0-2 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu wily ubuntu-patch
Steps to reproduce: 1) Run gnome-control-center and click Network. 2) Click the + icon to add a connection 3) Click VPN 4) Click IPsec/IKEv2 (strongswan) Expected results: A configuration window opens with settings for an IKEv2 VPN. Actual results: A configuration window opens, but all of the strongswan-specific settings are missing. If gnome-control-center is started from the console, this error is printed: (gnome-control-center.real:24177): Gtk-CRITICAL **: gtk_box_pack: assertion 'gtk_widget_get_parent (child) == NULL' failed In Ubuntu, the attached patch by Michal Bruncko was applied to fix it. Thanks for considering the patch. -- System Information: Debian Release: jessie/sid APT prefers wily-updates APT policy: (500, 'wily-updates'), (500, 'wily-security'), (500, 'wily') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.2.0-7-generic (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
diff -Nru network-manager-strongswan-1.3.0/debian/patches/fix-vbox-parent.patch network-manager-strongswan-1.3.0/debian/patches/fix-vbox-parent.patch --- network-manager-strongswan-1.3.0/debian/patches/fix-vbox-parent.patch 1969-12-31 19:00:00.000000000 -0500 +++ network-manager-strongswan-1.3.0/debian/patches/fix-vbox-parent.patch 2015-09-16 14:21:28.000000000 -0400 @@ -0,0 +1,22 @@ +Index: network-manager-strongswan-1.3.0/properties/nm-strongswan-dialog.ui +=================================================================== +--- network-manager-strongswan-1.3.0.orig/properties/nm-strongswan-dialog.ui ++++ network-manager-strongswan-1.3.0/properties/nm-strongswan-dialog.ui +@@ -1,10 +1,6 @@ + <?xml version="1.0" encoding="UTF-8"?> + <interface> + <!-- interface-requires gtk+ 2.12 --> +- <object class="GtkWindow" id="strongswan-widget"> +- <property name="can_focus">False</property> +- <property name="title" translatable="yes">window1</property> +- <child> + <object class="GtkVBox" id="strongswan-vbox"> + <property name="visible">True</property> + <property name="can_focus">False</property> +@@ -374,6 +370,4 @@ + </packing> + </child> + </object> +- </child> +- </object> + </interface> diff -Nru network-manager-strongswan-1.3.0/debian/patches/series network-manager-strongswan-1.3.0/debian/patches/series --- network-manager-strongswan-1.3.0/debian/patches/series 2015-02-04 13:21:59.000000000 -0500 +++ network-manager-strongswan-1.3.0/debian/patches/series 2015-09-16 14:20:51.000000000 -0400 @@ -1,2 +1,3 @@ nm-strongswan-service.name.diff allow_deprecated_keyring_functions.diff +fix-vbox-parent.patch