OK
Rating:
4.29
Thread Listing » AWN Applets
Network Manager Applet
#10864 by tehkain (1.0000) posted on 6:27pm Sunday, September 23rd, 2007
Hello all - as a few of you know I have been writing a module, for a day or so, to control Networking(wireless mostly) in awn. Think NM-applet in gnome. It uses the freedesktop dbus NetworkManager interface specification. Theses are used by Gnome and maybe KDE. I have got the module to support 90% of the specification so I am starting to think about what the applet should feature and look like. The module supports all the standard functions.
[Q]



So what do I want from you? Interface mockup and feature request. Make me proud and help make it usable. gtk please. Cairo maybe. The backend can do anything the network manager can. So do you want it to be a clone? Unique? How?
[Q]






The module is in the trunk in my sig if you want to look at it.
[Q]

--
I hate rss, NM0.6x, atom, and xml. I love python, vala,and good documentation and APIs

*Edited at 7:12pm, 09/23/07
Score: 0 points
Any particular reason?
#10873 by moonbeam (1.0000) posted on 7:36pm Sunday, September 23rd, 2007
( no avatar )

There's something to be said for cloning the interface of the network manager applet, with the icon being a graph of signal levels or maybe a graph of a selectable value.
[Q]



I think the appeal of the nm-applet is the absolute simplicity of it. I put it on the laptop of someone who just wanted their wireless to work like it did when she had XP on it. And it fulfilled that role. I think there is a place for wireless applets with lots of options and reconfigurability but I tend to think this is one case where less is more.
[Q]



But shiny is good... This is something that screams for cairo generated graphs. pretty.
[Q]



Score: 0 points
Any particular reason?
#10878 by tehkain (1.0000) posted on 8:27pm Sunday, September 23rd, 2007
Yea I agree on both ends. I will not be using it much - so I would like the community who might be using it more often to decide. I could do both - easy simple one first and cairo fancy one next. They do use the same backend so the interface would be the only difference.
[Q]



What about this?

[Q]

--
I hate rss, NM0.6x, atom, and xml. I love python, vala,and good documentation and APIs
Score: 0 points
Any particular reason?
#10882 by Onilton (0.9977) posted on 8:55pm Sunday, September 23rd, 2007
I thought it is a little bit confusing.... could you explaing what the combox (I think that's the name) are for?
[Q]

Score: 0 points
Any particular reason?
#10884 by Onilton (0.9977) posted on 8:58pm Sunday, September 23rd, 2007
And that checkbutton up there?
[Q]

Score: 0 points
Any particular reason?
#10886 by tehkain (1.0000) posted on 9:04pm Sunday, September 23rd, 2007

I have no idea :)
[Q]



They will be for toggles I guess. I have not yet decided what features everyone would like to have available to them.
[Q]

--
I hate rss, NM0.6x, atom, and xml. I love python, vala,and good documentation and APIs
Score: 0 points
Any particular reason?
#10888 by AndrewGene (0.5968) posted on 10:53pm Sunday, September 23rd, 2007
I think that the radio button is better than the check box. The drop down boxes should have rounded edges--so should the applet itself (much like your media control applet). On the dock itself instead of the bars like xp it should have a look like a mac's wifi meter--maybe rotated a little??? Just some suggestions. I've been waiting for this applet though---you've made my awn very functional this week tehkain, thanks!!!!
[Q]

Score: 0 points
Any particular reason?
#10891 by Onilton (0.9977) posted on 11:07pm Sunday, September 23rd, 2007
Maybe something slightly different form network manager from gnome:
[Q]



Wired Network could appear ate left and Wireless Network at right, since space isn't a big problem for us.... And we can try a bunch of new and maybe cool and useful things...
[Q]

Score: 0 points
Any particular reason?
#10892 by AndrewGene (0.5968) posted on 11:17pm Sunday, September 23rd, 2007
^^^^Onilton said:
Wired Network could appear ate left and Wireless Network at right, since space isn't a big problem for us.... And we can try a bunch of new and maybe cool and useful things...
[Q]



You mean left and right of awn??
[Q]



