Commit graph

338 commits

Author SHA1 Message Date
Dan Williams
c5e472d42f 2007-02-02 Dan Williams <dcbw@redhat.com>
* configure.in
	  gnome/Makefile.am
	  nm-applet.desktop
	  Makefile.am
		- Remove last bits referencing gnome applet



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2268 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-02-02 21:28:03 +00:00
Dan Williams
bf0b6ee410 Remove applet; its in network-manager-applet SVN module now
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2263 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-02-02 20:56:13 +00:00
Dan Williams
ff1145b930 2006-12-18 Dan Williams <dcbw@redhat.com>
* gnome/libnm_glib/libnm_glib.c
		- Change dbus_connection_close() -> dbus_connection_unref()


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2186 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-12-18 17:04:57 +00:00
Dan Williams
bcfed49323 Don't include eggtrayicon.c when using GtkStatusIcon
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2151 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-12-03 05:11:40 +00:00
Dan Williams
c07d22efee 2006-12-02 Dan Williams <dcbw@redhat.com>
Patch from Christian Persch <chpe@gnome.org>

	* gnome/applet/Makefile.am
	  gnome/applet/applet-dbus-devices.c
	  gnome/applet/applet-notifications.c
	  gnome/applet/applet.c
	  gnome/applet/applet.h
	  gnome/applet/main.c
		- Be a GtkStatusIcon on GTK+ >= 2.10


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2147 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-12-03 04:22:43 +00:00
Dan Williams
0ea50ec73f Clarify usage of gnome-lockscreen icon
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2146 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-12-03 04:10:25 +00:00
Dan Williams
401c428914 about_dialog_activate_link_cb is only used if GTK+ >= 2.6
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2145 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-12-03 04:08:35 +00:00
Dan Williams
ba204142fb 2006-12-02 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet.c
		- (nma_update_info): fix two unecessary allocations


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2144 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-12-03 04:02:53 +00:00
Dan Williams
08d82adf5b Remove PANEL_APPLET flags since we don't use a panel applet anymore
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2137 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-12-01 22:32:32 +00:00
Dan Williams
fe19971638 Small configure.in and applet makefile cleanups
- Consolidate Gnome/GTK deprecation defines
- Remove VERSION define from applet makefile, it's in config.h already


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2134 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-12-01 20:13:09 +00:00
Dan Williams
13ee37f480 2006-11-27 Dan Williams <dcbw@redhat.com>
Patch from Christian Persch <chpe@gnome.org>

	* gnome/applet/applet-dbus-devices.c
		- (hal_info_product_cb): fix memleak; free duped string.
			Gnome.org #379908


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2131 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-11-27 21:48:33 +00:00
Dan Williams
17b61aa02f 2006-11-27 Dan Williams <dcbw@redhat.com>
Patch from Christian Persch <chpe@gnome.org>

	* gnome/applet/menu-items.c
		- (network_menu_item_update): use gtk_progress_bar_set_fraction()
			as gtk_progress_set_percentage is deprecated.  Should
			work as far back as GTK+ 2.4.  Gnome.org #379780


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2130 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-11-27 21:38:14 +00:00
Dan Williams
62e9be38a8 spacing fix
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2117 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-11-20 17:34:08 +00:00
Dan Williams
26edb7b749 Remove unneccesary debug printfs
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2115 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-11-20 04:07:05 +00:00
Dan Williams
1f69789fcd 2006-11-19 Dan Williams <dcbw@redhat.com>
Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
	* gnome/vpn-properties/nm-vpn-properties.c
		- clean up after renamed VPN connection


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2114 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-11-20 04:03:46 +00:00
Dan Williams
413dd1dc1b Make sorting case-insensitive
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2112 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-11-20 03:55:35 +00:00
Dan Williams
206fdfe894 spacing fixes
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2111 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-11-20 03:49:49 +00:00
Dan Williams
cb0ede9685 2006-11-19 Dan Williams <dcbw@redhat.com>
Patch from Dan Berrange <dan@berrange.com>
	* gnome/applet/applet-dbus-vpn.c
		- (nma_dbus_vpn_properties_cb): sort VPN connections

	* gnome/vpn-properties/nm-vpn-properties.c
		- (init_app): sort VPN connections


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2110 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-11-20 03:09:15 +00:00
Dan Williams
9fa4a67aa5 2006-10-24 Dan Williams <dcbw@redhat.com>
Reduce the number of times the Gnome applet wakes up, especially when
	it's doing absolutely nothing and is hidden.  Initial patch by
	Chris Aillon.

	* gnome/applet/applet-dbus.c
		- (nma_dbus_filter): when NM isn't around, or when it goes away,
			kill the redraw timeout.  When NM starts up, start the redraw
			timeout.  Also, if we get kicked off the bus for some reason,
			start the reconnection timeout if one's not already running.
		- (nma_dbus_init): better handling of error conditions, don't leak
			a half-initialized dbus connection
		- (nma_dbus_connection_watcher): consolidate places we reinitialize
			the applet's data, just call nm_dbus_init_helper()
		- (nma_start_dbus_connection_watch): new function, starts a periodic
			timeout that calls nma_dbus_connection_watcher()
		- (nma_dbus_init_helper): if we get a successful connection, kill the
			reconnection timeout, and don't start the reconnection timeout
			unconditionally anymore

	* gnome/applet/applet-dbus.h
		- Expose nma_start_dbus_connection_watch()

	* gnome/applet/applet.c
		- (nma_update_state): no longer static, called from applet-dbus.c for
			immediate UI updates on certain events
		- (nma_set_running): new function; take over setting applet->running,
			when not running (ie, NM is not active), don't activate the redraw
			timeout because we're not showing the applet anyway.  When we are
			running (ie, NM is active), and only when we're running, start the
			redraw timeout.
		- (nma_destroy): kill the redraw timeout by setting 'not running', and
			kill any reconnection timeout
		- (nma_get_instance): move one-off dbus initialization code here since
			nm_dbus_init_helper() gets called more than once, possibly by the
			reconnection timeout function too.  And, when we start up, if we
			can't get a connection to the bus, start the reconnection timeout.
			But don't start the redraw timeout yet, only do that when we get
			NM's state and find out if it's running or not.

	* gnome/applet/applet.h
		- Add the reconnection GSource ID
		- Add prototypes for nma_set_running() and the no-longer-static
			nma_update_state()


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2084 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-10-25 03:57:41 +00:00
Wouter Bolsterlee
c21bc13201 2006-10-13 Wouter Bolsterlee <wbolster@gnome.org>
* gnome/applet/applet.c: (nma_update_info),
	(nma_act_stage_to_pixbuf), (nma_update_state):
	Mark missing strings for translation. Fixes bug #343306.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2057 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-10-12 22:55:28 +00:00
