Re: [PATCH] Re: How to suppress pop-up window when device is inserted ?

2009-03-11 Thread Christopher Lang

Hi Alexander,

 This requires a patch to not add actions if there is no action
 support. Forgot to submit it ... will come in a minute ..

could you be a litte bit more specific about the actions that you mentioned, 
point me in some direction where I should start digging to understand how 
this works?

Is that something which goes into the hal fdi files? Do I need to look at the 
dbus methods that NM provides? Which one specifically? Or is it the nm-applet 
code to look at? As I am new to NM I couldn't see that immediately by looking 
at your patch.

Just a hint with some more context where to start looking would be nice.

many thanks
Chris


http://www.acurana.de/

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: [PATCH] Re: How to suppress pop-up window when device is inserted ?

2009-03-11 Thread Dan Williams
On Wed, 2009-03-11 at 16:58 +0100, Christopher Lang wrote:
 Hi Alexander,
 
  This requires a patch to not add actions if there is no action
  support. Forgot to submit it ... will come in a minute ..
 
 could you be a litte bit more specific about the actions that you 
 mentioned, 
 point me in some direction where I should start digging to understand how 
 this works?
 
 Is that something which goes into the hal fdi files? Do I need to look at the 
 dbus methods that NM provides? Which one specifically? Or is it the nm-applet 
 code to look at? As I am new to NM I couldn't see that immediately by looking 
 at your patch.
 
 Just a hint with some more context where to start looking would be nice.

The patches that pop up a notification when you plug in the 3G card are
Ubuntu specific and not part of upstream NetworkManager, so you won't
find them in official NM sources.  But Alexander is the maintainer of
NM for Ubuntu and thus would be quite qualified to point out how to
suppress it.

Dan


___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: [PATCH] Re: How to suppress pop-up window when device is inserted ?

2009-03-11 Thread Christopher Lang

 Ubuntu specific and not part of upstream NetworkManager, so you won't

Dan, thanks, that clarifies things a bit.
Chris

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


[PATCH] Re: How to suppress pop-up window when device is inserted ?

2009-03-10 Thread Alexander Sack
On Tue, Mar 10, 2009 at 01:00:12PM +0100, Christopher Lang wrote:
 
 Hi,
 
 for example under Ubuntu 8.10, which uses nm-applet, there is a pop-up 
 whenever a 3G or similar GSM device is plugged in.
 
 Is there a way to switch that off or suppress it?
 
 Interesting would be also to understand, do I have to tell the nm-applet 
 somehow not to display the pop-up or is there a way I can tell NetworkManager 
 to leave some devices alone (maybe through dbus)?
 
 Or, is there a way to tell NM not to report it, still allowing manual config 
 when the user chooses to?

This requires a patch to not add actions if there is no action
support. Forgot to submit it ... will come in a minute ..

 - Alexander

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list