Score: 0 points
Any particular reason?
#10893 by Onilton (0.9977) posted on 11:20pm Sunday, September 23rd, 2007
no no, I mean, the window, balloon that pops up, instead of vertical order, we could have and horizontal order: left for wired and right for wireless
[Q]

Score: 0 points
Any particular reason?
#10896 by tehkain (1.0000) posted on 11:32pm Sunday, September 23rd, 2007
Good suggestions guys. I will start working on stuff once I get in contact with the NetworkManager guys and see how the hell they do secure networks since its not documented. If they are unable to help I will just look at the NM source.
[Q]

--
I hate rss, NM0.6x, atom, and xml. I love python, vala,and good documentation and APIs

*Edited at 11:37pm, 09/23/07
Score: 0 points
Any particular reason?
#10897 by Onilton (0.9977) posted on 11:36pm Sunday, September 23rd, 2007
tehkain If you want it more eye-candy style you could forget about checkbox or radiobuttons, instead, for example, the current selected wireless network could been distinguished by the color:
[Q]



The selected one is in a more alive color, and could have also a soft rectangle around it if you want to emphasize it a little more.
[Q]



The other ones are in a more soft color....
[Q]



For the selection of if it's wired or wireless connection we could use the same kind of colors.... for background or everything inside it:
[Q]



If wired is selected: wireless side seems a little bit more dead in colors, the same for wireless
[Q]




Score: 0 points
Any particular reason?
#10899 by Onilton (0.9977) posted on 11:38pm Sunday, September 23rd, 2007
Another Idea for Wired and Wireless to hide one of them when one is use, if I am using wired, wireless could be hidden..... And some kind of icon could be put on the conner of the window, and if you click it you get wireless (maybe both of them or just the other one, this have to be decided too)
[Q]




Score: 0 points
Any particular reason?
#10904 by AndrewGene (0.5968) posted on 12:50am Monday, September 24th, 2007
Onilton said:
Another Idea for Wired and Wireless to hide one of them when one is use, if I am using wired, wireless could be hidden..... And some kind of icon could be put on the conner of the window, and if you click it you get wireless (maybe both of them or just the other one, this have to be decided too)
[Q]



wonderful idea! if you're using one, you aren't using the other so why show it?
[Q]

Score: 0 points
Any particular reason?
#10942 by tehkain (1.0000) posted on 11:35am Monday, September 24th, 2007
I have a highly experimental version up in my trunk. This interface is just for testing but it works.
[Q]



[Q]

--
I hate rss, NM0.6x, atom, and xml. I love python, vala,and good documentation and APIs
Score: 0 points
Any particular reason?
#10947 by Angafirith (0.2057) posted on 1:08pm Monday, September 24th, 2007
( no avatar )
Would you mind explaining exactly how someone would get this? All I need to replace in order to get rid of my notification area is nm-applet and gnome-power-manager.
[Q]



Also, will this end up in awn-extras eventually?
[Q]

Score: 0 points
Any particular reason?
#10948 by Onilton (0.9977) posted on 1:26pm Monday, September 24th, 2007
Very cool, only working for wirelless or for both?
[Q]



I will test when I arrive home...
[Q]

Score: 0 points
Any particular reason?
#10950 by AndrewGene (0.5968) posted on 1:40pm Monday, September 24th, 2007
Angafirith said:
Would you mind explaining exactly how someone would get this? All I need to replace in order to get rid of my notification area is nm-applet and gnome-power-manager.
[Q]



x2. I think you took the link out of your sig unless they did indeed put in in awn-extras.
[Q]

Score: 0 points
Any particular reason?
#10952 by tehkain (1.0000) posted on 2:13pm Monday, September 24th, 2007
I would not test it yet - since it only works on ATH0 at the moment since I have not yet added device selection. It will do both wifi and standard networks.
[Q]



It will work when I get that set up. So I suggest waiting since any bug reports at this point will be out dated.
[Q]



Also my sig is fixed. Still would not suggest testing yet.
[Q]

--
I hate rss, NM0.6x, atom, and xml. I love python, vala,and good documentation and APIs

*Edited at 2:15pm, 09/24/07
Score: 0 points
Any particular reason?
#10963 by AndrewGene (0.5968) posted on 4:46pm Monday, September 24th, 2007
Well could we not simply change ATH0 to eth1 (or whatever the case may be)?
[Q]

