2005-07-25 Robert Love <rml@novell.com>

* gnome/applet/applet.c: make the "Wired" menu item a radio button,
	  in the same group as the wireless networks, since they are all
	  mutually exclusive.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@810 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Robert Love 2005-07-25 21:49:17 +00:00 committed by Robert Love
parent 78546efeef
commit fb85265c68
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2005-07-25 Robert Love <rml@novell.com>
* gnome/applet/applet.c: make the "Wired" menu item a radio button,
in the same group as the wireless networks, since they are all
mutually exclusive.
2005-07-24 Ray Strode <rstrode@redhat.com>
* src/nm-netlink-monitor.c (nm_netlink_monitor_new):

View file

@ -1468,9 +1468,11 @@ static void nmwa_menu_add_device_item (GtkWidget *menu, NetworkDevice *device, g
{
NMWiredMenuItem *item = wired_menu_item_new ();
GtkCheckMenuItem *gtk_item = wired_menu_item_get_check_item (item);
wired_menu_item_update (item, device, n_devices);
wired_menu_item_update (item, device, n_devices);
if (network_device_get_active (device))
gtk_check_menu_item_set_active (gtk_item, TRUE);
gtk_check_menu_item_set_draw_as_radio (gtk_item, TRUE);
g_object_set_data (G_OBJECT (gtk_item), "device", g_strdup (network_device_get_nm_path (device)));
g_object_set_data (G_OBJECT (gtk_item), "nm-item-data", item);
@ -1485,6 +1487,7 @@ static void nmwa_menu_add_device_item (GtkWidget *menu, NetworkDevice *device, g
{
NMWirelessMenuItem *item = wireless_menu_item_new ();
GtkMenuItem *gtk_item = wireless_menu_item_get_item (item);
wireless_menu_item_update (item, device, n_devices);
g_object_set_data (G_OBJECT (gtk_item), "device", g_strdup (network_device_get_nm_path (device)));