diff --git a/ChangeLog b/ChangeLog index 3128d021c..22d8f8726 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2004-11-02 Bryan Clark + + * panel-applet/menu-info.c: change from bold text to light + colored, may cause problems with some themes, i've tested a lot + and they seem fine. + + * panel-applet/NMWirelessApplet.c: fix strength tooltip + 2004-11-01 Colin Walters * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c diff --git a/examples/python/systray/network_tray.py b/examples/python/systray/network_tray.py index 1b0dc36a7..946e2ffcd 100755 --- a/examples/python/systray/network_tray.py +++ b/examples/python/systray/network_tray.py @@ -173,7 +173,7 @@ class network_tray: if self._is_wireless(device): try: if self._nm.number_wireless_devices() > 1: - return device["info.product"] + return device["pci.subsys_vendor"] else: return "Wireless Network" except: @@ -260,7 +260,7 @@ class network_tray: self._top_level_menu.show() def _get_encrypted_icon(self): - pb = gtk.gdk.pixbuf_new_from_file("../../../panel-applet/keyring.png") + pb = gtk.gdk.pixbuf_new_from_file("/usr/share/icons/hicolor/16x16/stock/generic/stock_keyring.png") pb = pb.scale_simple(16,16,gtk.gdk.INTERP_NEAREST) _keyring = gtk.Image() _keyring.set_from_pixbuf(pb) @@ -273,19 +273,19 @@ class network_tray: if active_device: if active_device["nm.type"] == self._nm.WIRED_DEVICE: - pb = gtk.gdk.pixbuf_new_from_file("../../../panel-applet/wired.png") + pb = gtk.gdk.pixbuf_new_from_file("../../../panel-applet/icons/nm-device-wired.png") pb = pb.scale_simple(16,16,gtk.gdk.INTERP_NEAREST) _wired_icon = gtk.Image() _wired_icon.set_from_pixbuf(pb) return _wired_icon elif active_device["nm.type"] == self._nm.WIRELESS_DEVICE: - pb = gtk.gdk.pixbuf_new_from_file("../../../panel-applet/wireless-applet.png") + pb = gtk.gdk.pixbuf_new_from_file("../../../panel-applet/icons/nm-device-wireless.png") pb = pb.scale_simple(16,16,gtk.gdk.INTERP_NEAREST) _wireless_icon = gtk.Image() _wireless_icon.set_from_pixbuf(pb) return _wireless_icon else: - pb = gtk.gdk.pixbuf_new_from_file("../../../panel-applet/wireless-applet.png") + pb = gtk.gdk.pixbuf_new_from_file("../../../panel-applet/icons/nm-device-wireless.png") pb = pb.scale_simple(16,16,gtk.gdk.INTERP_NEAREST) _nothing_icon = gtk.Image() _nothing_icon.set_from_pixbuf(pb) diff --git a/panel-applet/NMWirelessApplet.c b/panel-applet/NMWirelessApplet.c index 83a0aeef0..10b3baad7 100644 --- a/panel-applet/NMWirelessApplet.c +++ b/panel-applet/NMWirelessApplet.c @@ -312,7 +312,7 @@ nmwa_update_state (NMWirelessApplet *applet) pixbuf = applet->wireless_25_icon; else pixbuf = applet->wireless_00_icon; - tip = g_strdup_printf (_("Wireless network connection (%d%%)"), applet->active_device->strength); + tip = g_strdup_printf (_("Wireless network connection (%d%%)"), strength); } else tip = g_strdup (_("Wireless network connection")); diff --git a/panel-applet/menu-info.c b/panel-applet/menu-info.c index d5d9055e1..ed46ad5b3 100644 --- a/panel-applet/menu-info.c +++ b/panel-applet/menu-info.c @@ -169,7 +169,7 @@ nm_menu_network_update (NMMenuNetwork *menu_network, else text = g_strdup (ngettext ("Wireless Network", "Wireless Networks", n_essids)); - markup = g_markup_printf_escaped ("%s", text); + markup = g_markup_printf_escaped ("%s", text); gtk_label_set_markup (GTK_LABEL (menu_network->label), markup); g_free (markup); g_free (text);