diff --git a/ChangeLog b/ChangeLog index dfee86f8f9..21c81734c7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-08-30 Dan Williams + + * gnome/applet/wireless-applet.glade + - HIG-ify the Other Wireless Networks dialog a bit more + - Fix some potential segfaults in the info dialog + 2005-08-30 Dan Williams * gnome/applet/applet-dbus-devices.c diff --git a/gnome/applet/applet.c b/gnome/applet/applet.c index f250655bf4..9a5d8bedf3 100644 --- a/gnome/applet/applet.c +++ b/gnome/applet/applet.c @@ -226,8 +226,10 @@ static gboolean nmwa_update_info (NMWirelessApplet *applet) return FALSE; } - dev = nmwa_get_first_active_device (applet->device_list); - iface = network_device_get_iface (dev); + + if ((dev = nmwa_get_first_active_device (applet->device_list))) + iface = network_device_get_iface (dev); + if (!dev || !iface) { char *err = g_strdup (_("No active connections!")); @@ -285,7 +287,6 @@ static gboolean nmwa_update_info (NMWirelessApplet *applet) (unsigned char) ifr.ifr_hwaddr.sa_data[5]); label = get_label (info_dialog, applet->info_dialog_xml, "label-interface"); - gtk_label_set_text (GTK_LABEL (label), iface); if (network_device_is_wired (dev)) iface_and_type = g_strdup_printf (_("Wired Ethernet (%s)"), iface); else diff --git a/gnome/applet/wireless-applet.glade b/gnome/applet/wireless-applet.glade index b5bf909970..c1b2a49692 100644 --- a/gnome/applet/wireless-applet.glade +++ b/gnome/applet/wireless-applet.glade @@ -193,7 +193,6 @@ You have chosen to log in to the wireless network '%s'. If you are sure that th True gtk-ok True - True GTK_RELIEF_NORMAL True -5 @@ -423,7 +422,7 @@ You have chosen to log in to the wireless network '%s'. If you are sure that th True - 3 + 2 2 False 12 @@ -524,160 +523,162 @@ You have chosen to log in to the wireless network '%s'. If you are sure that th + + + 0 + True + True + + + + + + True + False + 6 - + True - 0 - 0.5 - GTK_SHADOW_ETCHED_IN + True + Connect with _encryption enabled + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + 0.5 + 0.5 + 1 + 1 + 3 + 6 + 24 + 6 - + True - 0.5 - 0.5 - 1 - 1 - 3 - 6 - 6 - 6 + 2 + 3 + False + 12 + 6 - + True - 2 - 3 - False - 12 - 6 + _Key type: + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + 1 + 0 + 1 + fill + + + - - - True - _Key type: - key_type_combo - True - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - 1 - 0 - 1 - fill - - - + + + True + _Passphrase: + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + 1 + 1 + 2 + fill + + + - - - True - _Passphrase: - passphrase_entry - True - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 0 - 1 - 1 - 2 - fill - - - + + + True + True + True + True + 0 + + True + * + False + + + 1 + 3 + 1 + 2 + + + - - - True - True - True - True - 0 - - True - * - False - - - 1 - 3 - 1 - 2 - - - - - - - True - 128-bit passphrase (WEP) + + + True + 128-bit passphrase (WEP) ASCII key (WEP) Hex key (WEP) - False - True - - - 1 - 2 - 0 - 1 - fill - fill - - + False + True + + 1 + 2 + 0 + 1 + fill + fill + - - - - True - True - Connect with _encryption enabled - True - GTK_RELIEF_NORMAL - True - False - False - True - - - label_item - - - 0 - 2 - 2 - 3 - fill + 0 + True + True @@ -834,7 +835,6 @@ A passphrase or encryption key is required to access the wireless network '%s'.< True _Key Type: - key_type_combo True False GTK_JUSTIFY_LEFT @@ -844,6 +844,7 @@ A passphrase or encryption key is required to access the wireless network '%s'.< 0.5 0 0 + key_type_combo PANGO_ELLIPSIZE_NONE -1 False @@ -893,7 +894,6 @@ Hex Key (WEP) True _Passphrase: - passphrase_entry True False GTK_JUSTIFY_LEFT @@ -903,6 +903,7 @@ Hex Key (WEP) 0.5 0 0 + passphrase_entry PANGO_ELLIPSIZE_NONE -1 False @@ -1052,6 +1053,7 @@ Hex Key (WEP) + 1 True 9 2 @@ -1395,6 +1397,35 @@ Hex Key (WEP) + + + True + True + + False + False + GTK_JUSTIFY_LEFT + False + True + 0 + 0 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 1 + 2 + 6 + 7 + fill + + + + True @@ -1423,6 +1454,35 @@ Hex Key (WEP) + + + True + True + + False + False + GTK_JUSTIFY_LEFT + False + True + 0 + 0 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 1 + 2 + 7 + 8 + fill + + + + True @@ -1451,64 +1511,6 @@ Hex Key (WEP) - - - True - True - - False - False - GTK_JUSTIFY_LEFT - False - True - 0 - 0 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 1 - 2 - 6 - 7 - fill - - - - - - - True - True - - False - False - GTK_JUSTIFY_LEFT - False - True - 0 - 0 - 0 - 0 - PANGO_ELLIPSIZE_NONE - -1 - False - 0 - - - 1 - 2 - 7 - 8 - fill - - - - True