From 4d22176132f4a830ab0cc510dabbc9f8c1c362ea Mon Sep 17 00:00:00 2001 From: Parabola Date: Sat, 28 May 2011 05:45:55 +0000 Subject: Sat May 28 05:45:54 UTC 2011 --- .../nm-09.patch | 44 ---------------------- 1 file changed, 44 deletions(-) delete mode 100644 extra/kdeplasma-applets-networkmanagement/nm-09.patch (limited to 'extra/kdeplasma-applets-networkmanagement') diff --git a/extra/kdeplasma-applets-networkmanagement/nm-09.patch b/extra/kdeplasma-applets-networkmanagement/nm-09.patch deleted file mode 100644 index 52b875513..000000000 --- a/extra/kdeplasma-applets-networkmanagement/nm-09.patch +++ /dev/null @@ -1,44 +0,0 @@ -From: Lamarque V. Souza -Date: Sun, 17 Apr 2011 00:09:43 +0000 -Subject: Fix compilation against NetworkManager-0.8.98. -X-Git-Url: http://quickgit.kde.org/?p=networkmanagement.git&a=commitdiff&h=e87ceccadc833e220f73d86352968655cedc0485 ---- -Fix compilation against NetworkManager-0.8.98. - -BUG: 271101 ---- - - ---- a/backends/NetworkManager/nmdbussettingsservice.cpp -+++ b/backends/NetworkManager/nmdbussettingsservice.cpp -@@ -59,7 +59,7 @@ public: - QHash uuidToPath; - }; - --const QString NMDBusSettingsService::SERVICE_USER_SETTINGS = QLatin1String(NM_DBUS_SERVICE_USER_SETTINGS); -+const QString NMDBusSettingsService::SERVICE_USER_SETTINGS = QLatin1String("org.freedesktop.NetworkManagerUserSettings"); - const QString NMDBusSettingsService::SERVICE_SYSTEM_SETTINGS = QLatin1String("org.freedesktop.NetworkManager"); - - NMDBusSettingsService::NMDBusSettingsService(QObject * parent) - ---- a/backends/NetworkManager/settings/gsmdbus.cpp -+++ b/backends/NetworkManager/settings/gsmdbus.cpp -@@ -35,7 +35,7 @@ void GsmDbus::fromMap(const QVariantMap - if (map.contains(QLatin1String(NM_SETTING_GSM_NETWORK_TYPE))) { - setting->setNetworktype(map.value(QLatin1String(NM_SETTING_GSM_NETWORK_TYPE)).value()); - } else { -- setting->setNetworktype(NM_GSM_NETWORK_ANY); -+ setting->setNetworktype(NM_SETTING_GSM_NETWORK_TYPE_ANY); - } - if (map.contains("band")) { - setting->setBand(map.value("band").value()); -@@ -62,7 +62,7 @@ QVariantMap GsmDbus::toMap() - map.insert("apn", setting->apn()); - if (!setting->networkid().isEmpty()) - map.insert(QLatin1String(NM_SETTING_GSM_NETWORK_ID), setting->networkid()); -- if (setting->networktype() != NM_GSM_NETWORK_ANY) { -+ if (setting->networktype() != NM_SETTING_GSM_NETWORK_TYPE_ANY) { - map.insert(QLatin1String(NM_SETTING_GSM_NETWORK_TYPE), setting->networktype()); - } - - -- cgit v1.2.3-54-g00ecf