Score: 0 points
Any particular reason?
#10964 by tehkain (1.0000) posted on 4:51pm Monday, September 24th, 2007
AndrewGene said:
Well could we not simply change ATH0 to eth1 (or whatever the case may be)?
[Q]



No - since I have not written the gui component for anything but one network type, the backend is there just not linked.
[Q]



I suggest waiting until testing is even possible. Right now if a bad call comes back it takes out the applet - I will be adding error reports and by passing to fix this once I get backend encryption support. I am not saying 'You can't try it!' just saying its like taking pills before they are approved by the FDA while a 'Might Cause Harm and Wont work' label is on the bottle.
[Q]

--
I hate rss, NM0.6x, atom, and xml. I love python, vala,and good documentation and APIs

*Edited at 4:55pm, 09/24/07
Score: 0 points
Any particular reason?
#10965 by AndrewGene (0.5968) posted on 4:55pm Monday, September 24th, 2007
Sounds good! Keep us updated please!
[Q]

Score: 0 points
Any particular reason?
#11136 by tehkain (1.0000) posted on 6:48pm Wednesday, September 26th, 2007
I this moment the applet is stuck -- the documentation around connecting to a encrypted network is not good and requires me to dive into NetworkManager's C source code. So for now until my request for better documentation from the NetworkManager guys is answered this project is at a standstill.
[Q]



That is unless someone who loves C wants to document the createWirelessNetwork dbus call.
[Q]



--
I hate rss, NM0.6x, atom, and xml. I love python, vala,and good documentation and APIs
Score: 0 points
Any particular reason?
#11178 by yopnono (0.8779) posted on 1:05am Thursday, September 27th, 2007
( no avatar )
tehkain said:
I this moment the applet is stuck -- the documentation around connecting to a encrypted network is not good and requires me to dive into NetworkManager's C source code. So for now until my request for better documentation from the NetworkManager guys is answered this project is at a standstill.
[Q]



If you use python then? And get help and code from WICD.
http://wicd.sourceforge.net/
[Q]



It's python based. and a really good network-manager.
[Q]

Score: 0 points
Any particular reason?
#11181 by dirken (0.6479) posted on 2:40am Thursday, September 27th, 2007
where/how can i download and install this network manager applet?
[Q]

--
Ubuntu blog => http://www.uzone.be
Score: 0 points
Any particular reason?
#11182 by davim (0.9996) posted on 3:23am Thursday, September 27th, 2007
this might help you -> /
[Q]

Score: 0 points
Any particular reason?
#11185 by SwedishChef (0.1682) posted on 4:10am Thursday, September 27th, 2007
wicd.sourceforge.net
[Q]

--
Bork, Bork, Bork!!!
Score: 0 points
Any particular reason?
#11189 by dirken (0.6479) posted on 5:54am Thursday, September 27th, 2007
davim said:
this might help you -> /
[Q]



I just got there but there aren't any downloads available. Even can't find instructions to install
[Q]



anything.SwedishChef said:
wicd.sourceforge.net
[Q]



Is this the website about the Network Manager Applet???? Guess not..
[Q]

--
Ubuntu blog => http://www.uzone.be
Score: 0 points
Any particular reason?
#11191 by davim (0.9996) posted on 6:38am Thursday, September 27th, 2007
dirken said:
I just got there but there aren't any downloads available. Even can't find instructions to install
[Q]



just use:
[Q]






and I don't think you have to install it, you just run it :P but the idea is for you to see if the is something in the code that you can use, I've used that code to make a school project and it was very helpful D
[Q]



*Edited at 6:40am, 09/27/07
Score: 0 points
Any particular reason?
#11222 by tehkain (1.0000) posted on 12:04pm Thursday, September 27th, 2007
dirken said:
Is this the website about the Network Manager Applet???? Guess not..
[Q]



Use bzr to check it out in my sig.
[Q]



Thanks for the links guys but they are not compatible with my project since they do not use the NetworkManager freedesktop framework used by gnome(and soon kde). I am trying to build the dock version of the NM-applet in gnome not an entire network control system. The only parts I have left to do require a request for more documentation of the 'Network Manager dbus api'. So I will wait a few days until I manually try to pull out that API from the source code.
[Q]



