Hello community, here is the log from the commit of package gnome-control-center for openSUSE:Factory checked in at 2012-10-07 18:59:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnome-control-center (Old) and /work/SRC/openSUSE:Factory/.gnome-control-center.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnome-control-center", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/gnome-control-center/gnome-control-center.changes 2012-08-04 13:07:28.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gnome-control-center.new/gnome-control-center.changes 2012-10-07 18:59:29.000000000 +0200 @@ -1,0 +2,330 @@ +Tue Oct 2 16:29:27 UTC 2012 - [email protected] + +- Add with_ibus condition (currently set to 0), as we do not have + a recent enough version of IBus in Factory at this moment. + + when with_ibus is set to 1; pkconfig(ibus) BuildRequires will + be used and --enable-ibus is being passed to configure + + when with_ibus is set to 0, pkgconfigu(ibus) is being ignored + and --disable-ibus is being passed to configure. + +------------------------------------------------------------------- +Sat Sep 29 19:31:29 UTC 2012 - [email protected] + +- Really replace pkgconfig(gstreamer-0.10) BuildRequires with + pkgconfig(gstreamer-1.0): cheese-devel already correctly pulled + in gstreamer 1.0 devel files, so there is no factual change now. + But it stops us from pulling in GStreamer 0.10 while we don't + need it anymore. + +------------------------------------------------------------------- +Tue Sep 25 14:36:45 UTC 2012 - [email protected] + +- Update to version 3.6.0: + + Network: + - Make connecting to Enterprise WPA Wi-Fi networks work again. + + Region: + - Jump directly to the correct shortcuts section when following + the link. + + Shell: + - Fix broken panels when launching the same one twice + + User Accounts: + - Don't ask for the old password when none is set. + +------------------------------------------------------------------- +Mon Sep 17 19:52:45 UTC 2012 - [email protected] + +- Update to version 3.5.92: + + Ensure that all sources are GPLv2+ instead of a mix of GPLv2+ + and GPLv3+. + + Set blank window titles for a number of dialogues. + + Fix accessible labels for switches. + + Bluetooth: + - Fix setting up dial-up networking for phones. + + Display: + - Fix mouse events not working in preview. + + Background: + - Use a more varied colour palette. + - Fix the small size of the "changes throughout the day" + emblem. + + Network: + - Mark all rows representing saved connections as such. + - Make the 'Settings...' buttons work properly. + - Handle disconnected APs better. + - Show a "Connect" button for disconnected APs. + - Show 'Last used' item for non-active, in-range access points. + - Improve the Wi-Fi list appearance. + + User Accounts: + - Use GStreamer 1.0 + - Fix "enterpise" typo + + Power: + - Fix a wrong use of GCancellable that could lead to crashes. + + Region: + - Use consistent strings for layout/engine names. + - Handle empty layout sources, especially when adding a new + one. + - Handle input sources in the system tab. + - Fix layout problem on the system tab. + - Update IBus engines whitelist. + + Printers: + - Fix building against CUPS 1.6. + + Universal Access: + - Fix whitespace in the zoom options dialogue. + + Screen & Brightness: + - Make notification checkbox focusable. + + Wacom: + - Fix link to docs. +- Replace pkgconfig(gstreamer-0.10) BuildRequires with + pkgconfig(gstreamer-1.0) BuildRequires, due to upstream changes. +- Rebase gcc-private-connection.patch. + +------------------------------------------------------------------- +Wed Sep 12 09:38:20 UTC 2012 - [email protected] + +- Rebase gcc-private-connection.patch. + +------------------------------------------------------------------- +Tue Sep 4 21:32:36 UTC 2012 - [email protected] + +- Update to version 3.5.91: + + Common: + - Fix memory leaks in language sorting + - Fix too big editable labels + + Date & Time: + - Make map look unsensitive when the panel is locked + + Display: + - Fix possible warning on exit + - Make 'Mirrored Displays' string consistent with + GnomeRRLabeler + + Info: + - Add PolicyKit rules for hostname setting + - Set related mime types when changing preferred apps + + Mouse: + - New testing area + - Remove italics from test page + - Fix left/right mouse-handedness radio buttons in RTL + languages + + Network: + - Ignore unrecognised device types + - Fix wired and mobile activations + - Don't try to activate slave connections + + Printers: + - Redesign the "new printer" dialogue + + Region & Language: + - Add Russian and Egyptian Arabic as common languages + - Don't use IBus in fallback mode + - Honor the 'show-all-sources' setting + - Don't block getting the IBus engines + - Expand the default list of input sources + + User Accounts: + - Simplify some drawing code + - Fix login keyring password not getting updated + - Fix match icon not updating in some cases. +- Drop gnome-control-center-bgpanel.patch: fixed upstream. + +------------------------------------------------------------------- +Tue Aug 21 20:47:06 UTC 2012 - [email protected] + +- Update to version 3.5.90: + + Background: + - Implement new design + + Bluetooth: + - Require a newer version of gnome-bluetooth + + Keyboard: + - Add common keyboard layout related options to the shortcuts tab + + Mouse: + - Implement new design, including support for natural scroll + + Network: + - Improve the Wi-Fi page layout + + Online Accounts: + - Allow opening a particular account from the command-line + - Avoid spurious "No online accounts configured" overlay + - Fix crash when loading the panel a second time + + Shell: + - Remove animations, they were causing a number of problems, + but were a useful exercise for future developments. + + Sound: + - Remove hardware page, and offer different connectors directly + from the input and output pages + + Universal Access: + - Add zoom shader options, and reorganise zoom dialogue + + User Accounts: + - UI changes for better remote accounts support + - Fix crash with incompatible versions of realmd + + Wacom: + - Add support for "switch monitor" shortcut + + Updated translations. +- Add gnome-control-center-bgpanel.patch: add missing includes. + +------------------------------------------------------------------- +Wed Aug 8 18:09:34 UTC 2012 - [email protected] + +- Update to version 3.5.6: + + Add man page + + Brightness & Lock: + - Make "show notifications" available even if we don't lock + the screen automatically + + Display: + - Fix possible error when the preferred mode is only + available on one of the two outputs in mirror mode + + Info: + - Adapt for changed API in PackageKit + - Small UI bug fixes + + Network: + - Refactoring for mobile broadband support and bug fixes + - Split the wireless panel + - Only show extra details for the active connection + - Add network strength to the details panel + - Only show the disconnect button when a device is fully + activated + - Fix crash with Access Points with non UTF-8 names + - Forget the last selected wireless network when the button is + clicked + - Improve hotspot dialogue + + Printers: + - Add support for CUPS 1.6 + - Don't restrict the PPD list to PPDs with DeviceIDs + - Cancel async operations correctly + - Move jobs to a separate dialogue + + Region: + - Make ibus code more robust + - Handle being opened twice gracefully + - Require ibus 1.4.99 if ibus support is requested + + User accounts: + - Update for realmd 0.6 + - Strip remote D-Bus errors from user-visible messages + - Fix memory leaks + + Wacom: + - Fix critical warning after calibration ++++ 133 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/gnome-control-center/gnome-control-center.changes ++++ and /work/SRC/openSUSE:Factory/.gnome-control-center.new/gnome-control-center.changes Old: ---- gnome-control-center-3.4.2.tar.xz gnome-control-center-allow-wallpapers-with-weird-names.patch gnome-control-center-fix-crash-on-hidden-ssid.patch gnome-control-center-fix-screen-brightness.patch gnome-control-center-shortcut-assignment-fixes.patch New: ---- gnome-control-center-3.6.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-control-center.spec ++++++ --- /var/tmp/diff_new_pack.VRCgWl/_old 2012-10-07 18:59:31.000000000 +0200 +++ /var/tmp/diff_new_pack.VRCgWl/_new 2012-10-07 18:59:31.000000000 +0200 @@ -20,15 +20,19 @@ # lose ConsoleKit support (bad for sysvinit) %define with_systemd 0 +# We can currently not build ibus support, as it requires ibus 1.5, which has not been released yet. +%define with_ibus 0 + Name: gnome-control-center -Version: 3.4.2 +Version: 3.6.0 Release: 0 -# FIXME: in 12.2 and later, check if we still need patch2 (gnome-control-center-hide-region-system-tab.patch) (see bnc#703833) +# FIXME: stop owning %%{_datadir}/polkit-1/rules.d once polkit >= 0.106 is in (should be soon-ish, end of 09/2012) +# FIXME: in 12.3 and later, check if we still need patch2 (gnome-control-center-hide-region-system-tab.patch) (see bnc#703833) Summary: The GNOME Control Center License: GPL-2.0+ Group: System/GUI/GNOME Url: http://www.gnome.org -Source: http://download.gnome.org/sources/gnome-control-center/3.4/%{name}-%{version}.tar.xz +Source: http://download.gnome.org/sources/gnome-control-center/3.6/%{name}-%{version}.tar.xz # PATCH-FEATURE-OPENSUSE gnome-control-center-allow-yast-in-shell.patch [email protected] -- Allow the launch of the yast shell from the g-c-c shell; it's quite ugly, but on the other hand, we don't want to change the behavior of the shell except for yast... Patch0: gnome-control-center-allow-yast-in-shell.patch # PATCH-HACK-OPENSUSE gnome-control-center-hide-region-system-tab.patch [email protected] -- Hide system tab in region panel until we really use the right files for system settings (see bnc#703833) @@ -37,58 +41,53 @@ Patch3: gnome-control-center-fine-grained-tz-polkit.patch # PATCH-NEEDS-REBASE gnome-control-center-system-proxy-configuration.patch -- this needs to be reimplemented to be more distro-generic before submitting upstream - docs at http://en.opensuse.org/GNOME/Proxy_configuration (was PATCH-FEATURE-OPENSUSE) Patch14: gnome-control-center-system-proxy-configuration.patch -# PATCH-FIX-UPSTREAM gcc-private-connection.patch bnc#751211 bgo#646187 [email protected] -- network: create private connections if the user if not authorized. +# PATCH-FIX-UPSTREAM gcc-private-connection.patch bnc#751211 bgo#646187 [email protected] -- network: create private connections if the user if not authorized Patch15: gcc-private-connection.patch # PATCH-FIX-UPSTREAM gnome-control-center-probe-radius-server-cert.patch bnc#574266 [email protected] -- network: Probe the RADIUS server certificate Patch16: gnome-control-center-probe-radius-server-cert.patch -# PATCH-FIX-UPSTREAM gnome-control-center-fix-crash-on-hidden-ssid.patch [email protected] -- network: don't crash on hidden ssid -Patch17: gnome-control-center-fix-crash-on-hidden-ssid.patch -# PATCH-FIX-UPSTREAM gnome-control-center-fix-screen-brightness.patch bgo#662117 bnc#774190 [email protected] -- Fix brightness slider not picking up right brightness settings values; patch came from upstream git -Patch18: gnome-control-center-fix-screen-brightness.patch -# PATCH-FIX-UPSTREAM gnome-control-center-shortcut-assignment-fixes.patch bgo#675475 bgo#671448 [email protected] -- Fix not being able to assign odd keyboard shortcuts (Ctrl+Q, etc); patch came from upstream git -Patch19: gnome-control-center-shortcut-assignment-fixes.patch -# PATCH-FIX-UPSTREAM gnome-control-center-allow-wallpapers-with-weird-names.patch bgo#673015 [email protected] -- Wallpapers with weird names involving special characters; patch came from upstream git -Patch20: gnome-control-center-allow-wallpapers-with-weird-names.patch BuildRequires: cups-devel BuildRequires: desktop-file-utils BuildRequires: fdupes BuildRequires: gnome-common BuildRequires: intltool +BuildRequires: krb5-devel BuildRequires: translation-update-upstream BuildRequires: update-desktop-files BuildRequires: pkgconfig(cheese) -BuildRequires: pkgconfig(cheese-gtk) >= 3.3.5 +BuildRequires: pkgconfig(cheese-gtk) >= 3.3.91 +BuildRequires: pkgconfig(clutter-gtk-1.0) BuildRequires: pkgconfig(colord) BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(gconf-2.0) BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(glib-2.0) >= 2.31.0 -BuildRequires: pkgconfig(gnome-bluetooth-1.0) >= 3.3.4 -BuildRequires: pkgconfig(gnome-desktop-3.0) >= 3.1.91 -BuildRequires: pkgconfig(gnome-settings-daemon) >= 3.3.91 -BuildRequires: pkgconfig(goa-1.0) +BuildRequires: pkgconfig(gnome-bluetooth-1.0) >= 3.5.5 +BuildRequires: pkgconfig(gnome-desktop-3.0) >= 3.5.91 +BuildRequires: pkgconfig(gnome-settings-daemon) >= 3.5.2 +BuildRequires: pkgconfig(goa-1.0) >= 3.5.90 BuildRequires: pkgconfig(goa-backend-1.0) -BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.3.0 -BuildRequires: pkgconfig(gstreamer-0.10) -BuildRequires: pkgconfig(gtk+-3.0) >= 3.3.5 +BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.5.91 +BuildRequires: pkgconfig(gstreamer-1.0) +BuildRequires: pkgconfig(gtk+-3.0) >= 3.5.13 +%if %{with_ibus} +BuildRequires: pkgconfig(ibus-1.0) >= 1.4.99 +%endif BuildRequires: pkgconfig(iso-codes) BuildRequires: pkgconfig(libcanberra-gtk3) BuildRequires: pkgconfig(libgnome-menu-3.0) -BuildRequires: pkgconfig(libgnomekbd) -BuildRequires: pkgconfig(libgnomekbdui) BuildRequires: pkgconfig(libgtop-2.0) BuildRequires: pkgconfig(libnm-glib) >= 0.8.992 BuildRequires: pkgconfig(libnm-gtk) >= 0.8.992 BuildRequires: pkgconfig(libnotify) >= 0.7.3 -BuildRequires: pkgconfig(libpulse) -BuildRequires: pkgconfig(libpulse-mainloop-glib) +BuildRequires: pkgconfig(libpulse) >= 2.0 +BuildRequires: pkgconfig(libpulse-mainloop-glib) >= 2.0 %if %{with_systemd} BuildRequires: pkgconfig(libsystemd-login) %endif -BuildRequires: pkgconfig(libwacom) >= 0.3 -BuildRequires: pkgconfig(libxklavier) +BuildRequires: pkgconfig(libwacom) >= 0.6 BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(polkit-gobject-1) >= 0.103 +BuildRequires: pkgconfig(pwquality) BuildRequires: pkgconfig(upower-glib) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xcursor) @@ -173,10 +172,6 @@ #%patch14 -p1 %patch15 -p1 %patch16 -p1 -%patch17 -p1 -%patch18 -p1 -%patch19 -p1 -%patch20 -p1 %if 0%{?BUILD_FROM_VCS} [ -x ./autogen.sh ] && NOCONFIGURE=1 ./autogen.sh @@ -190,7 +185,12 @@ --enable-systemd\ %endif --disable-static\ - --disable-maintainer-mode + --disable-maintainer-mode\ +%if %{with_ibus} + --enable-ibus +%else + --disable-ibus +%endif make %{?_smp_mflags} V=1 %install @@ -248,10 +248,14 @@ %{_datadir}/icons/hicolor/*/*/*.png %{_datadir}/icons/hicolor/*/*/*.svg %{_datadir}/polkit-1/actions/org.gnome.controlcenter.datetime.policy +%{_datadir}/polkit-1/actions/org.gnome.controlcenter.user-accounts.policy +%dir %{_datadir}/polkit-1/rules.d +%{_datadir}/polkit-1/rules.d/gnome-control-center.rules %dir %{_datadir}/sounds/gnome %dir %{_datadir}/sounds/gnome/default %dir %{_datadir}/sounds/gnome/default/alerts %{_datadir}/sounds/gnome/default/alerts/*.ogg +%{_mandir}/man1/gnome-control-center.1%{?ext_man} %files branding-upstream %defattr (-, root, root) ++++++ gcc-private-connection.patch ++++++ --- /var/tmp/diff_new_pack.VRCgWl/_old 2012-10-07 18:59:31.000000000 +0200 +++ /var/tmp/diff_new_pack.VRCgWl/_new 2012-10-07 18:59:31.000000000 +0200 @@ -16,26 +16,26 @@ panels/network/network-dialogs.c | 16 ++++++++ 4 files changed, 91 insertions(+), 2 deletions(-) -Index: gnome-control-center-3.4.2/configure.ac +Index: gnome-control-center-3.5.91/configure.ac =================================================================== ---- gnome-control-center-3.4.2.orig/configure.ac -+++ gnome-control-center-3.4.2/configure.ac -@@ -105,7 +105,8 @@ PKG_CHECK_MODULES(KEYBOARD_PANEL, $COMMO +--- gnome-control-center-3.5.91.orig/configure.ac ++++ gnome-control-center-3.5.91/configure.ac +@@ -136,7 +136,8 @@ PKG_CHECK_MODULES(KEYBOARD_PANEL, $COMMO PKG_CHECK_MODULES(MEDIA_PANEL, $COMMON_MODULES) PKG_CHECK_MODULES(MOUSE_PANEL, $COMMON_MODULES xi >= 1.2 gnome-settings-daemon >= $GSD_REQUIRED_VERSION x11) -PKG_CHECK_MODULES(NETWORK_PANEL, $COMMON_MODULES) +PKG_CHECK_MODULES(NETWORK_PANEL, $COMMON_MODULES -+ polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION) - PKG_CHECK_MODULES(ONLINE_ACCOUNTS_PANEL, $COMMON_MODULES goa-1.0 goa-backend-1.0) ++ polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION) + PKG_CHECK_MODULES(ONLINE_ACCOUNTS_PANEL, $COMMON_MODULES goa-1.0 goa-backend-1.0 >= $GOA_REQUIRED_VERSION) PKG_CHECK_MODULES(POWER_PANEL, $COMMON_MODULES upower-glib >= 0.9.1 gnome-settings-daemon >= $GSD_REQUIRED_VERSION) -Index: gnome-control-center-3.4.2/panels/network/cc-network-panel.c +Index: gnome-control-center-3.5.91/panels/network/cc-network-panel.c =================================================================== ---- gnome-control-center-3.4.2.orig/panels/network/cc-network-panel.c -+++ gnome-control-center-3.4.2/panels/network/cc-network-panel.c -@@ -24,6 +24,8 @@ - #include <netinet/ether.h> +--- gnome-control-center-3.5.91.orig/panels/network/cc-network-panel.c ++++ gnome-control-center-3.5.91/panels/network/cc-network-panel.c +@@ -23,6 +23,8 @@ + #include <glib/gi18n.h> #include <stdlib.h> +#include <polkit/polkit.h> @@ -43,7 +43,7 @@ #include "cc-network-panel.h" #include "nm-remote-settings.h" -@@ -85,6 +87,9 @@ struct _CcNetworkPanelPrivate +@@ -73,6 +75,9 @@ struct _CcNetworkPanelPrivate gchar *arg_device; gchar *arg_access_point; gboolean operation_done; @@ -53,75 +53,8 @@ }; enum { -@@ -2827,8 +2832,10 @@ wireless_ap_changed_cb (GtkComboBox *com - NetObject *object; - NMConnection *connection; - NMConnection *connection_activate = NULL; -+ NMConnection *partial = NULL; - NMDevice *device; - NMSettingWireless *setting_wireless; -+ NMSettingConnection *setting_con; - - if (panel->priv->updating_device) - goto out; -@@ -2897,8 +2904,17 @@ wireless_ap_changed_cb (GtkComboBox *com - /* create one, as it's missing */ - g_debug ("no existing connection found for %s, creating", - ssid_target); -+ if (panel->priv->default_private) { -+ partial = nm_connection_new (); -+ setting_con = nm_setting_connection_new (); -+ nm_connection_add_setting (partial, NM_SETTING (setting_con)); -+ nm_setting_connection_add_permission (setting_con, -+ "user", -+ g_get_user_name(), -+ NULL); -+ } - nm_client_add_and_activate_connection (panel->priv->client, -- NULL, -+ partial, - device, object_path, - connection_add_activate_cb, panel); - out: -@@ -3150,6 +3166,11 @@ start_shared_connection (CcNetworkPanel - "id", "Hotspot", - "autoconnect", FALSE, - NULL); -+ if (panel->priv->default_private) -+ nm_setting_connection_add_permission (sc, -+ "user", -+ g_get_user_name(), -+ NULL); - nm_connection_add_setting (c, (NMSetting *)sc); - - sw = (NMSettingWireless *)nm_setting_wireless_new (); -@@ -3373,6 +3394,24 @@ network_add_shell_header_widgets_cb (gpo - } - - static void -+check_authorization_cb (PolkitAuthority *authority, -+ GAsyncResult *res, -+ gpointer user_data) -+{ -+ PolkitAuthorizationResult *result; -+ CcNetworkPanel *panel = user_data; -+ GError *error = NULL; -+ -+ result = polkit_authority_check_authorization_finish (authority, res, &error); -+ if (error != NULL) { -+ g_warning ("Failed to check authorization: %s", error->message); -+ g_error_free (error); -+ } else if (polkit_authorization_result_get_is_authorized (result)) { -+ panel->priv->default_private = FALSE; -+ } -+} -+ -+static void - cc_network_panel_init (CcNetworkPanel *panel) - { - DBusGConnection *bus = NULL; -@@ -3387,6 +3426,9 @@ cc_network_panel_init (CcNetworkPanel *p - GtkTreeSortable *sortable; +@@ -1027,6 +1032,9 @@ cc_network_panel_init (CcNetworkPanel *p + GtkTreeSelection *selection; GtkWidget *widget; GtkWidget *toplevel; + PolkitSubject *subject; @@ -130,7 +63,7 @@ panel->priv = NETWORK_PANEL_PRIVATE (panel); -@@ -3666,6 +3708,28 @@ cc_network_panel_init (CcNetworkPanel *p +@@ -1112,6 +1120,28 @@ cc_network_panel_init (CcNetworkPanel *p /* add kill switch widgets when dialog activated */ panel->priv->add_header_widgets_idle = g_idle_add (network_add_shell_header_widgets_cb, panel); @@ -159,7 +92,7 @@ } void -@@ -3676,3 +3740,9 @@ cc_network_panel_register (GIOModule *mo +@@ -1122,3 +1152,9 @@ cc_network_panel_register (GIOModule *mo CC_TYPE_NETWORK_PANEL, "network", 0); } @@ -169,10 +102,10 @@ +{ + return panel->priv->default_private; +} -Index: gnome-control-center-3.4.2/panels/network/cc-network-panel.h +Index: gnome-control-center-3.5.91/panels/network/cc-network-panel.h =================================================================== ---- gnome-control-center-3.4.2.orig/panels/network/cc-network-panel.h -+++ gnome-control-center-3.4.2/panels/network/cc-network-panel.h +--- gnome-control-center-3.5.91.orig/panels/network/cc-network-panel.h ++++ gnome-control-center-3.5.91/panels/network/cc-network-panel.h @@ -67,6 +67,8 @@ GType cc_network_panel_get_type (void) G void cc_network_panel_register (GIOModule *module); @@ -182,10 +115,10 @@ G_END_DECLS #endif /* _CC_NETWORK_PANEL_H */ -Index: gnome-control-center-3.4.2/panels/network/network-dialogs.c +Index: gnome-control-center-3.5.91/panels/network/network-dialogs.c =================================================================== ---- gnome-control-center-3.4.2.orig/panels/network/network-dialogs.c -+++ gnome-control-center-3.4.2/panels/network/network-dialogs.c +--- gnome-control-center-3.5.91.orig/panels/network/network-dialogs.c ++++ gnome-control-center-3.5.91/panels/network/network-dialogs.c @@ -41,6 +41,7 @@ typedef struct { NMClient *client; NMRemoteSettings *settings; @@ -251,3 +184,62 @@ caps = nm_device_modem_get_current_capabilities (NM_DEVICE_MODEM (device)); if (caps & NM_DEVICE_MODEM_CAPABILITY_GSM_UMTS) { +Index: gnome-control-center-3.5.91/panels/network/net-device-wifi.c +=================================================================== +--- gnome-control-center-3.5.91.orig/panels/network/net-device-wifi.c ++++ gnome-control-center-3.5.91/panels/network/net-device-wifi.c +@@ -977,6 +977,9 @@ wireless_try_to_connect (NetDeviceWifi * + NMSettingWireless *setting_wireless; + NMRemoteSettings *remote_settings; + NMClient *client; ++ CcNetworkPanel *panel; ++ NMConnection *partial = NULL; ++ NMSettingConnection *setting_con; + + if (device_wifi->priv->updating_device) + goto out; +@@ -1153,8 +1153,20 @@ + /* create one, as it's missing */ + g_debug ("no existing connection found for %s, creating", + ssid_target); ++ ++ panel = net_object_get_panel (NET_OBJECT (device_wifi)); ++ if (cc_network_panel_get_default_private (panel)) { ++ partial = nm_connection_new (); ++ setting_con = (NMSettingConnection *)nm_setting_connection_new (); ++ nm_connection_add_setting (partial, NM_SETTING (setting_con)); ++ nm_setting_connection_add_permission (setting_con, ++ "user", ++ g_get_user_name(), ++ NULL); ++ } ++ + nm_client_add_and_activate_connection (client, +- NULL, ++ partial, + device, ap_object_path, + connection_add_activate_cb, device_wifi); + out: +@@ -1296,6 +1311,7 @@ start_shared_connection (NetDeviceWifi * + GSList *l; + NMClient *client; + NMRemoteSettings *remote_settings; ++ CcNetworkPanel *panel; + + device = net_device_get_nm_device (NET_DEVICE (device_wifi)); + g_assert (nm_device_get_device_type (device) == NM_DEVICE_TYPE_WIFI); +@@ -1335,6 +1351,14 @@ start_shared_connection (NetDeviceWifi * + "id", "Hotspot", + "autoconnect", FALSE, + NULL); ++ ++ panel = net_object_get_panel (NET_OBJECT (device_wifi)); ++ if (cc_network_panel_get_default_private (panel)) ++ nm_setting_connection_add_permission (sc, ++ "user", ++ g_get_user_name(), ++ NULL); ++ + nm_connection_add_setting (c, (NMSetting *)sc); + + sw = (NMSettingWireless *)nm_setting_wireless_new (); ++++++ gnome-control-center-allow-yast-in-shell.patch ++++++ --- /var/tmp/diff_new_pack.VRCgWl/_old 2012-10-07 18:59:31.000000000 +0200 +++ /var/tmp/diff_new_pack.VRCgWl/_new 2012-10-07 18:59:31.000000000 +0200 @@ -1,11 +1,12 @@ -Index: gnome-control-center-3.2.0/shell/gnome-control-center.c +Index: gnome-control-center-3.5.90/shell/gnome-control-center.c =================================================================== ---- gnome-control-center-3.2.0.orig/shell/gnome-control-center.c -+++ gnome-control-center-3.2.0/shell/gnome-control-center.c -@@ -110,6 +110,39 @@ get_icon_name_from_g_icon (GIcon *gicon) +--- gnome-control-center-3.5.90.orig/shell/gnome-control-center.c ++++ gnome-control-center-3.5.90/shell/gnome-control-center.c +@@ -172,6 +172,39 @@ get_icon_name_from_g_icon (GIcon *gicon) + return NULL; } - static void ++static void +suse_activate_desktop (GnomeControlCenter *shell, + const gchar *id, + const gchar *desktop_file) @@ -38,20 +39,19 @@ + g_object_unref (appinfo); +} + -+static void + static gboolean activate_panel (GnomeControlCenter *shell, const gchar *id, - const gchar **argv, -@@ -127,6 +160,12 @@ activate_panel (GnomeControlCenter *shel - if (!desktop_file) - return; +@@ -195,6 +228,12 @@ activate_panel (GnomeControlCenter *shel + if (!id) + return FALSE; + if (g_strcmp0 (id, "YaST.desktop") == 0) + { + suse_activate_desktop (shell, id, desktop_file); -+ return; ++ return TRUE; + } + - if (id) + for (l = panels; l != NULL; l = l->next) { - + GIOExtension *extension; -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
