Bug 372206 - g-m-m: Does not update Network status when status has changed
Summary: g-m-m: Does not update Network status when status has changed
Status: RESOLVED FIXED
: 372570 381684 382512 386361 (view as bug list)
Alias: None
Product: openSUSE 11.0
Classification: openSUSE
Component: GNOME (show other bugs)
Version: Alpha 2plus
Hardware: Other Other
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Federico Mena Quintero
QA Contact: E-mail List
URL:
Whiteboard: gnomeup-gnome-main-menu gnome-functio...
Keywords:
Depends on:
Blocks: main-menu-behavior
  Show dependency treegraph
 
Reported: 2008-03-19 01:02 UTC by Magnus Boman
Modified: 2008-05-13 22:58 UTC (History)
4 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Patch (428 bytes, text/plain)
2008-04-30 04:10 UTC, Magnus Boman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Magnus Boman 2008-03-19 01:02:55 UTC
If I boot up without a Network, g-m-m will properly display that it's not connected. However, if I then connect to a network, this is not reflected in g-m-m.
Comment 1 Magnus Boman 2008-03-19 23:28:17 UTC
*** Bug 372570 has been marked as a duplicate of this bug. ***
Comment 2 Magnus Boman 2008-04-22 06:13:18 UTC
Still in Beta1
Comment 3 Magnus Boman 2008-04-23 01:28:46 UTC
*** Bug 381684 has been marked as a duplicate of this bug. ***
Comment 4 Magnus Boman 2008-04-23 01:30:23 UTC
*** Bug 382512 has been marked as a duplicate of this bug. ***
Comment 5 Magnus Boman 2008-04-30 04:10:16 UTC
Created attachment 211336 [details]
Patch

We only asked to be notified on state change *if* we had an active device to start with.
This patch makes sure that we get notified for all valid devices even if they don't happen to be active when we startup.

To duplicate the previous behavior;
Start g-m-m with no network connection. g-m-m shows no connection
Connect to the network. g-m-m shows no connection

New behavior will properly get notified for both wired and wireless when it's state has changed.
Comment 6 Magnus Boman 2008-04-30 04:11:20 UTC
Federico, can you check this and submit it if you agree with the patch
Comment 7 Magnus Boman 2008-05-03 03:53:22 UTC
*** Bug 386361 has been marked as a duplicate of this bug. ***
Comment 8 Magnus Boman 2008-05-08 23:37:00 UTC
bnc372206 - Add notification for NM state change even if there's no active
            interface

2008-05-09  Magnus Boman  <captain.magnus@gmail.com>

        https://bugzilla.novell.com/show_bug.cgi?id=372206
        Add notification for NM state even if there's no active interface.

        * main-menu/src/network-status-agent.c (nm_get_first_active_device_info):
        Add state change notification callbacks for interfaces until we find an
        active device.
Comment 9 Federico Mena Quintero 2008-05-13 00:33:37 UTC
Assigning to myself to commit this.
Comment 10 Federico Mena Quintero 2008-05-13 22:58:43 UTC
Submitted to autobuild and svn.gnome.org.  Thanks, Magnus!

* Tue May 13 2008 - federico@novell.com
- Added gnome-main-menu-bnc372206-network-status.diff to fix
  https://bugzilla.novell.com/show_bug.cgi?id=372206 - network status
  would be shown incorrectly if main-menu started with an inactive
  network connection.
- Added gnome-main-menu-bnc224885-duplicated-description-in-app-tiles.diff
  to fix https://bugzilla.novell.com/show_bug.cgi?id=224885 - Don't
  display a duplicated description in application tiles.