--- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/aclocal.m4 +++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/aclocal.m4 @@ -0,0 +1 @@ +# empty file --- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/debian/nm-applet.sgml +++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/debian/nm-applet.sgml @@ -0,0 +1,100 @@ + manpage.1'. You may view + the manual page with: `docbook-to-man manpage.sgml | nroff -man | + less'. A typical entry in a Makefile or Makefile.am is: + +manpage.1: manpage.sgml + docbook-to-man $< > $@ + + + The docbook-to-man binary is found in the docbook-to-man package. + Please remember that if you create the nroff version in one of the + debian/rules file targets (such as build), you will need to include + docbook-to-man in your Build-Depends control field. + + --> + + + 8 February, 2006"> + + + GNU"> + GPL"> +]> + + + +
+ giskard@autistici.org; +
+ + Riccardo + Setti + + + 2006 + Riccardo Setti + + &date; +
+ + nm-applet + 1 + + + &package; + + Network management framework + + + + &package; + + + + DESCRIPTION + + &package; is the GNOME front-end for NetworkManager + It is a systray applet which will display an icon in GNOME's notification area but it + also works for other desktop environments which provide a systray like KDE or XFCE. + &package; shows a list of available networks and allows you to easily switch between them. For encrypted networks it + will prompt you for the key/passphrase and you can optionally store them in the gnome-keyring so you don't have to + type them again. + + + SEE ALSO + + NetworkManager (1). nm-vpn-properties (1) + + More Information about NetworkManager can be found at + http://www.gnome.org/projects/NetworkManager/ . + + + AUTHOR + + This manual page was written by Riccardo Setti giskard@autistici.org for + the Debian system. + + + +
+ + --- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/debian/compat +++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/debian/compat @@ -0,0 +1 @@ +5 --- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/debian/changelog +++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/debian/changelog @@ -0,0 +1,865 @@ +network-manager-applet (0.8.2+git.20101123t161608.f143e76-0ubuntu1) natty; urgency=low + + * upstream snapshot 2010-11-23 16:16:08 (GMT) + + f143e7629749acdb20de072372fbd471ec2c19a8 + * Refreshed debian/patches/lp295788_xfce_menu_entry.patch + * Refreshed debian/patches/lp337960_dxteam_notification_icon_names.diff + * Refreshed debian/patches/lp341684_device_sensitive_disconnect_notify.patch + * more workflow updates to get the daily builds to work with different branches + - update debian/rules + * Now draw the applet and applet's menus using libappindicator. + - add debian/patches/nm-applet-use-indicator.patch + - update debian/patches/series + * Explicitly turn on libappindicator support with --enable-indicator. + - update debian/rules + * Add Build-Depends for libappindicator-dev + - update debian/control + + -- Mathieu Trudel-Lapierre Mon, 29 Nov 2010 10:38:51 -0500 + +network-manager-applet (0.8.1+git.20100809t190028.290dc70-0ubuntu3) maverick; urgency=low + + * Cherry-pick upstream commit c7b5312 to fix greyed-out Enable Networking items in + context menu (LP: #637930) + - added debian/patches/lp637930_fix_race_in_permissions-changed.patch + - modified debian/patches/series + + -- Mathieu Trudel-Lapierre Thu, 16 Sep 2010 10:23:15 -0400 + +network-manager-applet (0.8.1+git.20100809t190028.290dc70-0ubuntu2) maverick; urgency=low + + * Bump Build-Depends for network-manager-dev, libnm-glib-dev, libnm-util-dev + to be >= 0.8.1. + - update debian/control + + -- Mathieu Trudel-Lapierre Wed, 11 Aug 2010 10:48:13 -0400 + +network-manager-applet (0.8.1+git.20100809t190028.290dc70-0ubuntu1) maverick; urgency=low + + * upstream snapshot 2010-08-09 19:00:28 (GMT) + + 290dc707f2076135eac02ed2d975912cb1ae80ce + * update debian/rules: + - switch GIT_BRANCH to NMA_0_8, be conservative: only track 0.8.1 for now. + - update get-orig-source/branch code to properly deal with branch switch. + * refresh the device disconnection notification patch, update to new code base + - updated debian/patches/lp341684_device_sensitive_disconnect_notify.patch + * refreshed vpn service name patch, update to new code base + - updated debian/patches/20_use_full_vpn_dialog_service_name_path.patch + * delete lazy icon loading patch from seb128, it's applied upstream + - deleted debian/patches/bgo609134_lazy_icons.patch + - updated debian/patches/series + * delete lazy notification capabilities checking from pitti: applied upstream + - deleted debian/patches/bgo610881_lazy_init_notify_caps.patch + - updated debian/patches/series + * bump DEB_AUTO_UPDATE_ACLOCAL and DEB_AUTO_UPDATE_AUTOMAKE to 1.11 + - update debian/rules + * refreshed the patch to always show the tray icon + - update debian/patches/lp289466_always_show_tray_icon.patch + + -- Mathieu Trudel-Lapierre Wed, 11 Aug 2010 10:09:37 -0400 + +network-manager-applet (0.8-0ubuntu3) lucid; urgency=low + + [ Mirco Müller (MacSlow) ] + * Make nm-applet correctly update a notification, if the connection-status + has changed. This avoids displaying obsolete notifications to the user, + which no longer reflect the correct connection-status. Fixes LP: #460144 + - add debian/patches/lp460144_correctly_update_notification.patch + - update debian/patches/series + + [ Chris Coulson Tue, 30 Mar 2010 10:39:18 +0200 + +network-manager-applet (0.8-0ubuntu2) lucid; urgency=low + + * Add bgo610881_lazy_init_notify_caps.patch: Defer querying notification + server capabilities until needed, to avoid starting notify-osd on desktop + startup. + + -- Martin Pitt Tue, 23 Feb 2010 23:22:23 +0100 + +network-manager-applet (0.8-0ubuntu1) lucid; urgency=low + + [ Tony Espy ] + * drop string change revert_* patches, as full SRU for Karmic + was rejected. + - remove debian/patches/revert_more_networks.patch + - remove debian/patches/revert_disable_notifications.patch + - remove debian/patches/revert_country_not_listed.patch + - remove debian/patches/revert_cleartext_priv_keys.patch + - remove debian/patches/revert_enable_broadband.patch + - update debian/series + + [ Mathieu Trudel ] + * upstream release 0.8 + - core: add --help to explain what nm-applet is/does (rh #494641) + - core: clearer failure message when an applet is already running + - wired: don't crash when getting 802.1x settings from the user (rh #556763) + - info: don't crash on various D-Bus property errors (rh #557007) + - core: fix clearing secrets when updating connections + - build: link nm-connection-editor with libm for ceil() (rh #541353) + - gsm: fix secret requests when connection has multiple secrets + * bump build-depends to >= 0.8 to build with 0.8 final. + - update debian/control + + [ Michael Vogt ] + * debian/rules, debian/icons/22/nm-active-device.png.uue: + - install icon so that on upgrade the old applet can + still find it and not error out (LP: #518760) + + [ Sebastien Bacher ] + * lazily load icons for using less cpu on login + - add debian/patches/bgo609134_lazy_icons.patch + - update debian/patches/series + + -- Mathieu Trudel Fri, 19 Feb 2010 08:34:28 -0500 + +network-manager-applet (0.8~rc2-0ubuntu1) lucid; urgency=low + + * upstream snapshot 2009-11-12 07:27:27 (GMT) + + 4162285fd7c53e8b684e1c1513a2ba6ce865e073 + + * upstream 0.8-rc1 release + - applet: don't crash if we can't get some ActiveConnection attrs (rh: #545011) + - editor: serialize PolicyKit auth requests (rh #462944) (LP: #462944) + - applet: don't crash if wireless dialog goes away quickly (rh #542617) + - eap: handle PEM files without and ending newline (rh #507315) + - tls: require password-protected private keys + - applet: fix connecting to system connections from wireless dialog + - menu: show BT connections when no other devices available (rh #532049) + - applet: don't assert when auto connections can't be made (rh #532680) + - editor: fix various IP page tooltips (bgo #595287) + - applet: fix animation issues + - mobile-wizard: add a "My Country is not listed" option (rh #530981) (bgo #599705) + - applet: fix issues with icon loading when panel is slow to resize (rh #529766) + - applet: Connect to Hidden doesn't work for non-New networks (LP: #446394) + - applet: nm-applet does not start at login (LP: #146896) + + * upstream 0.8-rc2 release + - editor: protect against invalid CEPolkitButton objects (rh #549579) + - menu: ensure active menu item is valid before trying to use it (rh #546901) + - editor: fix bad assignment + - core: add "Enable Mobile Broadband" menu item + - applet: escape notification text + + + [ Mathieu Trudel ] + * updated device sensitive disconnect notification patch + - update debian/patches/lp341684_device_sensitive_disconnect_notify.patch + + [ Tony Espy ] + * add logic to map '~rc' versions to '-rc' tag format used upstream. This + allows the upstream tags to be used, while managing to keep the version + numbers less than the final release version. + - update debian/rules + * update build and runtime depends for network-manager to >= 0.8~rc2 + - update debian/control + * backout string changes in preparation for SRU + - add deb/debian/patches/revert_more_networks.patch + - add deb/debian/patches/revert_disable_notifications.patch + - add deb/debian/patches/revert_country_not_listed.patch + - add deb/debian/patches/revert_cleartext_priv_keys.patch + - add deb/debian/patches/revert_enable_broadband.patch + - update debian/series + + -- Tony Espy Wed, 20 Jan 2010 10:16:56 -0500 + +network-manager-applet (0.8~a~git.20091014t134532.4033e62-0ubuntu1) karmic; urgency=low + + * upstream snapshot for karmic-RC 2009-10-14 13:45:32 (GMT) + + 4033e623f7af571d38281f5fb6ab28a77bfe2220 + - core: don't crash if we can't get active connection properties from NM (LP: #430535) + - gconf: restore 0.7 notification behavior defaults (LP: #444561) + + -- Alexander Sack Thu, 15 Oct 2009 00:34:03 +0200 + +network-manager-applet (0.8~a~git.20091002t194214.8515a07-0ubuntu1) karmic; urgency=low + + * upstream snapshot 2009-10-02 19:42:14 (GMT) + + 8515a07e507847c4372fe8f95bddf57aea66acd5 + * fixed upstream + - LP: #285219 - Critical warning while running nm-connection-editor + - LP: #442988 - network manager mobile broadband does not remember username + and password + - LP: #439956 - Cannot set manual IP and DNS with nm-connection-editor + - LP: #438160 - nm-applet loses ipv4 configuration + - LP: #431265 - Network Manager can't connect to hidden wireless networks + - LP: #443049 - MASTER nm-connection-editor crashed with SIGSEGV in get_permissions_cb + - LP: #438374 - Failure to retain edited MTU value + - LP: #436839 - Disconnect menu option looks like wireless network + + [ Tony Espy ] + * drop wifi toplevel_sort patch that was committed upstream + - delete debian/patches/wifi_toplevel_ap_sort.patch + - update debian/patches/series + + [ Alexander Sack ] + * drop preview patch that was committed upstream + - delete debian/patches/nm08-applet-preview.patch + - update debian/patches/series + * require network-manager and libnm-* >= 0.8~a~git.20090930t162132 + - update debian/control + * adjust patches to new upstream code base + - update debian/patches/lp341684_device_sensitive_disconnect_notify.patch + * (re-)sort wifi toplevel AP list alphabetically before adding to menu + - add debian/patches/toplevel_sort.patch + - update debian/patches/series + * rebuild against latest NM after padding additions to libnm-* APIs + - update debian/control + + -- Alexander Sack Mon, 05 Oct 2009 23:45:07 +0200 + +network-manager-applet (0.8~a~git.20090923t220421.1ac8ffd-0ubuntu4) karmic; urgency=low + + * LP: #436061 - fix nm-applet crash when no APs in proximity; drop assert on a GList, which + explicitly can be NULL. + - update debian/patches/nm08-applet-preview.patch + * LP: #436179 - nm-applet assert failure: ERROR:applet.c:481:applet_menu_item_favorize_helper: + assertion failed: (favoritePixbuf); simply return with warning if favorize helper is invoked + without a favorite pixbuf + - update debian/patches/nm08-applet-preview.patch + * important UI tweaks for karmic beta: 1. don't use an icon to indicate favorites/known + connections - the heart was just too ugly; 2. dont put "Active" separator above the + current active connection; in turn we make the current AP bold; 3. increase xpadding for + title items (e.g. Wireless Networks) to 10.0; 4. do not visualize all visible connections + as active if a device is disconnected. + - update debian/patches/nm08-applet-preview.patch + + -- Alexander Sack Fri, 25 Sep 2009 10:08:46 +0200 + +network-manager-applet (0.8~a~git.20090923t220421.1ac8ffd-0ubuntu3) karmic; urgency=low + + * fix build failure because of compiler warnings due to uninitialized variable + - update debian/patches/nm08-applet-preview.patch + + -- Alexander Sack Thu, 24 Sep 2009 17:40:06 +0200 + +network-manager-applet (0.8~a~git.20090923t220421.1ac8ffd-0ubuntu2) karmic; urgency=low + + * fix build failure caused by missing build-depend for uudecode + - update debian/control + + -- Alexander Sack Thu, 24 Sep 2009 17:16:54 +0200 + +network-manager-applet (0.8~a~git.20090923t220421.1ac8ffd-0ubuntu1) karmic; urgency=low + + * upstream snapshot 2009-09-23 22:04:21 (GMT) + + 1ac8ffd41a2d162d23713415cec6c3e96fbc3c82 + + new upstream UI for beta (prepatched) - LP: #435333 + + mini-abi transition respin for libnm-glib-vpn rename fixes LP: #435888 + + [ Alexander Sack ] + * increase build-depend version requirements for network-manager bits to + latest upstream (>= 0.8~a~git.20090923t064445) + - update debian/control + * add new nm08 applet prepatch and add icons not shippable in diff manually + using uudecode + - add debian/patches/nm08-applet-preview.patch + - update debian/patches/series + - add debian/icons/22/nm-secure-lock.png.uue + - update debian/rules + + [ Mathieu Trudel ] + * fix noisy output: use grep -q -c rather than just -c in GET_SOURCE etc. + - update debian/rules + * add get-snapshot-info rule + - update debian/rules + * make GET_SOURCE not go mad for git versions that use a different abbrev-id syntax + - update debian/rules + * drop ellipsize patch, addressed libhal issues, superseded by the use of udev + - delete debian/patches/lp341940_use_ellipsized_menu_entries.patch + - update debian/patches/series + + -- Alexander Sack Thu, 24 Sep 2009 15:30:33 +0200 + +network-manager-applet (0.8~a~git.20090913t161448.cc2f6be-0ubuntu1) karmic; urgency=low + + * upstream snapshot 2009-09-13 16:14:48 (GMT) + + cc2f6bea12daec5f0caf535a3534f07ade5b5cf2 + + [ Alexander Sack ] + * build depend on libpolkit-gobject-1-dev instead of libpolkit-dbus-dev + - update debian/control + + [ Tony Espy ] + * adjust patches for upstream code base + - update debian/patches/20_use_full_vpn_dialog_service_name_path.patch + - update debian/patches/lp328572_dxteam_connect_text.patch + - update debian/patches/lp337960_dxteam_notification_icon_names.diff + - update debian/patches/lp341684_device_sensitive_disconnect_notify.patch + * adjust build and runtime depends due to ABI changes in latest NM + - update debian/control + + -- Alexander Sack Mon, 14 Sep 2009 11:32:57 +0200 + +network-manager-applet (0.8~a~git.20090818t151413.a8b7eed-0ubuntu2) karmic; urgency=low + + * fix lpia build problems; make find and remove of .a .la files more robust + in common-binary-post-install-arch:: target + - update debian/rules + + -- Alexander Sack Fri, 21 Aug 2009 10:32:12 +0200 + +network-manager-applet (0.8~a~git.20090818t151413.a8b7eed-0ubuntu1) karmic; urgency=low + + [ Tony Espy ] + * upstream snapshot 2009-08-18 15:14:13 (GMT) + + a8b7eed3676e1154b4df1b3292eb414a3e9f2378 + - includes WEP Auth dialog simplification and + minor IPv6 changes + + [ Alexander Sack ] + * add LOCAL_BRANCH feature to play nicely with fta's build bot + - update rules + * add gnome-bluetooth support; build-depend on libgnome-bluetooth-dev and install + the gnome-bluetooth plugin to the gnome-bluetooth plugindir directory. + - update debian/control + * remove bluetooth plugin .la and .la files during post-install + - update debian/rules + + -- Tony Espy Thu, 20 Aug 2009 11:48:20 -0400 + +network-manager-applet (0.8~a~git.20090805t131328.d1edfce-0ubuntu1) karmic; urgency=low + + [ Tony Espy ] + * upstream snapshot 2009-08-05 13:13:28 (GMT) + + d1edfced3ac4373019c097a4de5c7b97d0b2562a + * bump required version for networkmanager bits to >= 0.8~a~git.20090804t185522 + - update control + * adjust patch for upstream code base + - update patches/lp341684_device_sensitive_disconnect_notify.patch + * re-work tarball generation code; added get-curr-source to + grab a specific version; get-orig-source now grabs the tip + of new variable GIT_BRANCH; adjusted changelog version to + new scheme. + - update rules + + [ Alexander Sack ] + * prepare get-orig-source for daily ppa-scripts + - update rules + * adjust patches to changed upstream codebase + - update patches/lp341940_use_ellipsized_menu_entries.patch + * raise build requirements on network-manager parts to >= 0.8~ + - update control + + -- Tony Espy Thu, 06 Aug 2009 10:35:38 +0100 + +network-manager-applet (0.7.1.git.2.8ed7940cd3-0ubuntu1~nm1) UNRELEASED; urgency=low + + * upstream snapshot 2009-07-01 18:21:51 (GMT) + + commit 8ed7940cd3eb2158f95786e4a0cfbeea2035a870 + * bump required version for networkmanager bits to >= 0.7.1.git.1 + * drop mbca patch because upstream ships its own wizard now + - delete patches/add_libmbca_support.patch + - update patches/series + * drop libmbca-dev from build-depends as nm applet builds its own wizard + now; in turn depend binary package on mobile-broadband-provider-info >= 20090622 + - update control + * adjust patches to changed upstream code base + - update patches/lp341940_use_ellipsized_menu_entries.patch + - update patches/lp337960_dxteam_notification_icon_names.diff + - update patches/lp341684_device_sensitive_disconnect_notify.patch + * drop libmbca0 from Recommends + - update control + + -- Alexander Sack Tue, 02 Jun 2009 14:14:43 +0200 + +network-manager-applet (0.7.1-0ubuntu1) karmic; urgency=low + + * Upstream release 0.7.1 + * drop patches applied upstream + - delete patches/fix_upstream_buildfailure.patch + - update patches/series + * adjust patches to new upstream code base + - update patches/lp341940_use_ellipsized_menu_entries.patch + * fix LP: #341940 - menu entries like device names can be overly long; + we fix this by using ellipsized labels with proper tooltip to allow + interested users to read the full text label + - add patches/lp341940_use_ellipsized_menu_entries.patch + - update patches/series + + -- Alexander Sack Tue, 02 Jun 2009 13:20:07 +0200 + +network-manager-applet (0.7.1~rc4.1-0ubuntu2) jaunty; urgency=low + + * point Vcs-Bzr header to proper branch + - update control + * fix LP: #358526 - Notification shows wrong WiFi disconnected icon when + resuming from suspend; we use the proper generic disconnected icon + if we don't know which device type caused the "offline" event. + - add patches/lp358526_generic_disconnected_notification_icon.patch + - update patches/series + + -- Alexander Sack Tue, 14 Apr 2009 12:52:44 +0200 + +network-manager-applet (0.7.1~rc4.1-0ubuntu1) jaunty; urgency=low + + * New upstream release 0.7.1 rc4 + + svn-v3-trunk0:9c6bbc85-7128-0410-879a-9bbc9e4270e9:branches%2FNETWORKMANAGER_APPLET_0_7:1254 + + drop upstreamed patches + - delete patches/lp331799_sensible_notify_actions.patch + - update patches/series + + adjust diverged patches to new upstream codebase + - update patches/add_libmbca_support.patch + - update patches/lp341684_device_sensitive_disconnect_notify.patch + + fix build failure with our gcc introduced upstream (string format issue) + - add patches/fix_upstream_buildfailure.patch + - update patches/series + * rename patch for disconnect states to match the bug it fixed (LP: #341684) + - rename patches/lpXXX_device_sensitive_disconnect_notify.patch => + lp341684_device_sensitive_disconnect_notify.patch + - update patche/series + * fix LP: #348612 - Wired disconnect icon is wrong; we fix a typo in icon name + - update patches/lp341684_device_sensitive_disconnect_notify.patch + * fix LP: #354420 - offline notification should have NOTIFY_URGENCY_CRITICAL; + normal disconnect notifications get NOTIFY_URGENCY_NORMAL + - update patches/lp341684_device_sensitive_disconnect_notify.patch + * eliminate string changes from a few notification patches + - update patches/lp330571_dxteam_wired_connect_text.patch + - update patches/lp330608_dxteam_gsm_connect_text.patch + and adjust follow up patches + - update patches/lp337960_dxteam_notification_icon_names.diff + + -- Alexander Sack Mon, 06 Apr 2009 13:25:39 +0200 + +network-manager-applet (0.7.1~rc3-0ubuntu4) jaunty; urgency=low + + * use the notification-gsm-disconnected icon name used by human theme for jaunty beta + - update patches/lpXXX_device_sensitive_disconnect_notify.patch + + -- Alexander Sack Thu, 19 Mar 2009 17:02:01 +0100 + +network-manager-applet (0.7.1~rc3-0ubuntu3) jaunty; urgency=low + + * fix bug in lpXXX_device_sensitive_disconnect_notify.patch that made + disconnect events to not display a notification if the overall state + still was online + - update patches/lpXXX_device_sensitive_disconnect_notify.patch + + -- Alexander Sack Thu, 19 Mar 2009 15:44:43 +0100 + +network-manager-applet (0.7.1~rc3-0ubuntu2) jaunty; urgency=low + + * flip title in wifi "Connection Established" notification bubble (LP: #338389) + - update patches/lp328572-dxteam-connect-text.patch + - update patches/lp337960_dxteam_notification_icon_names.diff + * add patch to support device sensitive disconnect/offline notifications; + this patch queues event from NMClient and NMDevice and then decides what + kind of disconnect happened and which device was reponsible. + - add patches/lpXXX_device_sensitive_disconnect_notify.patch + - update patches/series + + -- Alexander Sack Thu, 19 Mar 2009 14:54:03 +0100 + +network-manager-applet (0.7.1~rc3-0ubuntu1) jaunty; urgency=low + + * new upstream RC 0.7.1rc3 + + rev: 982 + + revision-id: svn-v3-trunk0:9c6bbc85-7128-0410-879a-9bbc9e4270e9:branches%2FNETWORKMANAGER_APPLET_0_7:1212 + + branch: http://bzr-playground.gnome.org/network-manager-applet/branches/NETWORKMANAGER_APPLET_0_7/ + - update .bzr-builddeb/default.conf + * bump lower builds for network-manager build depends to >= 0.7.1~rc3 + - update control + * fix LP: #328572 - Connecting/disconnecting notification changes; we apply the + the "Connecting" part of this patch, as the disconnecting part would require + string changes that need to be done upstream + - add patches/lp328572-dxteam-connect-text.patch + - update patches/series + * fix LP: #330571 - Wired connected message in nm-applet too long + - add patches/lp330571_dxteam_wired_connect_text.patch + - update patches/series + * fix LP: #330608 - GSM connection message too long in nm-applet + - add patches/lp330608_dxteam_gsm_connect_text.patch + - update patches/series + * fix LP: #337960 - nm-applet jaunty icon changes - brought to you by d(u)xteam; + we apply two patches: first patch changes the icon names referred to in notifications; + second patch ships fallback icons for those names within network-manager-gnome + package + + -- Alexander Sack Thu, 05 Mar 2009 01:30:46 +0100 + +network-manager-applet (0.7.1~rc1+20090219+bzr974-0ubuntu2) jaunty; urgency=low + + * "Network Connections" settings entry does not appear in gnome-control-center; + we fix a typo in the .desktop file introduced by the xfce patch + - update patches/lp295788_xfce_menu_entry.patch + + -- Alexander Sack Mon, 23 Feb 2009 15:45:07 +0100 + +network-manager-applet (0.7.1~rc1+20090219+bzr974-0ubuntu1) jaunty; urgency=low + + * new upstream snapshot 0.7.1rc1+ Feb 19, 2009 + + rev: 974 + + revision-id: svn-v3-trunk0:9c6bbc85-7128-0410-879a-9bbc9e4270e9:branches%2FNETWORKMANAGER_APPLET_0_7:1186 + + branch: http://bzr-playground.gnome.org/network-manager-applet/branches/NETWORKMANAGER_APPLET_0_7/ + - update .bzr-builddeb/default.conf + * rebase diverged patches + - update patches/add_libmbca_support.patch + * fix LP: #331799 - nm-applet must not send actions when notification server + does not support actions + - add patches/331799_sensible_notify_actions.patch + - update patches/series + + -- Alexander Sack Thu, 19 Feb 2009 23:32:28 +0100 + +network-manager-applet (0.7.1~20090213+bzr960-0ubuntu1) jaunty; urgency=low + + * new upstream snapshot 0.7.1pre Feb 13, 2009 + + rev: 960 + + revision-id: svn-v3-trunk0:9c6bbc85-7128-0410-879a-9bbc9e4270e9:branches%2FNETWORKMANAGER_APPLET_0_7:1161 + + branch: http://bzr-playground.gnome.org/network-manager-applet/branches/NETWORKMANAGER_APPLET_0_7/ + * add config for bzr-builddeb meta information; we declare "merge" as default + operation mode and set the current top most upstream revision id + - add .bzr-builddeb/default.conf + * adjust patches to new upstream code + - update patches/add_libmbca_support.patch + * new tree layout doesn't have upstream sources; in turn we apply + autotools/cdbs integration magic on the fly now; this means we run + intltoolize in pre-build and create a dummy aclocal.m4 in clean::; + doing that allows us to use a bzr export from the upstream tree + instead of a make dist tarball + - update rules + * fix "(applet.c:1044):applet_open_mbca: code should not be reached" + warnings that get dumped to console; typos produced those warnings + even if nothing was wrong + - update patches/add_libmbca_support.patch + * bump lower bound for network-manager build-depends to >= 0.7.1~ + - update control + * fix LP: #327427 - network manager applet should pop up wizard when + 3g device is plugged in and no configuration exists; we adjust the + mobile broadband patch to not show notification. + - update patches/add_libmbca_support.patch + + -- Alexander Sack Tue, 17 Feb 2009 16:06:09 +0100 + +network-manager-applet (0.7-0ubuntu2) jaunty; urgency=low + + * fix LP: #295788 - Network Configuration menu item should also be + displayed in Xfce; we add XFCE to the OnlyShowIn .desktop field; + patch by Martin Mai + - add debian/patches/lp295788_xfce_menu_entry.patch + * fix LP: #327411 - network-manager: configure button(s) to create gsm + connections only works on first attempt; the assitants lists contains + UdiAssitants and not MbcaAssistant's + - update debian/patches/add_libmbca_support.patch + + -- Alexander Sack Sun, 15 Feb 2009 02:29:53 +0100 + +network-manager-applet (0.7-0ubuntu1) jaunty; urgency=low + + * merge new upstrema release (0.7) from trunk branch (rev970) + * drop patches superseeded/applied upstream + - delete debian/patches/lp293749_better_prefix_netmask_ui.patch + - delete debian/patches/lp286421_fix_i18n_bug_286421.patch + - update debian/patches/series + * adjust patches to new upstream codebase (mostly accessor and + anti-bit-rotting measures) + - update debian/patches/add_libmbca_support.patch + - update debian/patches/20_use_full_vpn_dialog_service_name_path.patch + - update debian/patches/lp268803_xdg_autostart_gnome_xfce_only.patch + - update debian/patches/lp289466_always_show_tray_icon.patch + * add support for "easy" bzr builddeb + add .bzr-builddeb/default.conf + * bump minimum required version for network-manager-dev, libnm-glib-dev + and libnm-util-dev + - update debian/control + + -- Alexander Sack Mon, 12 Jan 2009 13:31:17 +0100 + +network-manager-applet (0.7~~svn20081020t000444-0ubuntu2) jaunty; urgency=low + + * fix LP: #289466 - Network Manager 0.7 applet not Appearing if there are + managed entries in /etc/network/interfaces; we always call + applet_schedule_update_icon in client_init; also we also show the try when + there are error conditions (no NM running, no managed device) + - add debian/patches/lp289464_always_show_tray_icon.patch + - update debian/patches/series + * fix LP: #286421 - nm-connection-editor menu item untranslatable; + add i18n support to nm-connection-editor.desktop; patch by Timo Jyrinki + + - add debian/patches/lp286421_fix_i18n_bug_286421.patch + - update debian/patches/series + * fix LP: #268803 - Ubuntu Intrepid: Both Knetworkmanager and Network + Manager load on startup; fix xdg autostart .desktop file to + "OnlyShowIn=GNOME;XFCE;" + - add debian/patches/lp268803_xdg_autostart_gnome_xfce_only.patch + - update debian/patches/series + * fix LP: #293749 - prefix vs. netmask translation inconsistencies in + connection-editor causes confusion; we cherry pick rev1009 from upstream + svn and backport that. + - add debian/patches/lp293749_better_prefix_netmask_ui.patch + - update debian/patches/series + + -- Alexander Sack Mon, 01 Dec 2008 14:05:51 +0100 + +network-manager-applet (0.7~~svn20081020t000444-0ubuntu1) intrepid; urgency=low + + New upstream snapshot Mon 2008-10-20 00:04:44 +0000 (rev 819) + * support .cer and .crt extensions for wpa-eap (LP: #272185) + - update src/wireless-security/eap-method.c + * Don't translate widget labels + - update src/connection-editor/ce-page-ip4.glade + * updated translations for sv, es, hu, sk, nb, be, he + + -- Alexander Sack Mon, 20 Oct 2008 16:30:10 +0200 + +network-manager-applet (0.7~~svn20081015t194645-0ubuntu1) intrepid; urgency=low + + * new upstream snapshot Wed 2008-10-15 19:46:45 +0000 (rev 809) + * fix LP: #277084 - nm-applet confused by icon name changes during + hardy-intrepid upgrade; we ship icons used by NM 0.6 in the NM 0.7 + to prevent this behaviour + - update debian/rules + + -- Alexander Sack Thu, 16 Oct 2008 00:42:34 +0200 + +network-manager-applet (0.7~~svn20081012t133407-0ubuntu1) intrepid; urgency=low + + * new upstream snapshot Sun 2008-10-12 13:34:07 +0000 (rev 805) + - fixes LP: #279387 + * adjust patch to new upstream code + - update debian/patches/add_libmbca_support.patch + + -- Alexander Sack Mon, 13 Oct 2008 21:24:14 +0200 + +network-manager-applet (0.7~~svn20081005t082522-0ubuntu1) intrepid; urgency=low + + * new upstream snapshot Sun 2008-10-05 08:25:22 +0000 (rev 793) + * adjust mbca patch for changed upstream code base + - update debian/patches/add_libmbca_support.patch + + -- Alexander Sack Mon, 06 Oct 2008 13:41:27 +0200 + +network-manager-applet (0.7~~svn20080927t101113-0ubuntu1) intrepid; urgency=low + + * new upstream snapshot Sat 2008-09-27 10:11:13 +0000 (rev 776) + [ Antti Kaijanmäki ] + * added support for Mobile Broadband Configuration Assistant: + - added debian/patches/add_libmbca_support.patch + - updated debian/patches/series + - added libmbca-dev build-dependency to debian/control + - added --with-libmbca to DEB_CONFIGURE_EXTRA_FLAGS in debian/control + + [ Alexander Sack ] + * refresh libmbca patch using quilt to prevent diff pollution in future. + (quilt refresh --diffstat --no-timestamps -U8) + - update debian/patches/add_libmbca_support.patch + * generate a uuid for NMSettingConnection which was introduced by recent + network manager dbus API changes. + - update debian/patches/add_libmbca_support.patch + * fix libmbca setting the dialup string instead of the proper number (*99#) + for GSM modems + - update debian/patches/add_libmbca_support.patch + * add new parameter to add_connection call in mbca patch and strip trailing + whitespaces uses quilt refresh + - update debian/patches/add_libmbca_support.patch + * bump build-depends and depends bar on network-manager bits to + >= 0.7~~svn20080928 + - update debian/control + * explicitly set connection scope for mbca created connections to + NM_CONNECTION_SCOPE_USER + - update debian/patches/add_libmbca_support.patch + * add libmbca0 to Recommends + - update debian/control + + -- Alexander Sack Mon, 29 Sep 2008 22:15:13 +0200 + +network-manager-applet (0.7~~svn20080907t033843-0ubuntu2) intrepid; urgency=low + + * new upstream snapshot Sun 2008-09-07 03:38:43 +0000 (rev 743) + * adjust versioned (build-)depends on network-manager packages to + >= 0.7~~svn20080908 + - update debian/control + + -- Alexander Sack Tue, 09 Sep 2008 16:42:23 +0200 + +network-manager-applet (0.7~~svn20080817t183748-0ubuntu1) intrepid; urgency=low + + * new upstream snapshot Sun 2008-08-17 18:37:48 +0000 (rev 723) + * drop patches applied upstream: + - delete debian/patches/01_gcc43.patch + - update debian/patches/series + * bump build dependency versions on network-manager-dev and friends to (>= + 0.7~~svn20080812) + - update debian/control + * use full path for vpn auth-dialog's as provided by the .name key file in + $sysconfdir/NetworkManager/VPN/ + - add debian/patches/20_use_full_vpn_dialog_service_name_path.patch + - update debian/patches/series + + -- Alexander Sack Mon, 18 Aug 2008 21:32:15 +0200 + +network-manager-applet (0.7~~svn20080721t051503-0ubuntu1) intrepid; urgency=low + + * new upstream snapshot Mon 2008-07-21 05:15:03 +0000 (bzr trunk rev673) + * drop manual network config patches - default connection editor is NM + - delete debian/patches/01_static_network-admin.patch + - delete debian/patches/03_manual_config_available_when_connected.patch + - delete debian/patches/13_custom-network-admin.diff + - update debian/patches/series + * fix gcc 4.3 build failures + - add debian/patches/01_gcc43.patch + - update debian/patches/series + * higher network-manager versions for build and binary depends (>= + 0.7~~svn20080720t224551) + - update debian/control + + -- Alexander Sack Thu, 07 Aug 2008 01:54:01 +0200 + +network-manager-applet (0.7~~svn20080121t194048-0ubuntu0~pre6) hardy; urgency=low + + * package 0.7 svn snapshot + * add automake1.9 to Build-Depends + - update debian/control + * add quilt to Build-Depends + - update debian/control + * add libtool to Build-Depends + - update debian/control + * add gnome-common to Build-Depends + - update debian/control + * add libnotify-dev to Build-Depends + - update debian/control + * add libgnutls-dev to Build-Depends and pass --with-gnutls and + --without-nss to configure explicitly + - update debian/control + - update debian/rules + * make libnm-util-dev build dependency versioned to only build against + versions that come with libnm-util1 + - update debian/control + * include empty aclocal.m4 file to make cdbs trigger aclocal auto run + - add aclocal.m4 + * switch to use quilt as patchsystem + - add debian/patches/series + - update debian/rules + * unfold Build-Depends and Depends in debian/control to improve legability + of patches + - update debian/control + * bump {Build-}Depends: version for network-manager and friends to a + reasonable value (>= 0.7~~svn20080121t191418+eni1-0ubuntu0~pre6) + - update debian/control + * remove debian/network-manager-gnome/usr/include on install + - update debian/rules + + -- Alexander Sack Tue, 22 Jan 2008 17:56:32 +0000 + +network-manager-applet (0.6.5-0ubuntu11) hardy; urgency=low + + * apply patch to drop gnome-runtime dependencies (LP: #136945) - patch by Jani + Monoses + - add debian/patches/06_drop_libgnome.patch + - add debian/patches/99_autoconf_update.patch + * don't use gksu in hardy anymore - policy kit hooray! (LP: #176222) + - update debian/patches/01_static_network-admin.patch + - update debian/patches/13_custom-network-admin.diff + + [ TJ ] + * debian/patches/15_lp124336_missing_prototype_causes_connect_to_other_networks_sigsegv.patch: + Fix SIGSEGV caused by pointer>int>pointer conversion on x86_64. (LP: #124336) + + -- Alexander Sack Wed, 09 Jan 2008 13:15:10 +0100 + +network-manager-applet (0.6.5-0ubuntu10) gutsy; urgency=low + + * debian/control: add missing depends on gksu to allow manual + network-configuration even for minimal ubuntu flavours, like the UME. + * debian/patches/13_custom-network-admin.diff: use BINDIR "/" MANUAL_CONF_FILE + when its available on the system. (LP: #145625) + * debian/rules: apply previously forgotten hunk to install network manager + applet autostart file to /etc/xdg/autostart/ from LP: #95064. + * debian/patches/14_lp123808_dont_start_applet_on_ltsp_client.patch: don't + start nm-applet on ltsp client. (LP: #123808) + + -- Alexander Sack Tue, 02 Oct 2007 20:58:18 +0200 + +network-manager-applet (0.6.5-0ubuntu9) gutsy; urgency=low + + * debian/patches/11_lp95064-enable-xdg-autostart-for-xfce.patch: enable + autostart of nm-applet for XFCE nm-applet.desktop. (LP: #95064) + * debian/patches/12_lp101978-connection-info-hide-on-delete-event.patch: + hide connection info on delete-event; patch by Dima Korzhevin. + (LP: #101978). + + -- Alexander Sack Wed, 19 Sep 2007 18:24:28 +0200 + +network-manager-applet (0.6.5-0ubuntu8) gutsy; urgency=low + + * set Maintainer to ubuntu-core-dev + * add XS-Vcs-Bzr tag to point apt-get to the correct branch + + -- Reinhard Tartler Thu, 26 Jul 2007 15:55:06 +0200 + +network-manager-applet (0.6.5-0ubuntu7) gutsy; urgency=low + + * add 04_nm-vpn-properties_path again, nm-vpn-properties has been moved + back again. LP: #127844 + + -- Reinhard Tartler Thu, 26 Jul 2007 11:05:45 +0200 + +network-manager-applet (0.6.5-0ubuntu6) gutsy; urgency=low + + * remove 04_nm-vpn-properties_path.patch. nm-vpn-properties now + installed in /usr/bin again. + + -- Reinhard Tartler Thu, 05 Jul 2007 10:25:15 +0200 + +network-manager-applet (0.6.5-0ubuntu5) gutsy; urgency=low + + * debian/control: + - Build-Depends on intltool so the translation template updated + (LP: #122547) + + -- Sebastien Bacher Thu, 28 Jun 2007 21:32:29 +0200 + +network-manager-applet (0.6.5-0ubuntu4) gutsy; urgency=low + + * debian/patches/01_static_network-admin.patch: fix by Peter + Clifton; adding NULL check to stop nm-applet from crashing + and make encrypted wifi work. (LP: #121228) + + -- Alexander Sack Wed, 27 Jun 2007 12:34:03 +0200 + +network-manager-applet (0.6.5-0ubuntu3) gutsy; urgency=low + + * Re-import applet patches from network-manager + + * debian/control: tighten build-depends on network-manager to + >= 0.6.5-0ubuntu3 + + * Make patches apply against applet sources + drop patches that have + been applied upstream: + - debian/patches/01_static_network-admin.patch: fix diff path for + new source layout: gnome/applet -> src/ + update line numbers. + - debian/patches/02_manual_means_always_online.diff: fix diff path + for new source layout: gnome/applet -> src/ + update line numbers; + drop diffs for sources not in this tarball: src/NetworkManagerDbus.c, + src/NetworkManagerMain.h and src/nm-device.c. + - debian/patches/03_manual_config_available_when_connected.patch: fix + diff path for new source layout: gnome/applet -> src/ + update line + numbers. + - debian/patches/04_nm-vpn-properties_path.patch: nm-vpn-properties + are shipped in network-manager pkglibdir + - debian/patches/10-po_fr.patch: all but one translation fixes were applied + upstream. + + -- Alexander Sack Tue, 26 Jun 2007 10:52:45 +0200 + +network-manager-applet (0.6.5-0ubuntu2) gutsy; urgency=low + + * Added missing dep network-manager + + -- Anthony Mercatante Fri, 22 Jun 2007 18:24:22 +0200 + +network-manager-applet (0.6.5-0ubuntu1) gutsy; urgency=low + + * Initial release + * Added 21_manual_means_always_online.diff to "patches-not-applied" + The gnome applet has been splitted from n-m code, and patch needs + to be rewritten + * Added 04_nm-vpn-properties_path.patch + Fixes path to nm-vpn-properties according to the changes we've done + to network-manager package due to bad source splitting + + -- Anthony Mercatante Fri, 15 Jun 2007 12:46:22 +0200 --- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/debian/rules +++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/debian/rules @@ -0,0 +1,111 @@ +#!/usr/bin/make -f + +DEB_SOURCE := $(shell dpkg-parsechangelog | grep Source: | sed -e 's/Source: //') +DEB_VERSION := $(shell dpkg-parsechangelog | grep Version: | sed -e 's/Version: //') +DEB_UPSTREAM_VERSION := $(shell echo $(DEB_VERSION) | sed -e 's/-[^-]*$$//') +DEB_MAJOR_VERSION := $(shell echo $(DEB_UPSTREAM_VERSION) | sed -e 's/git.*//') + +DEB_AUTO_UPDATE_LIBTOOL = pre +DEB_AUTO_UPDATE_AUTOHEADER = 2.50 +DEB_AUTO_UPDATE_ACLOCAL = 1.11 +DEB_AUTO_UPDATE_AUTOMAKE = 1.11 -a -c -f +DEB_AUTO_UPDATE_AUTOCONF = 2.50 + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk +include /usr/share/cdbs/1/class/gnome.mk + +DEB_CONFIGURE_EXTRA_FLAGS = \ + --without-gnutls \ + --with-nss \ + --with-mbca \ + --enable-indicator \ + $(NULL) + +GIT_URL := git://git.gnome.org/network-manager-applet +GIT_BRANCH := "NMA_0_8" +GIT_BRANCH_NAME := network-manager-applet + +ifneq (,$(LOCAL_BRANCH)) +LOCAL_REAL_BRANCH = $(realpath $(LOCAL_BRANCH)) +endif + +build/network-manager-gnome:: + /usr/bin/docbook-to-man debian/nm-applet.sgml > debian/nm-applet.1 + +common-binary-arch:: + rm -rf debian/network-manager-gnome/usr/include/ + # workaround for icon-changes + # dapper -> intrepid (?) + cp -f debian/network-manager-gnome/usr/share/icons/hicolor/22x22/apps/nm-vpn-active-lock.png \ + debian/network-manager-gnome/usr/share/icons/hicolor/22x22/apps/nm-vpn-lock.png + cp -f debian/network-manager-gnome/usr/share/icons/hicolor/22x22/apps/nm-device-wired.png \ + debian/network-manager-gnome/usr/share/icons/hicolor/22x22/apps/nm-device-wired-autoip.png + # karmic -> lucid + cp -f debian/icons/22/nm-active-device.png \ + debian/network-manager-gnome/usr/share/icons/hicolor/22x22/apps/ + +common-binary-post-install-arch:: + find debian/network-manager-gnome/ -name \*.la -o -name \*.a | xargs rm > /dev/null || true + +clean:: + rm -f po/*.gmo + rm -f debian/*.1 + rm -f gtk-doc.make + echo "# empty file" > aclocal.m4 + rm -f debian/icons/22/*.png + +pre-build:: + intltoolize -f -c + set -e; cd debian/icons/22/; uudecode nm-secure-lock.png.uue + set -e; cd debian/icons/22/; uudecode nm-active-device.png.uue + cp -rf $(CURDIR)/debian/icons/22 icons/ + +GET_SOURCE = \ + set -e; \ + tmpdir=`mktemp -d -t`; \ + cd $$tmpdir; \ + echo "cloning upstream repository ..."; \ + git clone -b $(GIT_BRANCH) $(if $(LOCAL_BRANCH),$(call LOCAL_REAL_BRANCH)/$(GIT_BRANCH_NAME),$(GIT_URL)) $(GIT_BRANCH_NAME); \ + echo "getting specific upstream revision/tag: $(1)"; \ + cd `ls | head -n 1`; git checkout -b orig $(1); \ + commit_id=`git log -n1 --abbrev-commit | grep '^commit ' | sed -e 's/commit //' | sed -e 's/\.\.\.$$//'`; \ + raw=`date --utc --date="$$(git log --pretty=fuller -n1 --date=rfc | grep CommitDate: | sed -e 's/CommitDate:[^0-9]*//')" "+%Y%m%dt%H%M%S"`; \ + if echo $(1) | grep -q -c "orig" || echo $(DEB_VERSION) | grep -q -c "git"; \ + then \ + upstream_version=$(DEB_MAJOR_VERSION)git.$$raw.$$commit_id; \ + else \ + upstream_version=$(DEB_UPSTREAM_VERSION); \ + fi; \ + cd ..; tar --exclude=.git -czf $(CURDIR)/$(DEB_SOURCE)_$$upstream_version.orig.tar.gz `ls | head -n 1`; \ + cd $(CURDIR); rm -rf $$tmpdir; + +get-current-source:: $(if $(LOCAL_BRANCH),update-local-branch) + set -e; if echo $(DEB_VERSION) | grep -q -c "git"; \ + then \ + git_version=`echo $(DEB_VERSION) | sed -e 's/^.*git\.*\([0-9t]*\)\.\(.*\)-.*$$/\2/g'`; \ + elif echo $(DEB_VERSION) | grep -q -c "~rc"; \ + then \ + git_version=`echo $(DEB_VERSION) | sed -e 's/^\([0-9\.]*\)\(~rc\)\([0-9]\)-.*$$/\1-rc\3/'`; \ + else \ + git_version=$(DEB_UPSTREAM_VERSION); \ + fi; \ + $(call GET_SOURCE, $$git_version, "current") + +get-orig-source:: $(if $(LOCAL_BRANCH),update-local-branch) + $(call GET_SOURCE, "HEAD", "orig") + +update-local-branch:: + @echo "updating local branch ($(LOCAL_BRANCH))" + @set -e; if ! test -d $(LOCAL_BRANCH); then mkdir -p $(LOCAL_BRANCH); fi + @set -e; if ! test -d $(LOCAL_BRANCH)/$(GIT_BRANCH_NAME); then git clone $(GIT_URL) $(LOCAL_BRANCH)/$(GIT_BRANCH_NAME); fi + @set -e; cd $(LOCAL_BRANCH)/$(GIT_BRANCH_NAME); if ! `git branch | grep -q -c "$(GIT_BRANCH)"`; then git branch $(GIT_BRANCH) remotes/origin/$(GIT_BRANCH); fi + @set -e; cd $(LOCAL_BRANCH)/$(GIT_BRANCH_NAME); git checkout $(GIT_BRANCH); git pull -f + @echo "updated local branch ($(LOCAL_BRANCH))" + +get-snapshot-info:: $(if $(LOCAL_BRANCH),update-local-branch) + @set -e; \ + git_version=`echo $(DEB_VERSION) | sed -e 's/^.*git\.*\([0-9t]*\)\.\(.*\)-.*$$/\2/g'`; \ + cd $(LOCAL_BRANCH)/$(GIT_BRANCH_NAME); \ + raw=`date --utc --date="$$(git log --pretty=fuller -n1 --date=rfc $$git_version | grep CommitDate: | sed -e 's/CommitDate:[^0-9]*//')" "+%Y-%m-%d %H:%M:%S (GMT)"`; \ + git log -n1 $$git_version --format="%n%s%n%n * upstream snapshot $$raw%n + %H%n"; --- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/debian/network-manager-applet.manpages +++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/debian/network-manager-applet.manpages @@ -0,0 +1 @@ +debian/nm-applet.1 --- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/debian/copyright +++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/debian/copyright @@ -0,0 +1,59 @@ +This package was debianized by Anthony Mercatante on +Fri, 15 Jun 2007 11:54:56 +0200. + +It was downloaded from http://ftp.acc.umu.se/pub/GNOME/sources/network-manager-applet/ + +Upstream author: + Dan Williams + +Copyright holders: + Copyright 2004-2005 Red Hat, Inc. + Copyright 2006 Thiago Jung Bauermann + Copyright 1999, 2000 Eazel, Inc. + Copyright 2002 Anders Carlsson + Copyright 2006 Novell, Inc. + Copyright 2006 Thiago Jung Bauermann + Copyright 2001, 2002 Free Software Foundation + +License: +All the software: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + + +eggtrayicon.c, eggtrayicon.h: + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL'. + +menu-items.c: + This also uses code from eel-vfs-extentions available under the LGPL --- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/debian/control +++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/debian/control @@ -0,0 +1,56 @@ +Source: network-manager-applet +Section: gnome +Priority: optional +Maintainer: Ubuntu Core Developers +Original-Maintainer: Anthony Mercatante +Build-Depends: debhelper (>= 5.0.37), + automake1.9, + libtool, + cdbs, + libgnome-keyring-dev, + libgnomeui-dev, + libpanel-applet2-dev, + libglade2-dev, + libgconf2-dev, + network-manager-dev (>= 0.8.1), + libnm-util-dev (>= 0.8.1), + libnm-glib-dev (>= 0.8.1), + libiw-dev, + libxml-parser-perl, + docbook-to-man, + quilt, + libnotify-dev, + gnome-common, + libnss3-dev, + libpolkit-gobject-1-dev, + intltool, + libgnome-bluetooth-dev, + libappindicator-dev, + sharutils +Standards-Version: 3.7.2 +Vcs-Bzr: https://code.launchpad.net/~network-manager/network-manager-applet/ubuntu.head + +Package: network-manager-gnome +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends}, + network-manager (>= 0.8~rc2), + gksu, + mobile-broadband-provider-info (>= 20090622) +Recommends: notification-daemon +Description: network management framework (GNOME frontend) + NetworkManager attempts to keep an active network connection available at all + times. It is intended only for the desktop use-case, and is not intended for + usage on servers. The point of NetworkManager is to make networking + configuration and setup as painless and automatic as possible. If using DHCP, + NetworkManager is _intended_ to replace default routes, obtain IP addresses + from a DHCP server, and change nameservers whenever it sees fit. + . + This package contains a systray applet for GNOME's notification area but it + also works for other desktop environments which provide a systray like KDE + or XFCE. + It displays the available networks and allows to easily switch between them. + For encrypted networks it will prompt the user for the key/passphrase and it + can optionally store them in the gnome-keyring. + . + Homepage: http://www.gnome.org/projects/NetworkManager/ --- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/debian/icons/22/nm-secure-lock.png.uue +++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/debian/icons/22/nm-secure-lock.png.uue @@ -0,0 +1,11 @@ +begin 644 nm-secure-lock.png +MB5!.1PT*&@H````-24A$4@```!8````6"`8```#$M&P[`````7-21T(`KLX< +MZ0````9B2T=$`/\`_P#_H+VGDP````EP2%ES```-UP``#=`````=T +M24U%!]D)$0P3'_FM`,\```#/241!5#C+[=`[BL)0&(;A]\38!-&`*,1&74`8 +MM1DFG3MR*>[&3A%$T<)+:R':3(@S\0+>=8S-*`I6GMCE*;\#+S]'\*_5'7C< +M^2I\""0HUV@JKA,)*WB[-````!ET15AT4V]F='=AY_,EN^SD"?QSB9V)S$6RLA"@5]\X5$VYC_M" +M$K.QI!5++A^L9792\PLI`(#W9N.I>6'[@Y?CP!]4Y+^'?P%$]8OH$@*&^@`` +*``!)14Y$KD)@@@`` +` +end --- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/debian/patches/lp358526_generic_disconnected_notification_icon.patch +++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/debian/patches/lp358526_generic_disconnected_notification_icon.patch @@ -0,0 +1,27 @@ +--- + src/applet.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: network-manager-applet-0.7.1~rc4.1/src/applet.c +=================================================================== +--- network-manager-applet-0.7.1~rc4.1.orig/src/applet.c ++++ network-manager-applet-0.7.1~rc4.1/src/applet.c +@@ -1674,17 +1674,17 @@ + break; + case NM_DEVICE_TYPE_WIFI: + info->icon = "notification-network-wireless-disconnected"; + break; + case NM_DEVICE_TYPE_GSM: + info->icon = "notification-gsm-disconnected"; + break; + default: +- info->icon = "nm-no-connection"; ++ info->icon = "notification-network-disconnected"; + break; + } + g_debug("going for offline with icon: %s", info->icon); + return TRUE; + } + return FALSE; + } + --- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/debian/patches/lp637930_fix_race_in_permissions-changed.patch +++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/debian/patches/lp637930_fix_race_in_permissions-changed.patch @@ -0,0 +1,29 @@ +From c7b531250e7417cf51d088c21f91e4a6ef410ac3 Mon Sep 17 00:00:00 2001 +From: Jiří Klimeš +Date: Mon, 30 Aug 2010 12:03:55 +0000 +Subject: applet: initialize permissions in the applet to show 'Enable ...' menu items' visibility correctly (rh #627365) + +'Enable Networking/Wireless/Mobile Broadband' was grayed out due to not +initializing permissions. The first 'permission-changed' signals are emitted +from withing NMClient constructor and the signal handler is not connected yet. +So we call nm_client_get_permission_result() to set initial permissions. +--- +diff --git a/src/applet.c b/src/applet.c +index c362758..4518f62 100644 +--- a/src/applet.c ++++ b/src/applet.c +@@ -2229,6 +2229,11 @@ foo_client_setup (NMApplet *applet) + g_signal_connect (applet->nm_client, "permission-changed", + G_CALLBACK (foo_manager_permission_changed), + applet); ++ /* Initialize permissions - the initial 'permission-changed' signal is emitted from NMClient constructor, and thus not caught */ ++ applet->permissions[NM_CLIENT_PERMISSION_ENABLE_DISABLE_NETWORK] = nm_client_get_permission_result (applet->nm_client, NM_CLIENT_PERMISSION_ENABLE_DISABLE_NETWORK); ++ applet->permissions[NM_CLIENT_PERMISSION_ENABLE_DISABLE_WIFI] = nm_client_get_permission_result (applet->nm_client, NM_CLIENT_PERMISSION_ENABLE_DISABLE_WIFI); ++ applet->permissions[NM_CLIENT_PERMISSION_ENABLE_DISABLE_WWAN] = nm_client_get_permission_result (applet->nm_client, NM_CLIENT_PERMISSION_ENABLE_DISABLE_WWAN); ++ applet->permissions[NM_CLIENT_PERMISSION_USE_USER_CONNECTIONS] = nm_client_get_permission_result (applet->nm_client, NM_CLIENT_PERMISSION_USE_USER_CONNECTIONS); + + if (nm_client_get_manager_running (applet->nm_client)) + g_idle_add (foo_set_initial_state, applet); +-- +cgit v0.8.3.1 + --- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/debian/patches/lp460144_correctly_update_notification.patch +++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/debian/patches/lp460144_correctly_update_notification.patch @@ -0,0 +1,70 @@ +Index: network-manager-applet-0.8/src/applet.c +=================================================================== +--- network-manager-applet-0.8.orig/src/applet.c 2010-03-09 14:58:49.000000000 +0100 ++++ network-manager-applet-0.8/src/applet.c 2010-03-09 15:02:59.000000000 +0100 +@@ -615,17 +615,6 @@ + return item; + } + +-static void +-applet_clear_notify (NMApplet *applet) +-{ +- if (applet->notification == NULL) +- return; +- +- notify_notification_close (applet->notification, NULL); +- g_object_unref (applet->notification); +- applet->notification = NULL; +-} +- + static gboolean + applet_notify_server_has_actions () + { +@@ -675,15 +664,23 @@ + return; + #endif + +- applet_clear_notify (applet); +- + escaped = utils_escape_notify_message (message); +- notify = notify_notification_new (summary, +- escaped, +- icon ? icon : GTK_STOCK_NETWORK, +- NULL); +- g_free (escaped); +- applet->notification = notify; ++ if (applet->notification == NULL) { ++ notify = notify_notification_new (summary, ++ escaped, ++ icon ? icon : GTK_STOCK_NETWORK, ++ NULL); ++ ++ applet->notification = notify; ++ } else { ++ notify = applet->notification; ++ notify_notification_update (notify, ++ summary, ++ escaped, ++ icon ? icon : GTK_STOCK_NETWORK); ++ } ++ ++ g_free (escaped); + + notify_notification_attach_to_status_icon (notify, applet->status_icon); + notify_notification_set_urgency (notify, urgency); +@@ -2973,7 +2973,6 @@ + /* Have clicking on the applet act also as acknowledgement + * of the notification. + */ +- applet_clear_notify (applet); + + nma_menu_clear (applet); + gtk_menu_popup (GTK_MENU (applet->menu), NULL, NULL, +@@ -2990,7 +2989,6 @@ + /* Have clicking on the applet act also as acknowledgement + * of the notification. + */ +- applet_clear_notify (applet); + + nma_context_menu_update (applet); + gtk_menu_popup (GTK_MENU (applet->context_menu), NULL, NULL, --- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/debian/patches/20_use_full_vpn_dialog_service_name_path.patch +++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/debian/patches/20_use_full_vpn_dialog_service_name_path.patch @@ -0,0 +1,44 @@ + +We dont want LIBEXECDIR shuffeling. The vpn daemon building system knows +better where the auth-dialog will be installed to; thus we just use the +full path stored in VPN/*.name files. + +-- + +=== modified file 'src/vpn-password-dialog.c' +--- + src/vpn-password-dialog.c | 14 ++------------ + 1 file changed, 2 insertions(+), 12 deletions(-) + +Index: network-manager-applet-0.8.1~beta3~git.20100601t071733.8665dfe/src/vpn-password-dialog.c +=================================================================== +--- network-manager-applet-0.8.1~beta3~git.20100601t071733.8665dfe.orig/src/vpn-password-dialog.c 2010-06-02 21:27:49.000000000 -0400 ++++ network-manager-applet-0.8.1~beta3~git.20100601t071733.8665dfe/src/vpn-password-dialog.c 2010-06-02 21:59:36.818887979 -0400 +@@ -141,16 +141,6 @@ + service); + gtk_window_present (GTK_WINDOW (dialog)); + g_signal_connect_swapped (dialog, "response", G_CALLBACK (gtk_widget_destroy), dialog); +- } else { +- char *prog_basename; +- +- /* Remove any path component, then reconstruct path to the auth +- * dialog in LIBEXECDIR. +- */ +- prog_basename = g_path_get_basename (prog); +- g_free (prog); +- prog = g_strdup_printf ("%s/%s", LIBEXECDIR, prog_basename); +- g_free (prog_basename); + } + + return prog; +@@ -262,8 +252,8 @@ + g_set_error (&error, + NM_SETTINGS_INTERFACE_ERROR, + NM_SETTINGS_INTERFACE_ERROR_INTERNAL_ERROR, +- "%s.%d (%s): couldn't run VPN auth dialog.", +- __FILE__, __LINE__, __func__); ++ "%s.%d (%s): couldn't run VPN auth dialog. (cmd=%s)", ++ __FILE__, __LINE__, __func__, argv[0]); + goto out; + } + --- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/debian/patches/lp337960_dxteam_notification_icon_names_part2-images.diff +++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/debian/patches/lp337960_dxteam_notification_icon_names_part2-images.diff @@ -0,0 +1,1860 @@ +=== modified file 'icons/scalable/Makefile.am' +--- old/icons/scalable/Makefile.am 2009-02-17 16:32:22 +0000 ++++ new/icons/scalable/Makefile.am 2009-03-04 22:05:26 +0000 +@@ -1,7 +1,10 @@ + icondir=${datadir}/icons/hicolor/scalable/apps + icon_DATA = \ + nm-device-wired.svg \ +- nm-no-connection.svg ++ nm-no-connection.svg \ ++ notification-gsm-high.svg \ ++ notification-network-ethernet-connected.svg \ ++ notification-network-wireless-full.svg + + EXTRA_DIST = $(icon_DATA) + + +=== added file 'icons/scalable/notification-gsm-high.svg' +--- old/icons/scalable/notification-gsm-high.svg 1970-01-01 00:00:00 +0000 ++++ new/icons/scalable/notification-gsm-high.svg 2009-03-04 22:02:18 +0000 +@@ -0,0 +1,771 @@ ++ ++ ++image/svg+xml ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ +\ No newline at end of file + +=== added file 'icons/scalable/notification-network-ethernet-connected.svg' +--- old/icons/scalable/notification-network-ethernet-connected.svg 1970-01-01 00:00:00 +0000 ++++ new/icons/scalable/notification-network-ethernet-connected.svg 2009-03-04 22:01:48 +0000 +@@ -0,0 +1,1015 @@ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ + +=== added file 'icons/scalable/notification-network-wireless-full.svg' +--- old/icons/scalable/notification-network-wireless-full.svg 1970-01-01 00:00:00 +0000 ++++ new/icons/scalable/notification-network-wireless-full.svg 2009-03-04 21:54:28 +0000 +@@ -0,0 +1,41 @@ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ +\ No newline at end of file + --- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/debian/patches/14_lp123808_dont_start_applet_on_ltsp_client.patch +++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/debian/patches/14_lp123808_dont_start_applet_on_ltsp_client.patch @@ -0,0 +1,11 @@ +--- network-manager-applet-0.6.5/src/applet.c.orig 2007-10-02 20:53:36.000000000 +0200 ++++ network-manager-applet-0.6.5/src/applet.c 2007-10-02 20:54:46.000000000 +0200 +@@ -132,7 +132,7 @@ static void nma_init (NMApplet *applet) + applet->animation_step = 0; + glade_gnome_init (); + +- if (!nma_icons_init (applet)) ++ if ((!nma_icons_init (applet)) || (g_getenv("LTSP_CLIENT"))) + return; + + /* gtk_window_set_default_icon_from_file (ICONDIR"/NMApplet/wireless-applet.png", NULL); */ --- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/debian/patches/lp330608_dxteam_gsm_connect_text.patch +++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/debian/patches/lp330608_dxteam_gsm_connect_text.patch @@ -0,0 +1,33 @@ +=== modified file 'src/applet-device-gsm.c' +--- a/src/applet-device-gsm.c 2009-02-17 16:32:22 +0000 ++++ b/src/applet-device-gsm.c 2009-02-17 16:36:47 +0000 +@@ -287,24 +287,19 @@ + if (new_state == NM_DEVICE_STATE_ACTIVATED) { + NMConnection *connection; + NMSettingConnection *s_con = NULL; +- char *str = NULL; ++ const char *str = NULL; + + connection = applet_find_active_connection_for_device (device, applet, NULL); + if (connection) { +- const char *id; +- + s_con = NM_SETTING_CONNECTION (nm_connection_get_setting (connection, NM_TYPE_SETTING_CONNECTION)); +- id = s_con ? nm_setting_connection_get_id (s_con) : NULL; +- if (id) +- str = g_strdup_printf (_("You are now connected to '%s'."), id); ++ str = s_con ? nm_setting_connection_get_id (s_con) : NULL; + } + + applet_do_notify_with_pref (applet, +- _("Connection Established"), +- str ? str : _("You are now connected to the GSM network."), ++ str ? str : _("GSM network."), ++ _("Connection Established"), + "nm-device-wwan", + PREF_DISABLE_CONNECTED_NOTIFICATIONS); +- g_free (str); + } + } + + --- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/debian/patches/lp295788_xfce_menu_entry.patch +++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/debian/patches/lp295788_xfce_menu_entry.patch @@ -0,0 +1,10 @@ +Index: network-manager-applet-0.8.1+git.20101012t222209.f7588d8/nm-connection-editor.desktop.in +=================================================================== +--- network-manager-applet-0.8.1+git.20101012t222209.f7588d8.orig/nm-connection-editor.desktop.in 2010-10-12 23:51:12.000000000 -0400 ++++ network-manager-applet-0.8.1+git.20101012t222209.f7588d8/nm-connection-editor.desktop.in 2010-10-12 23:55:50.929562998 -0400 +@@ -10,4 +10,4 @@ + X-GNOME-Bugzilla-Product=NetworkManager + X-GNOME-Bugzilla-Component=general + Categories=GNOME;GTK;Settings;X-GNOME-NetworkSettings; +-OnlyShowIn=GNOME; ++OnlyShowIn=GNOME;Xfce; --- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/debian/patches/lp330571_dxteam_wired_connect_text.patch +++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/debian/patches/lp330571_dxteam_wired_connect_text.patch @@ -0,0 +1,32 @@ +=== modified file 'src/applet-device-wired.c' +--- a/src/applet-device-wired.c 2009-01-12 17:39:22 +0000 ++++ b/src/applet-device-wired.c 2009-02-17 15:29:30 +0000 +@@ -253,23 +253,19 @@ + if (new_state == NM_DEVICE_STATE_ACTIVATED) { + NMConnection *connection; + NMSettingConnection *s_con = NULL; +- char *str = NULL; ++ const char *str = NULL; + + connection = applet_find_active_connection_for_device (device, applet, NULL); + if (connection) { +- const char *id; + s_con = NM_SETTING_CONNECTION (nm_connection_get_setting (connection, NM_TYPE_SETTING_CONNECTION)); +- id = s_con ? nm_setting_connection_get_id (s_con) : NULL; +- if (id) +- str = g_strdup_printf (_("You are now connected to '%s'."), id); ++ str = s_con ? nm_setting_connection_get_id (s_con) : NULL; + } + + applet_do_notify_with_pref (applet, +- _("Connection Established"), +- str ? str : _("You are now connected to the wired network."), ++ str ? str : _("Wired network"), ++ _("Connection Established"), + "nm-device-wired", + PREF_DISABLE_CONNECTED_NOTIFICATIONS); +- g_free (str); + } + } + + --- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/debian/patches/lp289466_always_show_tray_icon.patch +++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/debian/patches/lp289466_always_show_tray_icon.patch @@ -0,0 +1,35 @@ +=== modified file 'src/applet.c' +--- + src/applet.c | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +Index: network-manager-applet-0.8.1+git.20100809t190028.290dc70/src/applet.c +=================================================================== +--- network-manager-applet-0.8.1+git.20100809t190028.290dc70.orig/src/applet.c 2010-08-10 14:47:03.000000000 -0400 ++++ network-manager-applet-0.8.1+git.20100809t190028.290dc70/src/applet.c 2010-08-10 15:13:45.967155252 -0400 +@@ -2232,6 +2232,8 @@ + + if (nm_client_get_manager_running (applet->nm_client)) + g_idle_add (foo_set_initial_state, applet); ++ ++ applet_schedule_update_icon (applet); + } + + static GdkPixbuf * +@@ -2350,6 +2352,8 @@ + out: + if (!pixbuf) + pixbuf = applet_common_get_device_icon (state, applet); ++ if (!pixbuf) ++ pixbuf = applet->no_connection_icon; + return pixbuf; + } + +@@ -2417,7 +2421,6 @@ + applet->update_icon_id = 0; + + nm_running = nm_client_get_manager_running (applet->nm_client); +- gtk_status_icon_set_visible (applet->status_icon, nm_running); + + /* Handle device state first */ + --- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/debian/patches/lp328572-dxteam-connect-text.patch +++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/debian/patches/lp328572-dxteam-connect-text.patch @@ -0,0 +1,34 @@ +=== modified file 'src/applet-device-wifi.c' +--- + src/applet-device-wifi.c | 10 ++++------ + 1 file changed, 4 insertions(+), 6 deletions(-) + +Index: network-manager-applet-0.8~a~git.20090830t224938.0334788/src/applet-device-wifi.c +=================================================================== +--- network-manager-applet-0.8~a~git.20090830t224938.0334788.orig/src/applet-device-wifi.c 2009-08-31 19:30:00.000000000 -0400 ++++ network-manager-applet-0.8~a~git.20090830t224938.0334788/src/applet-device-wifi.c 2009-08-31 19:32:23.000000000 -0400 +@@ -1164,7 +1164,6 @@ + { + NMSettingsConnectionInterface *connection; + NMAccessPoint *new = NULL; +- char *msg; + char *esc_ssid = NULL; + + new = update_active_ap (device, new_state, applet); +@@ -1187,12 +1186,11 @@ + nm_settings_connection_interface_update (connection, bssid_update_cb, NULL); + } + +- msg = g_strdup_printf (_("You are now connected to the wireless network '%s'."), +- esc_ssid ? esc_ssid : _("(none)")); +- applet_do_notify_with_pref (applet, _("Connection Established"), +- msg, "nm-device-wireless", ++ applet_do_notify_with_pref (applet, ++ esc_ssid ? esc_ssid : _("(none)"), ++ _("Connection Established"), ++ "nm-device-wireless", + PREF_DISABLE_CONNECTED_NOTIFICATIONS); +- g_free (msg); + g_free (esc_ssid); + } + --- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/debian/patches/nm-applet-use-indicator.patch +++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/debian/patches/nm-applet-use-indicator.patch @@ -0,0 +1,978 @@ +From: Mathieu Trudel-Lapierre +Subject: Implement conditional support for libappindicator + +To get better integration with Unity (and actually have nm-applet show up at +all with Unity / compiz), implement drawing the applet using libappindicator. + +To play well with others, this patch actually implements libappindicator +conditionally to running configure with --enable-indicator. + +=== modified file 'configure.ac' +Index: network-manager-applet-0.8.2+git.20101123t161608.f143e76/configure.ac +=================================================================== +--- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/configure.ac 2010-11-26 13:34:34.000000000 -0500 ++++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/configure.ac 2010-11-26 14:32:47.760053001 -0500 +@@ -115,6 +115,14 @@ + ;; + esac + ++AC_ARG_ENABLE([indicator], ++[ --enable-appindicator Enables using libappindicator to draw the applet ++ on the screen, instead of the standard status icons.], ++[ ++ PKG_CHECK_MODULES(APPINDICATOR, appindicator-0.1) ++ AC_DEFINE([ENABLE_INDICATOR], 1, [Enable using libappindicator]) ++]) ++ + AM_CONDITIONAL(HAVE_GBT, test x"$have_gbt" = "xyes") + + AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal) +Index: network-manager-applet-0.8.2+git.20101123t161608.f143e76/src/Makefile.am +=================================================================== +--- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/src/Makefile.am 2010-11-26 13:34:34.000000000 -0500 ++++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/src/Makefile.am 2010-11-26 14:32:47.760053001 -0500 +@@ -5,6 +5,7 @@ + nm_applet_CPPFLAGS = \ + $(NMA_CFLAGS) \ + $(NOTIFY_CFLAGS) \ ++ $(APPINDICATOR_CFLAGS) \ + -DICONDIR=\""$(datadir)/icons"\" \ + -DGLADEDIR=\""$(gladedir)"\" \ + -DBINDIR=\""$(bindir)"\" \ +@@ -55,6 +56,7 @@ + -lm \ + $(NMA_LIBS) \ + $(NOTIFY_LIBS) \ ++ $(APPINDICATOR_LIBS) \ + ${top_builddir}/src/marshallers/libmarshallers.la \ + ${top_builddir}/src/utils/libutils.la \ + ${top_builddir}/src/gconf-helpers/libgconf-helpers.la \ +Index: network-manager-applet-0.8.2+git.20101123t161608.f143e76/src/applet-device-bt.c +=================================================================== +--- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/src/applet-device-bt.c 2010-11-26 13:34:34.000000000 -0500 ++++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/src/applet-device-bt.c 2010-11-26 14:32:47.760053001 -0500 +@@ -209,7 +209,11 @@ + } + } + ++#ifndef ENABLE_INDICATOR + static GdkPixbuf * ++#else ++static gboolean ++#endif + bt_get_icon (NMDevice *device, + NMDeviceState state, + NMConnection *connection, +@@ -217,7 +221,11 @@ + NMApplet *applet) + { + NMSettingConnection *s_con; ++#ifndef ENABLE_INDICATOR + GdkPixbuf *pixbuf = NULL; ++#else ++ gboolean icon_is_set = FALSE; ++#endif + const char *id; + + id = nm_device_get_iface (NM_DEVICE (device)); +@@ -240,14 +248,23 @@ + *tip = g_strdup_printf (_("Requesting a network address for '%s'..."), id); + break; + case NM_DEVICE_STATE_ACTIVATED: ++#ifndef ENABLE_INDICATOR + pixbuf = nma_icon_check_and_load ("nm-device-wwan", &applet->wwan_icon, applet); ++#else ++ app_indicator_set_icon (applet->status_icon, "nm-device-wwan"); ++ icon_is_set = TRUE; ++#endif + *tip = g_strdup_printf (_("Mobile broadband connection '%s' active"), id); + break; + default: + break; + } + ++#ifndef ENABLE_INDICATOR + return pixbuf; ++#else ++ return icon_is_set; ++#endif + } + + typedef struct { +Index: network-manager-applet-0.8.2+git.20101123t161608.f143e76/src/applet-device-cdma.c +=================================================================== +--- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/src/applet-device-cdma.c 2010-11-26 13:34:34.000000000 -0500 ++++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/src/applet-device-cdma.c 2010-11-26 14:32:47.770048001 -0500 +@@ -387,7 +387,11 @@ + check_start_polling (info); + } + ++#ifndef ENABLE_INDICATOR + static GdkPixbuf * ++#else ++static gboolean ++#endif + cdma_get_icon (NMDevice *device, + NMDeviceState state, + NMConnection *connection, +@@ -395,7 +399,11 @@ + NMApplet *applet) + { + NMSettingConnection *s_con; ++#ifndef ENABLE_INDICATOR + GdkPixbuf *pixbuf = NULL; ++#else ++ gboolean icon_is_set = FALSE; ++#endif + const char *id; + CdmaDeviceInfo *info; + gboolean mb_state; +@@ -424,11 +432,17 @@ + break; + case NM_DEVICE_STATE_ACTIVATED: + mb_state = cdma_state_to_mb_state (info); ++#ifndef ENABLE_INDICATOR + pixbuf = mobile_helper_get_status_pixbuf (info->quality, + info->quality_valid, + mb_state, + cdma_act_to_mb_act (info), + applet); ++#else ++ /* FIXME: handle different signal levels with indicator icons. */ ++ app_indicator_set_icon (applet->status_icon, "nm-device-wwan"); ++ icon_is_set = TRUE; ++#endif + + if ((mb_state != MB_STATE_UNKNOWN) && info->quality_valid) { + gboolean roaming = (mb_state == MB_STATE_ROAMING); +@@ -444,7 +458,11 @@ + break; + } + ++#ifndef ENABLE_INDICATOR + return pixbuf; ++#else ++ return icon_is_set; ++#endif + } + + typedef struct { +Index: network-manager-applet-0.8.2+git.20101123t161608.f143e76/src/applet-device-gsm.c +=================================================================== +--- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/src/applet-device-gsm.c 2010-11-26 14:32:47.570148001 -0500 ++++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/src/applet-device-gsm.c 2010-11-26 14:32:47.770048001 -0500 +@@ -425,7 +425,11 @@ + check_start_polling (info); + } + ++#ifndef ENABLE_INDICATOR + static GdkPixbuf * ++#else ++static gboolean ++#endif + gsm_get_icon (NMDevice *device, + NMDeviceState state, + NMConnection *connection, +@@ -433,7 +437,11 @@ + NMApplet *applet) + { + NMSettingConnection *s_con; ++#ifndef ENABLE_INDICATOR + GdkPixbuf *pixbuf = NULL; ++#else ++ gboolean icon_is_set = FALSE; ++#endif + const char *id; + GsmDeviceInfo *info; + guint32 mb_state; +@@ -462,11 +470,17 @@ + break; + case NM_DEVICE_STATE_ACTIVATED: + mb_state = gsm_state_to_mb_state (info); ++#ifndef ENABLE_INDICATOR + pixbuf = mobile_helper_get_status_pixbuf (info->quality, + info->quality_valid, + mb_state, + gsm_act_to_mb_act (info), + applet); ++#else ++ /* FIXME: handle different signal levels for indicator icon */ ++ app_indicator_set_icon (applet->status_icon, "nm-device-wwan"); ++ icon_is_set = TRUE; ++#endif + + if ((mb_state != MB_STATE_UNKNOWN) && info->quality_valid) { + gboolean roaming = (mb_state == MB_STATE_ROAMING); +@@ -482,7 +496,11 @@ + break; + } + ++#ifndef ENABLE_INDICATOR + return pixbuf; ++#else ++ return icon_is_set; ++#endif + } + + typedef struct { +Index: network-manager-applet-0.8.2+git.20101123t161608.f143e76/src/applet-device-wifi.c +=================================================================== +--- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/src/applet-device-wifi.c 2010-11-26 14:32:47.640113001 -0500 ++++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/src/applet-device-wifi.c 2010-11-26 14:32:47.780043001 -0500 +@@ -560,6 +560,10 @@ + info->ap = g_object_ref (G_OBJECT (ap)); + info->connection = g_object_ref (G_OBJECT (connection)); + ++#ifdef ENABLE_INDICATOR ++ g_object_set_data (G_OBJECT (subitem), "connection", G_OBJECT (connection)); ++#endif ++ + g_signal_connect_data (subitem, "activate", + G_CALLBACK (wireless_menu_item_activate), + info, +@@ -580,6 +584,9 @@ + if (g_slist_length (ap_connections) == 1) { + connection = NM_CONNECTION (g_slist_nth_data (ap_connections, 0)); + info->connection = g_object_ref (G_OBJECT (connection)); ++#ifdef ENABLE_INDICATOR ++ g_object_set_data (G_OBJECT (item), "connection", G_OBJECT (connection)); ++#endif + } + + g_signal_connect_data (GTK_WIDGET (item), +@@ -733,6 +740,10 @@ + gboolean wireless_hw_enabled = TRUE; + GSList *menu_items = NULL; /* All menu items we'll be adding */ + NMNetworkMenuItem *item, *active_item = NULL; ++#if ENABLE_INDICATOR ++ GtkWidget *imi; ++ WirelessMenuItemInfo *info; ++#endif + GtkWidget *widget; + + wdev = NM_DEVICE_WIFI (device); +@@ -773,8 +784,27 @@ + nm_network_menu_item_set_active (item, TRUE); + menu_items = g_slist_append (menu_items, item); + ++#if ENABLE_INDICATOR ++ imi = gtk_menu_item_new_with_label (nm_network_menu_item_get_ssid (item)); ++ ++ info = g_slice_new0 (WirelessMenuItemInfo); ++ info->applet = applet; ++ info->device = g_object_ref (G_OBJECT (device)); ++ info->ap = g_object_ref (G_OBJECT (active_ap)); ++ info->connection = g_object_get_data (G_OBJECT (item), "connection"); ++ ++ g_signal_connect_data (GTK_WIDGET (imi), ++ "activate", ++ G_CALLBACK (wireless_menu_item_activate), ++ info, ++ (GClosureNotify) wireless_menu_item_info_destroy, ++ 0); ++ ++ gtk_menu_shell_append (GTK_MENU_SHELL (menu), GTK_WIDGET (imi)); ++#else + gtk_menu_shell_append (GTK_MENU_SHELL (menu), GTK_WIDGET (item)); + gtk_widget_show_all (GTK_WIDGET (item)); ++#endif + } + } + } +@@ -801,7 +831,29 @@ + + item = get_menu_item_for_ap (wdev, ap, connections, menu_items, applet); + if (item) ++#if ENABLE_INDICATOR ++ { ++ imi = gtk_menu_item_new_with_label (nm_network_menu_item_get_ssid (item)); ++ ++ info = g_slice_new0 (WirelessMenuItemInfo); ++ info->applet = applet; ++ info->device = g_object_ref (G_OBJECT (device)); ++ info->ap = g_object_ref (G_OBJECT (ap)); ++ info->connection = g_object_get_data (G_OBJECT (item), "connection"); ++ ++ g_signal_connect_data (GTK_WIDGET (imi), ++ "activate", ++ G_CALLBACK (wireless_menu_item_activate), ++ info, ++ (GClosureNotify) wireless_menu_item_info_destroy, ++ 0); ++ ++ g_object_set_data (G_OBJECT (item), "nm-network-menu-item", imi); + menu_items = g_slist_append (menu_items, item); ++ } ++#else ++ menu_items = g_slist_append (menu_items, item); ++#endif + } + + /* Now remove the active AP item from the list, as we've already dealt with +@@ -835,7 +887,11 @@ + topmenu_items = g_slist_sort (topmenu_items, sort_by_name); + + for (iter = topmenu_items; iter; iter = g_slist_next (iter)) { ++#if ENABLE_INDICATOR ++ gtk_menu_shell_append (GTK_MENU_SHELL (menu), GTK_WIDGET (g_object_get_data(iter->data, "nm-network-menu-item"))); ++#else + gtk_menu_shell_append (GTK_MENU_SHELL (menu), GTK_WIDGET (iter->data)); ++#endif + gtk_widget_show_all (GTK_WIDGET (iter->data)); + } + g_slist_free (topmenu_items); +@@ -856,7 +912,11 @@ + + /* And add the rest to the submenu */ + for (iter = sorted_subitems; iter; iter = g_slist_next (iter)) ++#if ENABLE_INDICATOR ++ gtk_menu_shell_append (GTK_MENU_SHELL (submenu), GTK_WIDGET (g_object_get_data(iter->data, "nm-network-menu-item"))); ++#else + gtk_menu_shell_append (GTK_MENU_SHELL (submenu), GTK_WIDGET (iter->data)); ++#endif + g_slist_free (sorted_subitems); + + gtk_menu_shell_append (GTK_MENU_SHELL (menu), subitem); +@@ -1269,7 +1329,11 @@ + g_free (esc_ssid); + } + ++#ifndef ENABLE_INDICATOR + static GdkPixbuf * ++#else ++static gboolean ++#endif + wireless_get_icon (NMDevice *device, + NMDeviceState state, + NMConnection *connection, +@@ -1278,7 +1342,11 @@ + { + NMSettingConnection *s_con; + NMAccessPoint *ap; ++#ifndef ENABLE_INDICATOR + GdkPixbuf *pixbuf = NULL; ++#else ++ gboolean icon_is_set = FALSE; ++#endif + const char *id; + char *ssid = NULL; + +@@ -1320,6 +1388,7 @@ + strength = nm_access_point_get_strength (ap); + strength = CLAMP (strength, 0, 100); + ++#ifndef ENABLE_INDICATOR + if (strength > 80) + pixbuf = nma_icon_check_and_load ("nm-signal-100", &applet->wireless_100_icon, applet); + else if (strength > 55) +@@ -1330,11 +1399,28 @@ + pixbuf = nma_icon_check_and_load ("nm-signal-25", &applet->wireless_25_icon, applet); + else + pixbuf = nma_icon_check_and_load ("nm-signal-00", &applet->wireless_00_icon, applet); ++#else ++ if (strength > 80) ++ app_indicator_set_icon (applet->status_icon, "nm-signal-100"); ++ else if (strength > 55) ++ app_indicator_set_icon (applet->status_icon, "nm-signal-75"); ++ else if (strength > 30) ++ app_indicator_set_icon (applet->status_icon, "nm-signal-50"); ++ else if (strength > 5) ++ app_indicator_set_icon (applet->status_icon, "nm-signal-25"); ++ else ++ app_indicator_set_icon (applet->status_icon, "nm-signal-00"); ++ icon_is_set = TRUE; ++#endif + + *tip = g_strdup_printf (_("Wireless network connection '%s' active: %s (%d%%)"), + id, ssid, strength); + } else { ++#ifndef ENABLE_INDICATOR + pixbuf = nma_icon_check_and_load ("nm-signal-00", &applet->wireless_00_icon, applet); ++#else ++ app_indicator_set_icon (applet->status_icon, "nm-signal-00"); ++#endif + *tip = g_strdup_printf (_("Wireless network connection '%s' active"), id); + } + break; +@@ -1343,7 +1429,11 @@ + } + + g_free (ssid); ++#ifndef ENABLE_INDICATOR + return pixbuf; ++#else ++ return icon_is_set; ++#endif + } + + static void +Index: network-manager-applet-0.8.2+git.20101123t161608.f143e76/src/applet-device-wired.c +=================================================================== +--- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/src/applet-device-wired.c 2010-11-26 14:32:47.570148001 -0500 ++++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/src/applet-device-wired.c 2010-11-26 14:32:47.780043001 -0500 +@@ -275,7 +275,11 @@ + } + } + ++#ifndef ENABLE_INDICATOR + static GdkPixbuf * ++#else ++static gboolean ++#endif + wired_get_icon (NMDevice *device, + NMDeviceState state, + NMConnection *connection, +@@ -283,7 +287,11 @@ + NMApplet *applet) + { + NMSettingConnection *s_con; ++#ifndef ENABLE_INDICATOR + GdkPixbuf *pixbuf = NULL; ++#else ++ gboolean icon_is_set = FALSE; ++#endif + const char *id; + + id = nm_device_get_iface (NM_DEVICE (device)); +@@ -306,14 +314,23 @@ + *tip = g_strdup_printf (_("Requesting a wired network address for '%s'..."), id); + break; + case NM_DEVICE_STATE_ACTIVATED: ++#ifndef ENABLE_INDICATOR + pixbuf = nma_icon_check_and_load ("nm-device-wired", &applet->wired_icon, applet); ++#else ++ app_indicator_set_icon (applet->status_icon, "nm-device-wired"); ++ icon_is_set = TRUE; ++#endif + *tip = g_strdup_printf (_("Wired network connection '%s' active"), id); + break; + default: + break; + } + ++#ifndef ENABLE_INDICATOR + return pixbuf; ++#else ++ return icon_is_set; ++#endif + } + + /* PPPoE */ +Index: network-manager-applet-0.8.2+git.20101123t161608.f143e76/src/applet.c +=================================================================== +--- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/src/applet.c 2010-11-26 14:32:47.740063001 -0500 ++++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/src/applet.c 2010-11-26 14:36:40.904146000 -0500 +@@ -621,7 +621,11 @@ + g_return_if_fail (summary != NULL); + g_return_if_fail (message != NULL); + ++#ifndef ENABLE_INDICATOR + if (!gtk_status_icon_is_embedded (applet->status_icon)) ++#else ++ if (app_indicator_get_status (applet->status_icon) == APP_INDICATOR_STATUS_PASSIVE) ++#endif + return; + + escaped = utils_escape_notify_message (message); +@@ -642,7 +646,10 @@ + + g_free (escaped); + ++ /* FIXME: the notification setup needs rework for indicators... */ ++#ifndef ENABLE_INDICATOR + notify_notification_attach_to_status_icon (notify, applet->status_icon); ++#endif + notify_notification_set_urgency (notify, urgency); + notify_notification_set_timeout (notify, NOTIFY_EXPIRES_DEFAULT); + +@@ -1620,11 +1627,13 @@ + g_return_if_fail (menu != NULL); + g_return_if_fail (applet != NULL); + ++#ifndef ENABLE_INDICATOR + #if GTK_CHECK_VERSION(2, 15, 0) + gtk_status_icon_set_tooltip_text (applet->status_icon, NULL); + #else + gtk_status_icon_set_tooltip (applet->status_icon, NULL); + #endif ++#endif + + if (!nm_client_get_manager_running (applet->nm_client)) { + nma_menu_add_text_item (menu, _("NetworkManager is not running...")); +@@ -1654,6 +1663,7 @@ + + static gboolean nma_menu_clear (NMApplet *applet); + ++#ifndef ENABLE_INDICATOR + static void + nma_menu_deactivate_cb (GtkWidget *widget, NMApplet *applet) + { +@@ -1670,6 +1680,7 @@ + gtk_status_icon_set_tooltip (applet->status_icon, applet->tip); + #endif + } ++#endif + + /* + * nma_menu_create +@@ -1686,8 +1697,10 @@ + + menu = gtk_menu_new (); + gtk_container_set_border_width (GTK_CONTAINER (menu), 0); ++#ifndef ENABLE_INDICATOR + g_signal_connect (menu, "show", G_CALLBACK (nma_menu_show_cb), applet); + g_signal_connect (menu, "deactivate", G_CALLBACK (nma_menu_deactivate_cb), applet); ++#endif + return menu; + } + +@@ -1849,16 +1862,24 @@ + * Generate the contextual popup menu. + * + */ ++#ifndef ENABLE_INDICATOR + static GtkWidget *nma_context_menu_create (NMApplet *applet) ++#else ++static GtkWidget *nma_context_menu_create (NMApplet *applet, GtkMenuShell *menu) ++#endif + { ++#ifndef ENABLE_INDICATOR + GtkMenuShell *menu; ++#endif + GtkWidget *menu_item; + GtkWidget *image; + guint id; + + g_return_val_if_fail (applet != NULL, NULL); + ++#ifndef ENABLE_INDICATOR + menu = GTK_MENU_SHELL (gtk_menu_new ()); ++#endif + + /* 'Enable Networking' item */ + applet->networking_enabled_item = gtk_check_menu_item_new_with_mnemonic (_("Enable _Networking")); +@@ -1948,6 +1969,7 @@ + + /*****************************************************************************/ + ++#ifndef ENABLE_INDICATOR + static void + foo_set_icon (NMApplet *applet, GdkPixbuf *pixbuf, guint32 layer) + { +@@ -1992,6 +2014,7 @@ + gtk_status_icon_set_from_pixbuf (applet->status_icon, pixbuf); + g_object_unref (pixbuf); + } ++#endif + + + NMSettingsConnectionInterface * +@@ -2367,10 +2390,16 @@ + applet_schedule_update_icon (applet); + } + ++#ifndef ENABLE_INDICATOR + static GdkPixbuf * ++#else ++static gboolean ++#endif + applet_common_get_device_icon (NMDeviceState state, NMApplet *applet) + { ++#ifndef ENABLE_INDICATOR + GdkPixbuf *pixbuf = NULL; ++#endif + int stage = -1; + + switch (state) { +@@ -2396,18 +2425,28 @@ + char *name; + + name = g_strdup_printf ("nm-stage%02d-connecting%02d", i+1, j+1); ++#ifndef ENABLE_INDICATOR + nma_icon_check_and_load (name, &applet->network_connecting_icons[i][j], applet); ++#else ++ app_indicator_set_icon (applet->status_icon, name); ++#endif + g_free (name); + } + } + ++#ifndef ENABLE_INDICATOR + pixbuf = applet->network_connecting_icons[stage][applet->animation_step]; ++#endif + applet->animation_step++; + if (applet->animation_step >= NUM_CONNECTING_FRAMES) + applet->animation_step = 0; + } + ++#ifndef ENABLE_INDICATOR + return pixbuf; ++#else ++ return TRUE; ++#endif + } + + static char * +@@ -2446,12 +2485,20 @@ + return tip; + } + ++#ifndef ENABLE_INDICATOR + static GdkPixbuf * ++#else ++static void ++#endif + applet_get_device_icon_for_state (NMApplet *applet, char **tip) + { + NMActiveConnection *active; + NMDevice *device = NULL; ++#ifndef ENABLE_INDICATOR + GdkPixbuf *pixbuf = NULL; ++#else ++ gboolean got_icon = FALSE; ++#endif + NMDeviceState state = NM_DEVICE_STATE_UNKNOWN; + NMADeviceClass *dclass; + +@@ -2475,17 +2522,27 @@ + NMConnection *connection; + + connection = applet_find_active_connection_for_device (device, applet, NULL); ++#ifndef ENABLE_INDICATOR + pixbuf = dclass->get_icon (device, state, connection, tip, applet); ++#else ++ got_icon = dclass->get_icon (device, state, connection, tip, applet); ++#endif + if (!*tip) + *tip = get_tip_for_device_state (device, state, connection); + } + + out: +- if (!pixbuf) +- pixbuf = applet_common_get_device_icon (state, applet); ++#ifndef ENABLE_INDICATOR ++ if (!pixbuf) ++ pixbuf = applet_common_get_device_icon (state, applet); + if (!pixbuf) + pixbuf = applet->no_connection_icon; +- return pixbuf; ++ return pixbuf; ++#else ++ if (!got_icon) ++ applet_common_get_device_icon (state, applet); ++ return; ++#endif + } + + static char * +@@ -2559,22 +2616,43 @@ + if (!nm_running) + state = NM_STATE_UNKNOWN; + ++#ifdef ENABLE_INDICATOR ++ if (nm_running) ++ app_indicator_set_status (applet->status_icon, APP_INDICATOR_STATUS_ACTIVE); ++ else ++ app_indicator_set_status (applet->status_icon, APP_INDICATOR_STATUS_PASSIVE); ++#endif ++ + switch (state) { + case NM_STATE_UNKNOWN: + case NM_STATE_ASLEEP: ++#ifndef ENABLE_INDICATOR + pixbuf = nma_icon_check_and_load ("nm-no-connection", &applet->no_connection_icon, applet); ++#else ++ app_indicator_set_icon (applet->status_icon, "nm-no-connection"); ++#endif + dev_tip = g_strdup (_("Networking disabled")); + break; + case NM_STATE_DISCONNECTED: ++#ifndef ENABLE_INDICATOR + pixbuf = nma_icon_check_and_load ("nm-no-connection", &applet->no_connection_icon, applet); ++#else ++ app_indicator_set_icon (applet->status_icon, "nm-no-connection"); ++#endif + dev_tip = g_strdup (_("No network connection")); + break; + default: ++#ifdef ENABLE_INDICATOR ++ applet_get_device_icon_for_state (applet, &dev_tip); ++#else + pixbuf = applet_get_device_icon_for_state (applet, &dev_tip); ++#endif + break; + } + ++#ifndef ENABLE_INDICATOR + foo_set_icon (applet, pixbuf, ICON_LAYER_LINK); ++#endif + + /* VPN state next */ + pixbuf = NULL; +@@ -2584,7 +2662,12 @@ + + switch (vpn_state) { + case NM_VPN_CONNECTION_STATE_ACTIVATED: ++#ifndef ENABLE_INDICATOR + pixbuf = nma_icon_check_and_load ("nm-vpn-active-lock", &applet->vpn_lock_icon, applet); ++#else ++ //FIXME: ideally this should probably be composited... ++ app_indicator_set_icon (applet->status_icon, "nm-vpn-active-lock"); ++#endif + break; + case NM_VPN_CONNECTION_STATE_PREPARE: + case NM_VPN_CONNECTION_STATE_NEED_AUTH: +@@ -2594,7 +2677,11 @@ + char *name; + + name = g_strdup_printf ("nm-vpn-connecting%02d", i+1); ++#ifndef ENABLE_INDICATOR + nma_icon_check_and_load (name, &applet->vpn_connecting_icons[i], applet); ++#else ++ app_indicator_set_icon (applet->status_icon, name); ++#endif + g_free (name); + } + +@@ -2609,7 +2696,9 @@ + + vpn_tip = get_tip_for_vpn (active_vpn, vpn_state, applet); + } ++#ifndef ENABLE_INDICATOR + foo_set_icon (applet, pixbuf, ICON_LAYER_VPN); ++#endif + + if (applet->tip) { + g_free (applet->tip); +@@ -2632,11 +2721,13 @@ + g_string_free (tip, FALSE); + } + ++#ifndef ENABLE_INDICATOR + #if GTK_CHECK_VERSION(2, 15, 0) + gtk_status_icon_set_tooltip_text (applet->status_icon, applet->tip); + #else + gtk_status_icon_set_tooltip (applet->status_icon, applet->tip); + #endif ++#endif + + return FALSE; + } +@@ -2953,7 +3044,11 @@ + g_object_unref (G_OBJECT (applet->icon_theme)); + } + ++#ifdef ENABLE_INDICATOR ++ screen = gdk_screen_get_default(); ++#else + screen = gtk_status_icon_get_screen (applet->status_icon); ++#endif + g_assert (screen); + applet->icon_theme = gtk_icon_theme_get_for_screen (screen); + +@@ -2979,6 +3074,7 @@ + nma_icon_theme_changed (NULL, applet); + } + ++#ifndef ENABLE_INDICATOR + static gboolean + status_icon_size_changed_cb (GtkStatusIcon *icon, + gint size, +@@ -2995,20 +3091,34 @@ + + return TRUE; + } ++#endif + + static void ++#ifdef ENABLE_INDICATOR ++status_icon_activate_cb (NMApplet *applet) ++#else + status_icon_activate_cb (GtkStatusIcon *icon, NMApplet *applet) ++#endif + { + /* Have clicking on the applet act also as acknowledgement + * of the notification. + */ + + nma_menu_clear (applet); ++#ifdef ENABLE_INDICATOR ++ nma_menu_show_cb (applet->menu, applet); ++ nma_menu_add_separator_item (applet->menu); ++ applet->menu = nma_context_menu_create (applet, GTK_MENU_SHELL(applet->menu)); ++ nma_context_menu_update (applet); ++ app_indicator_set_menu (applet->status_icon, GTK_MENU(applet->menu)); ++#else + gtk_menu_popup (GTK_MENU (applet->menu), NULL, NULL, + gtk_status_icon_position_menu, icon, + 1, gtk_get_current_event_time ()); ++#endif + } + ++#ifndef ENABLE_INDICATOR + static void + status_icon_popup_menu_cb (GtkStatusIcon *icon, + guint button, +@@ -3024,32 +3134,50 @@ + gtk_status_icon_position_menu, icon, + button, activate_time); + } ++#endif + + static gboolean + setup_widgets (NMApplet *applet) + { + g_return_val_if_fail (NM_IS_APPLET (applet), FALSE); + ++#ifdef ENABLE_INDICATOR ++ applet->status_icon = app_indicator_new ++ ("1234", "nm-no-connection", ++ APP_INDICATOR_CATEGORY_SYSTEM_SERVICES); ++#else + applet->status_icon = gtk_status_icon_new (); ++#endif + if (!applet->status_icon) + return FALSE; + + g_signal_connect (applet->status_icon, "notify::screen", + G_CALLBACK (status_icon_screen_changed_cb), applet); ++#ifndef ENABLE_INDICATOR + g_signal_connect (applet->status_icon, "size-changed", + G_CALLBACK (status_icon_size_changed_cb), applet); + g_signal_connect (applet->status_icon, "activate", + G_CALLBACK (status_icon_activate_cb), applet); + g_signal_connect (applet->status_icon, "popup-menu", + G_CALLBACK (status_icon_popup_menu_cb), applet); ++#endif + + applet->menu = nma_menu_create (applet); + if (!applet->menu) + return FALSE; + ++#ifdef ENABLE_INDICATOR ++ applet->menu = nma_context_menu_create (applet, GTK_MENU_SHELL(applet->menu)); ++ nma_context_menu_update(applet); ++ ++ g_timeout_add_seconds (5, (GSourceFunc) status_icon_activate_cb, applet); ++ ++ app_indicator_set_menu(applet->status_icon, GTK_MENU(applet->menu)); ++#else + applet->context_menu = nma_context_menu_create (applet); + if (!applet->context_menu) + return FALSE; ++#endif + + return TRUE; + } +@@ -3110,6 +3238,7 @@ + g_main_loop_quit (applet->loop); + } + ++#ifndef ENABLE_INDICATOR + static void + applet_embedded_cb (GObject *object, GParamSpec *pspec, gpointer user_data) + { +@@ -3118,6 +3247,7 @@ + g_message ("applet now %s the notification area", + embedded ? "embedded in" : "removed from"); + } ++#endif + + static GObject * + constructor (GType type, +@@ -3154,10 +3284,6 @@ + GCONF_CLIENT_PRELOAD_ONELEVEL, + NULL); + +- /* Load pixmaps and create applet widgets */ +- if (!setup_widgets (applet)) +- goto error; +- nma_icons_init (applet); + + if (!notify_is_initted ()) + notify_init ("NetworkManager"); +@@ -3203,18 +3329,25 @@ + + foo_client_setup (applet); + ++ /* Load pixmaps and create applet widgets */ ++ if (!setup_widgets (applet)) ++ goto error; ++ nma_icons_init (applet); ++ + /* timeout to update connection timestamps every 5 minutes */ + applet->update_timestamps_id = g_timeout_add_seconds (300, + (GSourceFunc) periodic_update_active_connection_timestamps, applet); + + nm_gconf_set_pre_keyring_callback (applet_pre_keyring_callback, applet); + ++#ifndef ENABLE_INDICATOR + /* Track embedding to help debug issues where user has removed the + * notification area applet from the panel, and thus nm-applet too. + */ + g_signal_connect (applet->status_icon, "notify::embedded", + G_CALLBACK (applet_embedded_cb), NULL); + applet_embedded_cb (G_OBJECT (applet->status_icon), NULL, NULL); ++#endif + + applet->notify_actions = applet_notify_server_has_actions (); + +Index: network-manager-applet-0.8.2+git.20101123t161608.f143e76/src/applet.h +=================================================================== +--- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/src/applet.h 2010-11-26 14:32:47.650108001 -0500 ++++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/src/applet.h 2010-11-26 14:32:47.780043001 -0500 +@@ -39,6 +39,10 @@ + + #include + ++#if ENABLE_INDICATOR ++#include ++#endif ++ + #include + #include + #include +@@ -144,7 +148,11 @@ + guint animation_id; + + /* Direct UI elements */ ++#if ENABLE_INDICATOR ++ AppIndicator *status_icon; ++#else + GtkStatusIcon * status_icon; ++#endif + int icon_size; + + GtkWidget * menu; +@@ -197,7 +205,11 @@ + NMDeviceStateReason reason, + NMApplet *applet); + ++#if ENABLE_INDICATOR ++ gboolean (*get_icon) (NMDevice *device, ++#else + GdkPixbuf * (*get_icon) (NMDevice *device, ++#endif + NMDeviceState state, + NMConnection *connection, + char **tip, +Index: network-manager-applet-0.8.2+git.20101123t161608.f143e76/src/gconf-helpers/Makefile.am +=================================================================== +--- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/src/gconf-helpers/Makefile.am 2010-11-26 13:34:34.000000000 -0500 ++++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/src/gconf-helpers/Makefile.am 2010-11-26 14:32:47.780043001 -0500 +@@ -12,6 +12,7 @@ + + libgconf_helpers_la_CPPFLAGS = \ + $(NMA_CFLAGS) \ ++ $(APPINDICATOR_CFLAGS) \ + $(DISABLE_DEPRECATED) \ + -I${top_srcdir}/src \ + -I${top_builddir}/src/marshallers \ +@@ -19,6 +20,7 @@ + + libgconf_helpers_la_LIBADD = \ + $(NMA_LIBS) \ ++ $(APPINDICATOR_LIBS) \ + ${top_builddir}/src/marshallers/libmarshallers.la \ + ${top_builddir}/src/utils/libutils.la + --- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/debian/patches/lp337960_dxteam_notification_icon_names.diff +++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/debian/patches/lp337960_dxteam_notification_icon_names.diff @@ -0,0 +1,55 @@ +=== modified file 'src/applet-device-gsm.c' +--- + src/applet-device-gsm.c | 2 +- + src/applet-device-wifi.c | 4 ++-- + src/applet-device-wired.c | 2 +- + 3 files changed, 4 insertions(+), 4 deletions(-) + +Index: network-manager-applet-0.8.1+git.20101012t222209.f7588d8/src/applet-device-gsm.c +=================================================================== +--- network-manager-applet-0.8.1+git.20101012t222209.f7588d8.orig/src/applet-device-gsm.c 2010-10-13 00:01:42.000000000 -0400 ++++ network-manager-applet-0.8.1+git.20101012t222209.f7588d8/src/applet-device-gsm.c 2010-10-13 00:01:46.079563002 -0400 +@@ -416,7 +416,7 @@ + applet_do_notify_with_pref (applet, + str ? str : _("GSM network."), + _("Connection Established"), +- "nm-device-wwan", ++ "notification-gsm-high", + PREF_DISABLE_CONNECTED_NOTIFICATIONS); + } + +Index: network-manager-applet-0.8.1+git.20101012t222209.f7588d8/src/applet-device-wifi.c +=================================================================== +--- network-manager-applet-0.8.1+git.20101012t222209.f7588d8.orig/src/applet-device-wifi.c 2010-10-13 00:01:42.000000000 -0400 ++++ network-manager-applet-0.8.1+git.20101012t222209.f7588d8/src/applet-device-wifi.c 2010-10-13 00:02:44.859563007 -0400 +@@ -1049,7 +1049,7 @@ + applet->notify_actions ? + _("Click on this icon to connect to a wireless network") : + _("Use the network menu to connect to a wireless network"), +- "nm-device-wireless", ++ "notification-network-wireless-full", + "dont-show", + _("Don't show this message again"), + wifi_available_dont_show_cb, +@@ -1257,7 +1257,7 @@ + applet_do_notify_with_pref (applet, + esc_ssid ? esc_ssid : _("(none)"), + _("Connection Established"), +- "nm-device-wireless", ++ "notification-network-wireless-full", + PREF_DISABLE_CONNECTED_NOTIFICATIONS); + g_free (esc_ssid); + } +Index: network-manager-applet-0.8.1+git.20101012t222209.f7588d8/src/applet-device-wired.c +=================================================================== +--- network-manager-applet-0.8.1+git.20101012t222209.f7588d8.orig/src/applet-device-wired.c 2010-10-13 00:01:42.000000000 -0400 ++++ network-manager-applet-0.8.1+git.20101012t222209.f7588d8/src/applet-device-wired.c 2010-10-13 00:01:46.089563002 -0400 +@@ -270,7 +270,7 @@ + applet_do_notify_with_pref (applet, + str ? str : _("Wired network"), + _("Connection Established"), +- "nm-device-wired", ++ "notification-network-ethernet-connected", + PREF_DISABLE_CONNECTED_NOTIFICATIONS); + } + } --- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/debian/patches/lp341684_device_sensitive_disconnect_notify.patch +++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/debian/patches/lp341684_device_sensitive_disconnect_notify.patch @@ -0,0 +1,215 @@ +=== modified file 'src/applet-device-wifi.c' +--- + src/applet-device-wifi.c | 4 + + src/applet.c | 136 +++++++++++++++++++++++++++++++++++++++++++++-- + src/applet.h | 3 + + 3 files changed, 138 insertions(+), 5 deletions(-) + +Index: network-manager-applet-0.8.2+git.20101123t161608.f143e76/src/applet-device-wifi.c +=================================================================== +--- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/src/applet-device-wifi.c 2010-11-26 13:50:08.433452112 -0500 ++++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/src/applet-device-wifi.c 2010-11-26 13:50:08.503452112 -0500 +@@ -1250,8 +1250,10 @@ + if (new) { + const GByteArray *ssid = nm_access_point_get_ssid (new); + +- if (ssid) ++ if (ssid) { + esc_ssid = nm_utils_ssid_to_utf8 ((const char *) ssid->data, ssid->len); ++ g_object_set_data_full (G_OBJECT(device), "canonical-last-essid", g_strdup (esc_ssid), (GDestroyNotify) g_free); ++ } + + /* Save this BSSID to seen-bssids list */ + connection = applet_get_exported_connection_for_device (device, applet); +Index: network-manager-applet-0.8.2+git.20101123t161608.f143e76/src/applet.c +=================================================================== +--- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/src/applet.c 2010-11-26 13:50:08.283452112 -0500 ++++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/src/applet.c 2010-11-26 13:53:49.823452112 -0500 +@@ -40,6 +40,7 @@ + #include + + #include ++#include + #include + #include + #include +@@ -74,6 +75,19 @@ + + G_DEFINE_TYPE(NMApplet, nma, G_TYPE_OBJECT) + ++struct _OfflineNotificationContextInfo { ++ NMState state; ++ NMDeviceState device_state; ++ NMDeviceStateReason device_state_reason; ++ NMDeviceType device_type; ++ gchar* title; ++ const gchar* text; ++ const gchar* icon; ++ NotifyUrgency urgency; ++}; ++ ++typedef struct _OfflineNotificationContextInfo OfflineNotificationContextInfo; ++ + static NMActiveConnection * + applet_get_best_activating_connection (NMApplet *applet, NMDevice **device) + { +@@ -2020,6 +2034,59 @@ + return NULL; + } + ++static gboolean ++select_merged_notification_text (OfflineNotificationContextInfo *info) ++{ ++ info->urgency = NOTIFY_URGENCY_LOW; ++ /* only do something if this is about full offline state */ ++ if(info->state != NM_STATE_UNKNOWN || info->device_state != NM_DEVICE_STATE_UNKNOWN) { ++ info->urgency = NOTIFY_URGENCY_NORMAL; ++ if (!info->title) ++ info->title = g_strdup (_("Network")); ++ if (info->state == NM_STATE_DISCONNECTED || info->state == NM_STATE_ASLEEP) { ++ info->urgency = NOTIFY_URGENCY_CRITICAL; ++ info->text = _("Disconnected - you are now offline"); ++ } else ++ info->text = _("Disconnected"); ++ ++ switch (info->device_type) { ++ case NM_DEVICE_TYPE_ETHERNET: ++ info->icon = "notification-network-ethernet-disconnected"; ++ break; ++ case NM_DEVICE_TYPE_WIFI: ++ info->icon = "notification-network-wireless-disconnected"; ++ break; ++ case NM_DEVICE_TYPE_GSM: ++ info->icon = "notification-gsm-disconnected"; ++ break; ++ default: ++ info->icon = "nm-no-connection"; ++ break; ++ } ++ g_debug("going for offline with icon: %s", info->icon); ++ return TRUE; ++ } ++ return FALSE; ++} ++ ++static gboolean ++foo_online_offline_deferred_notify (gpointer user_data) ++{ ++ NMApplet *applet = NM_APPLET (user_data); ++ OfflineNotificationContextInfo *info = applet->notification_queue_data; ++ if(select_merged_notification_text (info)) ++ applet_do_notify (applet, info->urgency, info->title, info->text, info->icon, NULL, NULL, NULL, applet); ++ else ++ g_debug("no notification because merged found that we have nothing to say (e.g. not offline)"); ++ if (info->title) ++ g_free (info->title); ++ info->title = NULL; ++ g_free (applet->notification_queue_data); ++ applet->notification_queue_data = NULL; ++ applet->deferred_id = 0; ++ return FALSE; ++} ++ + static void + applet_common_device_state_changed (NMDevice *device, + NMDeviceState new_state, +@@ -2035,6 +2102,54 @@ + vpn_activating = applet_is_any_vpn_activating (applet); + + switch (new_state) { ++ case NM_DEVICE_STATE_FAILED: ++ case NM_DEVICE_STATE_DISCONNECTED: ++ case NM_DEVICE_STATE_UNMANAGED: ++ case NM_DEVICE_STATE_UNAVAILABLE: ++ { ++ if (old_state != NM_DEVICE_STATE_FAILED && ++ old_state != NM_DEVICE_STATE_UNKNOWN && ++ old_state != NM_DEVICE_STATE_DISCONNECTED && ++ old_state != NM_DEVICE_STATE_UNMANAGED && ++ old_state != NM_DEVICE_STATE_UNAVAILABLE) { ++ OfflineNotificationContextInfo *info = applet->notification_queue_data; ++ if (!info) { ++ info = g_new0(OfflineNotificationContextInfo, 1); ++ applet->notification_queue_data = info; ++ } ++ ++ info->device_state = new_state; ++ info->device_state_reason = reason; ++ if (info->title) { ++ g_free(info->title); ++ info->title = NULL; ++ } ++ if (NM_IS_DEVICE_WIFI (device)) { ++ info->device_type = NM_DEVICE_TYPE_WIFI; ++ info->title = g_strdup(g_object_get_data (G_OBJECT(device), "canonical-last-essid")); ++ if (!info->title) ++ info->title = g_strdup (_("Wireless network")); ++ } else if (NM_IS_DEVICE_ETHERNET (device)) { ++ info->device_type = NM_DEVICE_TYPE_ETHERNET; ++ info->title = g_strdup(_("Wired network")); ++ } else if (NM_IS_GSM_DEVICE (device)) { ++ info->device_type = NM_DEVICE_TYPE_GSM; ++ info->title = g_strdup (_("GSM network")); ++ } else { ++ info->device_type = NM_DEVICE_TYPE_UNKNOWN; ++ info->title = g_strdup (_("Network")); ++ } ++ ++ if (applet->deferred_id) ++ g_source_remove (applet->deferred_id); ++ applet->deferred_id = g_timeout_add (1000, foo_online_offline_deferred_notify, applet); ++ ++ clear_animation_timeout (applet); ++ } else { ++ g_debug ("old state indicates that this was not a disconnect %d", old_state); ++ } ++ break; ++ } + case NM_DEVICE_STATE_PREPARE: + case NM_DEVICE_STATE_CONFIG: + case NM_DEVICE_STATE_NEED_AUTH: +@@ -2112,13 +2227,26 @@ + { + NMApplet *applet = NM_APPLET (user_data); + ++ g_debug("foo_client_state_changed_cb"); + switch (nm_client_get_state (client)) { + case NM_STATE_DISCONNECTED: +- applet_do_notify_with_pref (applet, _("Disconnected"), +- _("The network connection has been disconnected."), +- "nm-no-connection", +- PREF_DISABLE_DISCONNECTED_NOTIFICATIONS); ++ case NM_STATE_ASLEEP: ++ { ++ OfflineNotificationContextInfo *info = applet->notification_queue_data; ++ if (!info) { ++ info = g_new0(OfflineNotificationContextInfo, 1); ++ applet->notification_queue_data = info; ++ } ++ ++ info->state = nm_client_get_state (client); ++ select_merged_notification_text (info); ++ ++ if (applet->deferred_id) ++ g_source_remove (applet->deferred_id); ++ applet->deferred_id = g_timeout_add (1000, foo_online_offline_deferred_notify, applet); ++ + /* Fall through */ ++ } + default: + break; + } +Index: network-manager-applet-0.8.2+git.20101123t161608.f143e76/src/applet.h +=================================================================== +--- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/src/applet.h 2010-11-26 13:34:34.000000000 -0500 ++++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/src/applet.h 2010-11-26 13:50:08.513452112 -0500 +@@ -167,6 +167,9 @@ + GladeXML * info_dialog_xml; + NotifyNotification* notification; + gboolean notify_actions; ++ ++ gpointer notification_queue_data; ++ guint deferred_id; + } NMApplet; + + typedef void (*AppletNewAutoConnectionCallback) (NMConnection *connection, --- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/debian/patches/lp268803_xdg_autostart_gnome_xfce_only.patch +++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/debian/patches/lp268803_xdg_autostart_gnome_xfce_only.patch @@ -0,0 +1,22 @@ +=== modified file 'nm-applet.desktop' +--- + nm-applet.desktop.in | 1 + + 1 file changed, 1 insertion(+) + +Index: ubuntu.0.7/nm-applet.desktop.in +=================================================================== +--- ubuntu.0.7.orig/nm-applet.desktop.in ++++ ubuntu.0.7/nm-applet.desktop.in +@@ -1,11 +1,12 @@ + [Desktop Entry] + _Name=Network Manager + _Comment=Control your network connections + Icon=nm-device-wireless + Exec=nm-applet --sm-disable + Terminal=false + Type=Application ++OnlyShowIn=GNOME;XFCE; + X-GNOME-Bugzilla-Bugzilla=GNOME + X-GNOME-Bugzilla-Product=NetworkManager + X-GNOME-Bugzilla-Component=general + X-GNOME-Autostart-enabled=true --- network-manager-applet-0.8.2+git.20101123t161608.f143e76.orig/debian/patches/series +++ network-manager-applet-0.8.2+git.20101123t161608.f143e76/debian/patches/series @@ -0,0 +1,14 @@ +20_use_full_vpn_dialog_service_name_path.patch +lp289466_always_show_tray_icon.patch +lp268803_xdg_autostart_gnome_xfce_only.patch +lp295788_xfce_menu_entry.patch +lp328572-dxteam-connect-text.patch +lp330571_dxteam_wired_connect_text.patch +lp330608_dxteam_gsm_connect_text.patch +lp337960_dxteam_notification_icon_names.diff +lp337960_dxteam_notification_icon_names_part2-images.diff +lp341684_device_sensitive_disconnect_notify.patch +lp358526_generic_disconnected_notification_icon.patch +lp460144_correctly_update_notification.patch +lp637930_fix_race_in_permissions-changed.patch +nm-applet-use-indicator.patch