--
I hate rss, NM0.6x, atom, and xml. I love python, vala,and good documentation and APIs
Score: 0 points
Any particular reason?
#11230 by SwedishChef (0.1682) posted on 6:01pm Thursday, September 27th, 2007
dirken said:
Is this the website about the Network Manager Applet???? Guess not..
[Q]



No. This a the site to Wicd which is a replacement to the Network Manager code that IMHO is a much better wireless network client/manager.
[Q]



--
Bork, Bork, Bork!!!
Score: 0 points
Any particular reason?
#11231 by moonbeam (1.0000) posted on 6:14pm Thursday, September 27th, 2007
( no avatar )
SwedishChef said:
No. This a the site to Wicd which is a replacement to the Network Manager code that IMHO is a much better wireless network client/manager.
[Q]



I think the thing is that Network Manager is moving to become the defacto standard for Linux. And that's why it should be supported. Though support for multiple backends might be a good thing.
[Q]


Score: 0 points
Any particular reason?
#11236 by SwedishChef (0.1682) posted on 6:51pm Thursday, September 27th, 2007
While I do agree. NM does not play well in a multi-ap environment. It just keeps trying to connect to a "better" ap, when the current one is the best.
[Q]



While at work I always had to kill NM and run a script that connected to the wireless. With Wicd I have not had to do this nor have I had to re-establish my connection. There were days with NM that this was an all day battle, 10 to 20 re-connects.
[Q]



Just my 2 cents!!
[Q]

--
Bork, Bork, Bork!!!
Score: 0 points
Any particular reason?
#12515 by bluec (0.1750) posted on 12:45am Friday, October 05th, 2007
SwedishChef said:
While I do agree. NM does not play well in a multi-ap environment. It just keeps trying to connect to a "better" ap, when the current one is the best.
[Q]



I've never had that problem with NM - I tell it what to connect to, and it sticks with that connection.
[Q]

Score: 0 points
Any particular reason?
#12519 by master5o1 (0.4413) posted on 1:29am Friday, October 05th, 2007



I say don't make it so compact. It's good to have a bit of white space in amongst everything.
[Q]



And is there a .awn yet? :D
[Q]

--
-- My mummy says I am handsome.
Score: 0 points
Any particular reason?
#12520 by tehkain (1.0000) posted on 1:33am Friday, October 05th, 2007
master5o1 said:
I say don't make it so compact. It's good to have a bit of white space in amongst everything.
[Q]



The version in my trunk has quality signal bars and all. The final would be bigger but..
[Q]



master5o1 said:
And is there a .awn yet? :D
[Q]



Its dead at the moment until, I am focusing on New Main Menu at the moment, the network manager guys document their dbus info for encrypted networks better.
[Q]

--
I hate rss, NM0.6x, atom, and xml. I love python, vala,and good documentation and APIs
Score: 0 points
Any particular reason?
#12521 by master5o1 (0.4413) posted on 1:33am Friday, October 05th, 2007
fair enough :D
[Q]

--
-- My mummy says I am handsome.
Score: 0 points
Any particular reason?
#12835 by lichtgestalt (0.1575) posted on 7:43am Monday, October 08th, 2007
( no avatar )
Since tehkain is corrently not working on the network manager applet I decided to do a little work on it on my own.
[Q]



First of all I try writing some kind a python network manager backend.
It's quite tricky since there is no documentation for the network manager dbus interface at all - only a mailing list archive and NMs source code.
[Q]



Well, I got some kind a Beta 0.0.1 ready. It should be able to at least manage NMs basic functions. My next step will be encryption handling and then vpnc/openVPN/PPTP.
If anyone here got any idea how to implement this or how the stuff, i marked in the source code works, please post here or send me an eMail ()
[Q]



 
pynm2.py
[Q]
  



