[cinnamon-control-center] ix mobile broadband setup menu
leigh123linux
leigh123linux at fedoraproject.org
Wed Nov 26 19:00:14 UTC 2014
commit 332e307e145ecf6fad43bbfa0d950664d5f99d31
Author: leigh123linux <leigh123linux at googlemail.com>
Date: Wed Nov 26 19:00:05 2014 +0000
ix mobile broadband setup menu
cinnamon-control-center.spec | 8 +++++++-
mobile_network.patch | 22 ++++++++++++++++++++++
2 files changed, 29 insertions(+), 1 deletions(-)
---
diff --git a/cinnamon-control-center.spec b/cinnamon-control-center.spec
index 0ccc0c1..73b6c80 100644
--- a/cinnamon-control-center.spec
+++ b/cinnamon-control-center.spec
@@ -9,7 +9,7 @@
Summary: Utilities to configure the Cinnamon desktop
Name: cinnamon-control-center
Version: 2.4.1
-Release: 1%{?dist}
+Release: 2%{?dist}
# The following files contain code from
# ISC for panels/network/rfkill.h
# And MIT for wacom/calibrator/calibrator.c
@@ -27,6 +27,8 @@ URL: http://cinnamon.linuxmint.com
Source0: http://leigh123linux.fedorapeople.org/pub/cinnamon-control-center/source/cinnamon-control-center-%{version}.tar.gz
Source1: http://packages.linuxmint.com/pool/main/m/mint-artwork-cinnamon/mint-artwork-cinnamon_%{_artwork_version}.tar.gz
+Patch0: mobile_network.patch
+
Requires: cinnamon-settings-daemon >= %{csd_version}
Requires: redhat-menus >= %{redhat_menus_version}
Requires: hicolor-icon-theme
@@ -115,6 +117,7 @@ utilities for testing Metacity/Muffin themes.
%prep
%setup -q
+%patch0 -p1
tar -xf %{SOURCE1}
NOCONFIGURE=1 ./autogen.sh
@@ -209,6 +212,9 @@ fi
%{_libdir}/pkgconfig/libcinnamon-control-center.pc
%changelog
+* Wed Nov 26 2014 Leigh Scott <leigh123linux at googlemail.com> - 2.4.1-2
+- fix mobile broadband setup menu
+
* Wed Nov 12 2014 Leigh Scott <leigh123linux at googlemail.com> - 2.4.1-1
- update to 2.4.1
diff --git a/mobile_network.patch b/mobile_network.patch
new file mode 100644
index 0000000..84389e5
--- /dev/null
+++ b/mobile_network.patch
@@ -0,0 +1,22 @@
+diff --git a/panels/network/net-device-mobile.c b/panels/network/net-device-mobile.c
+index 53ddea7..2cb9192 100644
+--- a/panels/network/net-device-mobile.c
++++ b/panels/network/net-device-mobile.c
+@@ -120,7 +120,6 @@ mobile_connection_changed_cb (GtkComboBox *combo_box, NetDeviceMobile *device_mo
+ NMClient *client;
+ NMRemoteSettings *remote_settings;
+ CcNetworkPanel *panel;
+- GtkWidget *toplevel;
+
+ if (device_mobile->priv->updating_device)
+ goto out;
+@@ -142,8 +141,7 @@ mobile_connection_changed_cb (GtkComboBox *combo_box, NetDeviceMobile *device_mo
+ -1);
+ if (g_strcmp0 (object_path, NULL) == 0) {
+ panel = net_object_get_panel (NET_OBJECT (device_mobile));
+- toplevel = cc_shell_get_toplevel (cc_panel_get_shell (CC_PANEL (panel)));
+- cc_network_panel_connect_to_3g_network (toplevel,
++ cc_network_panel_connect_to_3g_network (GTK_WIDGET (panel),
+ client,
+ remote_settings,
+ device);
More information about the scm-commits
mailing list