Tambet Ingo
969e56cbeb 2006-10-11 Tambet Ingo <tambet@ximian.com>
* gnome/applet/applet.c (nma_class_init): Append our icon directory to
	theme search path.

	* gnome/applet/Makefile.am: Use the correct path to icons.

	* gnome/vpn-properties/Makefile.am: Ditto.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2053 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-10-11 08:07:52 +00:00
Robert Love
5da02874f1 2006-09-27 Robert Love <rml@novell.com>
Patch by Tambet Ingo <tambet@ximian.com>:
	* gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
	  actually work.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2039 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-09-27 20:17:54 +00:00
Dan Williams
98465c40dd Update pending call limits on applet & NM
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2035 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-09-21 00:39:36 +00:00
Dan Williams
f8a6ec456c 2006-08-13 Dan Williams <dcbw@redhat.com>
* gnome/libnm_glib/libnm_glib.c
		- dbus_connection_disconnect() -> dbus_connection_close() for
		dbus >= 0.90


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1953 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-08-13 20:36:30 +00:00
Antony Mee
445af31302 2006-08-11 Antony Mee <eemynotna@gmail.com>
* gnome/vpn-properties/nm-vpn-properties.c: Implemented the add
          dialog in code as is done for the edit dialog and tidied up the
          management of the plugin provided widgets.  Show all and hide
          all are no longer used as they would override the visiblity
          behaviour imposed by the plugin. (gnome.org bug #349991).
        * gnome/vpn-properties/nm-vpn-properties.glade: Removed add dialog
          widgets that are nolonger needed.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1947 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-08-11 16:35:33 +00:00
Dan Williams
1dbe9fd061 2006-08-06 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-dbus-devices.c
	  gnome/applet/applet-dbus-vpn.c
	  gnome/applet/applet-dbus.c
	  gnome/applet/applet-dbus.h
	  src/nm-dbus-nmi.c
	  utils/nm-utils.c
	  utils/nm-utils.h
		- Make pending call tracking code generic,
		so we can use it in NM as well as the applet


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1940 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-08-07 03:06:11 +00:00
Robert Love
8500b5c26d 2006-08-01 Robert Love <rml@novell.com>
* gnome/applet/main.c: Shutdown all VPN connections on logout.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1904 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-08-01 22:04:52 +00:00
Dan Williams
3c10e4401f 2006-07-13 Dan Williams <dcbw@redhat.com>
Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
	* gnome/applet/applet.glade
	  gnome/applet/Makefile.am
	  gnome/applet/nm-gconf-wso.c
	  gnome/applet/nm-gconf-wso-leap.c
	  gnome/applet/nm-gconf-wso-leap.h
	  gnome/applet/wireless-security-manager.c
	  gnome/applet/wso-leap.c
	  gnome/applet/wso-leap.h
	  include/NetworkManager.h
	  libnm-util/dbus-helpers.c
	  libnm-util/dbus-helpers.h
	  src/Makefile.am
	  src/NetworkManagerAP.c
	  src/nm-ap-security.c
	  src/nm-ap-security-leap.c
	  src/nm-ap-security-leap.h
		- Add LEAP authentication support


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1881 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-07-13 17:03:31 +00:00
Dan Williams
8b992922d0 2006-07-09 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet.c
		- (nma_destroy): don't pass NULL to notify_notification_close
			(RH #197917)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1865 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-07-09 23:38:54 +00:00
Dan Williams
e2bd1d1a03 2006-07-09 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet.c
		- (nma_about_cb): remove empty documenters tab (Gnome #341324)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1864 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-07-09 23:06:55 +00:00
Robert Love
2f83566a03 2006-06-15 Robert Love <rml@novell.com>
* gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
	  we have a value to set.  Gconf generates a warning if `val' is NULL.
	* src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
	  unless we actually received a valid private key file passphrase or
	  password.  Otherwise, we don't know to later ask the applet to pull
	  the key from the keyring.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1845 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-06-19 17:43:18 +00:00
Robert Love
ae2d3d7730 2006-06-15 Robert Love <rml@novell.com>
* gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the set unless there
	  is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
	  if there is no key to pass.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1833 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-06-15 16:43:51 +00:00
Robert Love
eb13a05c2b 2006-06-13 Robert Love <rml@novell.com>
* gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
	  if it is currently set to TRUE.  Otherwise, we will reset the value
	  when we connect normally.
	* src/nm-device-802-11-wireless.c: For the roaming code, make sure that
	  the old BSSID is valid, too.  The recently added ESSID check may not be
	  sufficient (we can remove it?).  What we really want to catch is the
	  case of going from all-zeros to the BSSID of some other network, which
	  happens on failure.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1823 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-06-13 19:54:22 +00:00
Robert Love
75478a3768 2006-06-08 Robert Love <rml@novell.com>
Add 'fallback' support.  NetworkManager will attempt to brute-force
	connect to networks marked as fallback if there are no better wireless
	connections available.  This is useful as a method of last resort, to
	work around driver problems, and for use with hidden networks.
	* gnome/applet/applet-dbus-devices.c,
	  gnome/applet/applet-dbus-devices.h: Add fallback parameter.
	* gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
	  pass it on via DBUS.
	* gnome/applet/applet.c: No fallback by default.
	* gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
	  Update other-network-dialog to add UI checkbox toggling fallback.
	* src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
	  propery from AP object.  Add "fallback" property to AP object.
	* src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
	* src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
	* src/nm-device-802-11-wireless.c: Break out blacklist logic into
	  separate function.  Add get_best_fallback_ap() for returning an AP
	  on which to attempt fallback.
	* src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
	* test/nm-set-fallback: New file.  Sets a given network as fallback.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1814 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-06-08 21:01:37 +00:00
Robert Love
faeff6152a 2006-06-07 Robert Love <rml@novell.com>
* gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
	  checked that the return type was GCONF_VALUE_STRING, not the correct
	  GCONF_VALUE_BOOL, and thus it never worked.
	* src/NetworkManagerAPList.c: Before concluding that two networks are
	  identical based on their BSSID, make sure that the BSSID in question
	  is actually valid.  Specifically, an empty or all zero BSSID does not
	  cut it.
	* gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
	  src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
	  similar invariant clean up.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1811 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-06-07 17:35:33 +00:00
Robert Love
f310fc1369 2006-06-02 Robert Love <rml@novell.com>
* gnome/applet/applet.c: Update copyright years.  Add Novell.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1795 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-06-02 14:11:51 +00:00
Robert Love
6ffc3465aa * gnome/vpn-properties/nm-vpn-properties.c: Don't define 'error' if libgnome
is >=2.14


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1785 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-29 14:58:13 +00:00
Robert Love
b79783a986 * gnome/vpn-properties/nm-vpn-properties.c: Fix compile with libgnome < 2.14
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1784 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-29 14:22:07 +00:00
Dan Williams
272e865f75 2006-05-28 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet.glade
	  gnome/vpn-properties/nm-vpn-properties.glade
		- Set window icons on dialogs  (Gnome.org #333420)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1782 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-29 03:35:16 +00:00
Dan Williams
46696522f0 2006-05-28 Dan Williams <dcbw@redhat.com>
Patch from Christian Persch <chpe@gnome.org>
	* gnome/vpn-properties/nm-vpn-properties.c
	* gnome/vpn-properties/nm-vpn-properties.glade
		- HIG-ification love  (Gnome.org #336846)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1780 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-29 01:03:48 +00:00
Dan Williams
dcf4fe30d8 2006-05-28 Dan Williams <dcbw@redhat.com>
Patch from Christian Persch <chpe@gnome.org>
	* configure.in
	  gnome/vpn-properties/nm-vpn-properties.c
	  	- (main): Fix option parsing.  Gnome.org #336847


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1778 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-28 21:30:33 +00:00
Dan Williams
2747ae8b75 2006-05-28 Dan Williams <dcbw@redhat.com>
* gnome/vpn-properties/nm-vpn-properties.c
		- (find_vpn_ui_by_service_name): protect against NULL service names
		- (update_edit_del_sensitivity): protect against NULL service names


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1777 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-28 21:15:15 +00:00
Robert Love
0048177124 2006-05-25 Robert Love <rml@novell.com>
Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
	* configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
	  configure flag to disable building of the GNOME-based applet.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1765 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-25 20:28:48 +00:00
Robert Love
3c1f5a04c5 2006-05-25 Robert Love <rml@novell.com>
* gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
	  parameter from link, because it shadows a global variable with some
	  older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
	  should never have exported to the entire system a common four letter
	  word.  But we here at NetworkManager are team players.  Fixes
	  GNOME bug #336532.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1764 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-25 20:18:02 +00:00
Robert Love
98192881d3 2006-05-24 Robert Love <rml@novell.com>
* examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
	  gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
	  src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1760 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-24 15:53:07 +00:00
Robert Love
f560d48b7d 2006-05-24 Robert Love <rml@novell.com>
* gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
	  libnm-util/Makefile.am, src/Makefile.am,
	  vpn-daemons/openvpn/auth-dialog/Makefile.am,
	  vpn-daemons/openvpn/properties/Makefile.am,
	  vpn-daemons/pptp/auth-dialog/Makefile.am,
	  vpn-daemons/pptp/properties/Makefile.am,
	  vpn-daemons/vpnc/auth-dialog/Makefile.am,
	  vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
	  user passed for --datadir, if anything, when setting the GNOME locale
	  directory.  It should be a function of the specified datadir and not
	  the prefix.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1759 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-24 15:08:22 +00:00
Robert Love
a4ac9ec0fb 2006-05-24 Robert Love <rml@novell.com>
* gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
	  src/NetworkManager.c: Take care to call bindtextdomain with the
	  location of msgid files.
	* src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
	  files.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1758 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-24 14:16:48 +00:00
Robert Love
acfed9816e 2006-05-22 Robert Love <rml@novell.com>
* gnome/applet/applet.c: Zero out the icon pointers before we set them,
	  to avoid calling g_object_unref() on stale pointers on error in
	  nma_icons_free().  This happens because we short-circuit loaded the
	  icons on the first failure but then free all icons.  Normally we have
	  no issue because the icons were zero'ed out malloc, but we have stale
	  pointer data after nma_icon_theme_changed().
	* gnome/applet/main.c: Return error code if nma_new() failed.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1755 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-22 15:17:51 +00:00
Dan Williams
5cca5920e0 2006-05-21 Dan Williams <dcbw@redhat.com>
Patch from Adam Schreiber <sadam@clemson.edu>
	* gnome/vpn-properties/nm-vpn-properties.c
		- (main): correct Gnome program name  (gnome.org #342498)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1750 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-21 17:50:25 +00:00
Robert Love
8b11dc086a 2006-05-17 Robert Love <rml@novell.com>
Functionality to differentiate Ad-Hoc networks from infrastructure
	networks in the applet, by displaying a special icon:
	* gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
	* gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
	* gnome/applet/menu-items.c: Set a special icon in the scan list for
	  ad-hoc networks.  TODO: Add a third icon representing "encrypted and
	  Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
	  networks, encrypted or not.
	* gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
	  accessor functions to get and set the mode of a given network,
	  wireless_network_get_mode() and wireless_network_set_mode().


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1741 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-17 20:04:50 +00:00