"""
This library is designed to provide an easy access to the network
manager for python programmers by using NMs dBus Interface.
[Q]
  


Version: Beta 0.0.1
"""
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
#
# This code is based on the netbus network manager backend written
# by Randal Barlow as part of an alpha version awn network applet
#
#
# Sadly there is nearly no Documentation at all.
# An outline of the NetworkManagers dBus api can be found here:
# http://people.redhat.com/dcbw/NetworkManager/NetworkManager%20DBUS%20API.txt
# Carefull: status should be state
#
# More detailed information is obtainable via the NM Mailing list, although it
# isn't struktured at all:
# http://mail.gnome.org/archives/networkmanager-list/
#
[Q]
  



# imports
import dbus
import gobject
[Q]
  


from dbus.mainloop.glib import DBusGMainLoop
dbus_loop = DBusGMainLoop()
[Q]
  


# global stuff
__dService = "org.freedesktop.NetworkManager"
__dObjectPath = "/org/freedesktop/NetworkManager"
__dInterface = "org.freedesktop.NetworkManager"
__deviceInt = "org.freedesktop.NetworkManager.Devices"
__deviceLocationCore = "/org/freedesktop/NetworkManager/Devices/"
__HALLocationCore = "/org/freedesktop/Hal/devices/"
__session_bus = dbus.SystemBus(mainloop=dbus_loop)
__proxy_obj_NetworkManager = __session_bus.get_object(__dService, __dObjectPath)
__deviceInterface = dbus.Interface(__proxy_obj_NetworkManager, __dInterface)
__mainloop = gobject.MainLoop()
[Q]
  



# generell stuff
def getDevices():
"""
Returns a list of available network interface devices
"""
devices = []
for device in dbus.Interface(__proxy_obj_NetworkManager, __dInterface).getDevices():
devices.append(device.replace(__deviceLocationCore,""))
return devices
[Q]
  


def getConnectionStatus():
"""
Should return corrent connection status (connecting/connected/scanning/disconnected)
Couldn't decifer status messages yet
"""
return dbus.Interface(__proxy_obj_NetworkManager, __dInterface).state()
[Q]
  


def getActiveDevice():
"""
corrently not working for unknown reason
"""
return dbus.Interface(__proxy_obj_NetworkManager, __dInterface).getActiveDevice()
[Q]
  


# device stuff
def __deviceInterface(device):
"""
Creates a Device map. Mostly used for internal stuff
"""
return dbus.Interface(__session_bus.get_object(__dInterface, __deviceLocationCore + device), __deviceInt)
[Q]
  


def getDeviceType(device):
"""
Returns type of device
"""
if (__deviceInterface(device).getType() == 1):
return "wired"
elif (__deviceInterface(device).getType() == 2):
return "wireless"
else:
return "unknown"

def getDeviceHalUdi(device):
"""
Returns devices HAL-UDI
"""
return __deviceInterface(device).getHalUdi().replace(__HALLocationCore,"")

def getDeviceName(device):
"""
Returns device name
not really usefull
"""
return __deviceInterface(device).getName()
[Q]
  


def getDecviceLinkActive(device):
"""
Returns if link is active or not
"""
return __deviceInterface(device).getLinkActive()
[Q]
  


def getDeviceActiveNetwork(device):
"""
Returns name of corrently active network
"""
return __deviceInterface(device).getActiveNetwork()
[Q]
  


def getDeviceNetworks(device):
"""
Returns list of networks available using specified device
"""
return __deviceInterface(device).getNetworks()

def getDeviceIPv4(device):
"""
Returns devices IP-Address (v4)
"""
# most usefull stuff is saved in one big tuple - whos ingenious idea was that?
# return __deviceInterface(device).getIP4Address()
return __deviceInterface(device).getProperties()[6]
[Q]
  


def getDeviceIPv4Netmask(device):
"""
Returns devices IP-Netmask (v4)
"""
return __deviceInterface(device).getProperties()[7]
[Q]
  


def getDeviceIPv4Broadcast(device):
"""
Returns devices IP-Broacastaddress (v4)
"""
return __deviceInterface(device).getProperties()[8]
[Q]
  


def getDeviceMAC(device):
"""
Returns devices MAC-Address
"""
return __deviceInterface(device).getProperties()[9]
[Q]
  


def getDeviceIPv4DefaultGateway(device):
"""
Returns devices default IP-Gateway (v4)
"""
# not sure about the next four items, but I guess that's what they are
return __deviceInterface(device).getProperties()[10]
[Q]
  


