[network-manager-applet] core: indicate when a device may be missing firmware (rh #594578)
- From: Dan Williams <dcbw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet] core: indicate when a device may be missing firmware (rh #594578)
- Date: Tue, 25 May 2010 17:58:21 +0000 (UTC)
commit b192459466a8aa3918de161a8884ae0449754594
Author: Dan Williams <dcbw redhat com>
Date: Tue May 25 10:56:31 2010 -0700
core: indicate when a device may be missing firmware (rh #594578)
src/applet.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/applet.c b/src/applet.c
index 1a654f8..221922f 100644
--- a/src/applet.c
+++ b/src/applet.c
@@ -1292,8 +1292,12 @@ nma_menu_device_get_menu_item (NMDevice *device,
GtkWidget *item = NULL;
gboolean managed = TRUE;
- if (!unavailable_msg)
- unavailable_msg = _("device not ready");
+ if (!unavailable_msg) {
+ if (nm_device_get_firmware_missing (device))
+ unavailable_msg = _("device not ready (firmware missing)");
+ else
+ unavailable_msg = _("device not ready");
+ }
switch (nm_device_get_state (device)) {
case NM_DEVICE_STATE_UNKNOWN:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]