diff --git a/gnome-applets.spec b/gnome-applets.spec index 0f1a8a5..c8b4fde 100644 --- a/gnome-applets.spec +++ b/gnome-applets.spec @@ -61,6 +61,9 @@ Patch40: gnome-applets-null-battstat.patch # and keep the mixer hidden away from the add to panel dialog Patch41: gnome-applets-no-mixer-icon.patch +# http://bugzilla.gnome.org/show_bug.cgi?id=579098 +Patch42: gweather-network.patch + BuildRequires: glib2-devel >= %{glib2_version} BuildRequires: gtk2-devel >= %{gtk2_version} BuildRequires: libgnomeui-devel >= %{libgnomeui_version} @@ -144,6 +147,7 @@ and more. %patch31 -p1 -b .fix-find %patch40 -p1 -b .battstat-null %patch41 -p1 -b .no-mixer-icon +%patch42 -p1 -b .network # We don't ship gnome-system-tools rm -rf modemlights @@ -338,6 +342,9 @@ fi %{_datadir}/PolicyKit/policy/org.gnome.cpufreqselector.policy %changelog +* Wed Apr 15 2009 Matthias Clasen - 1:2.26.1-2 +- Make gweather network status tracking work + * Mon Apr 13 2009 Matthias Clasen - 1:2.26.1-1 - Update to 2.26.1 diff --git a/gweather-network.patch b/gweather-network.patch new file mode 100644 index 0000000..95bc83e --- /dev/null +++ b/gweather-network.patch @@ -0,0 +1,22 @@ +diff -up gnome-applets-2.26.1/gweather/gweather-applet.c.network gnome-applets-2.26.1/gweather/gweather-applet.c +--- gnome-applets-2.26.1/gweather/gweather-applet.c.network 2009-04-15 18:53:13.123633124 -0400 ++++ gnome-applets-2.26.1/gweather/gweather-applet.c 2009-04-15 18:54:17.438384718 -0400 +@@ -17,6 +17,9 @@ + #include + #include + #include ++#include ++#include ++#include + + #include + #include +@@ -552,6 +555,8 @@ state_notify (DBusPendingCall *pending, + DBUS_TYPE_UINT32, &result, + DBUS_TYPE_INVALID)) { + if (result == NM_STATE_CONNECTED) { ++ /* thank you, glibc */ ++ res_init (); + gweather_update (gw_applet); + } + }