def getDeviceIPv4PrimaryDNS(device):
"""
Returns devices primary IP-DNS-Server (v4)
"""
return __deviceInterface(device).getProperties()[11]
[Q]
  


def getDeviceIPv4SecondaryDNS(device):
"""
Returns devices secondary IP-DNS-Server (v4)
"""
return __deviceInterface(device).getProperties()[12]
[Q]
  


# network stuff
def __networkInterface(device, network):
"""
Creates a network map. Mostly used for internal stuff
"""
return dbus.Interface(__session_bus.get_object(__dInterface, __deviceLocationCore + device+ '/Networks/' + network), __deviceInt)
[Q]
  


def getNetworkName(device, network):
"""
Returns network name
"""
return __networkInterface(device, network).getName()
[Q]
  


def getNetworkBasestation(device, network):
"""
Returns the MAC-Address of the active base station
"""
return __networkInterface(device, network).getAddress()
[Q]
  


def getNetworkStrength(device, network):
"""
Returns the Network strength as percentage
"""
return __networkInterface(device, network).getStrength()
[Q]
  


def getNetworkFrequency(device, network):
"""
Returns the Networka frequency in GHz
"""
return __networkInterface(device, network).getFrequency()
[Q]
  


def getNetworkRate(device, network):
"""
Returns the Networks maximum supported data rate in Mbps
"""
return __networkInterface(device, network).getFrequency()
[Q]
  


def getNetworkEncrypted(device, network):
"""
Returns weather the network is encrypted
"""
return __networkInterface(device, network).getEncrypted()
[Q]
  



def connect(device, network=None):
"""
For wired networks the given device is activated
For wireless networks it will connect to the given network using the given device
"""
if (network == None and getDeviceType(device) == "wired"):
__deviceInterface.setActiveDevice(dbus.ObjectPath(__deviceLocationCore + device))
elif (network != None and getDeviceType(device) == "wireless"):
__deviceInterface.setActiveDevice(dbus.ObjectPath(__deviceLocationCore + device), dbus.String(network))
else:
pass
[Q]
  


# signal handling
# variable must be set to a function
onDeviceNoLongerActive = None #Parameter: device
onDeviceNowActive = None #Parameter: device
onDeviceActivating = None #Parameter: device
onDevicesChanged = None #Parameter: device
onDeviceActivationFailed = None #Parameter: device, network
onStrengthChanged = None #Parameter: device, strength
[Q]
  


def __DeviceNoLongerActive(device):
if (onDeviceNoLongerActive != None):
onDeviceNoLongerActive(device.replace(__deviceLocationCore,""))
[Q]
  


def __DeviceNowActive(device):
if (onDeviceNoLongerActive != None):
onDeviceNoLongerActive(device.replace(__deviceLocationCore,""))

def __DeviceActivating(device):
if (onDeviceNoLongerActive != None):
onDeviceNoLongerActive(device.replace(__deviceLocationCore,""))
[Q]
  


def __DevicesChanged(device):
if (onDeviceNoLongerActive != None):
onDeviceNoLongerActive(device.replace(__deviceLocationCore,""))
[Q]
  


def __DeviceActivationFailed(device, network):
if (onDeviceNoLongerActive != None):
onDeviceNoLongerActive(device.replace(__deviceLocationCore,""), network)
[Q]
  


def __strengthChanged(device, strength):
if (onStrengthChanged != None):
onStrengthChanged(device.replace(__deviceLocationCore,""), strength)

__session_bus.add_signal_receiver(__DeviceNoLongerActive, 'DeviceNoLongerActive')
__session_bus.add_signal_receiver(__DeviceNowActive, 'DeviceNowActive')
__session_bus.add_signal_receiver(__DeviceActivating, 'DeviceActivating')
__session_bus.add_signal_receiver(__DevicesChanged, 'DevicesChanged')
__session_bus.add_signal_receiver(__DeviceActivationFailed, 'DeviceActivationFailed')
__session_bus.add_signal_receiver(__strengthChanged, 'DeviceStrengthChanged')
[Q]
  



def startSignalHandlingLoop():
"""
Starts a gobject Mainloop for signal handling
"""
__mainloop.run()
[Q]
  


def stopSignalHandlingLoop():
"""
Stops signal handling mainloop
"""
__mainloop.stop()
[Q]
 



 
This is just a little test program:
testsuite.py
import pynm2
[Q]
  


print pynm2.getDevices()
[Q]
  


def doet(bla, blubb):
print bla
print blubb
[Q]
  


pynm2.onStrengthChanged = doet
[Q]
  


pynm2.startSignalHandlingLoop()
[Q]
  


print "test"
[Q]
 



I'm going to write a UI for AWN as soon as the backend is ready.
[Q]

Score: 0 points
Any particular reason?
#16604 by olavjunior (0.2290) posted on 4:31am Thursday, November 15th, 2007
( no avatar )
I would really like to have a network applet for awn. To bad the project is on ice :(
[Q]

Score: 0 points
Any particular reason?
#16605 by tehkain (1.0000) posted on 4:35am Thursday, November 15th, 2007
The new NM coming soon(might be in fedora 8) has a well documented dbus API. In a few months when It becomes more prevalent I will renew my attempt
[Q]

--
I hate rss, NM0.6x, atom, and xml. I love python, vala,and good documentation and APIs
Score: 0 points
Any particular reason?
#16608 by Onilton (0.9977) posted on 4:45am Thursday, November 15th, 2007
lichtgestalt said:
Since tehkain is corrently not working on the network manager applet I decided to do a little work on it on my own.
[Q]



How is your status, wouldn't you like to open a new thread for this?
[Q]

Score: 0 points
Any particular reason?
#17575 by seeitcoming (0.2254) posted on 2:43pm Wednesday, November 28th, 2007
As regards the interface, the nm-applet interface in GNOME is very nice - is it possible to embed GTK widgets in awn pop-ups?
[Q]

Score: 0 points
Any particular reason?
#17578 by pavpanchekha (1.0000) posted on 3:10pm Wednesday, November 28th, 2007
AWN popups are just GTK vboxes, so it'd be something along the lines of copy and paste.
[Q]

Score: 0 points
Any particular reason?
#18818 by zorgh (0.1677) posted on 12:18pm Thursday, January 03rd, 2008
( no avatar )
tehkain,
[Q]



How to get your network manager applet ?
[Q]



Thanks.
[Q]

Score: 0 points
Any particular reason?
#19094 by phin (0.1846) posted on 5:09pm Thursday, January 17th, 2008
( no avatar )
i would like this, too
[Q]

Score: 0 points
Any particular reason?
#23795 by archeryguru (0.1781) posted on 4:57pm Wednesday, August 27th, 2008
( no avatar )
lichtgestalt, how's your progress going? I like that you're using Python. I would love to have a bit of beta from you. I might be able to assist.
[Q]



~~archery~~
[Q]

Score: 0 points
Any particular reason?
#32824 by Josemari (0.9992) posted on 2:38am Thursday, May 31st, 2012
( no avatar )
Absolutely everyone is longing for a designer watch but constantly restrained by the limited financial institution account. In that situation, replica rolex swiss watches why not try out the associated replica watch of higher excellent? It truly is the precise copy with the authentic model with every single detail cautiously crafted. By the primary sight at the counterfeit watch, breitling stainless steel band you are susceptible to mistaken it a genuine piece. rolex fakes
[Q]

Score: 0 points
Any particular reason?
#33666 by Josemari (0.9992) posted on 4:07am Saturday, June 02nd, 2012
( no avatar )
Bridesmaid dresses 2011 will allow you to hold a success wedding ceremony. affordable bridesmaid dress With right bridesmaid dresses selection you will look more beautiful because their appearance will support the bridal’s appearance hot wedding dress . Check www.dressus.org you can find the best bridesmaid dresses for yourself. We can custom made junior bridesmaid dress and plus size bridesmaid dresses for all sizes you needed hot cocktail dresses , also first shipping to worldwide.
[Q]

Score: 0 points
Any particular reason?
Thread Listing » AWN Applets » Network Manager Applet

Post A Reply:

Powered by Metaforum ©2004-2012
Get your own Free AJAX Forum Messageboard by visiting the offical site.
.