mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-30 02:40:11 +01:00
2004-08-25 Dan Williams <dcbw@redhat.com>
* panel-applet/NMWirelessAppletDbus.c - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name for getting encryption, and don't stop on "val" once we've gotten it from NetworkManager. Short form: encryption should now show up. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@72 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
7df00044ca
commit
bbc8ab5e1a
2 changed files with 8 additions and 2 deletions
|
|
@ -1,3 +1,10 @@
|
|||
2004-08-25 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* panel-applet/NMWirelessAppletDbus.c
|
||||
- (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
|
||||
for getting encryption, and don't stop on "val" once we've gotten it
|
||||
from NetworkManager. Short form: encryption should now show up.
|
||||
|
||||
2004-08-25 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* panel-applet/NMWirelessApplet.c
|
||||
|
|
|
|||
|
|
@ -216,7 +216,6 @@ int nmwa_dbus_get_bool (DBusConnection *connection, const char *path, const char
|
|||
}
|
||||
|
||||
dbus_message_unref (reply);
|
||||
*val = FALSE;
|
||||
return (RETURN_SUCCESS);
|
||||
}
|
||||
|
||||
|
|
@ -489,7 +488,7 @@ gboolean nmwa_dbus_get_network_encrypted (NMWirelessApplet *applet, char *net_pa
|
|||
{
|
||||
gboolean enc = FALSE;
|
||||
|
||||
switch (nmwa_dbus_get_bool (applet->connection, net_path, "getName", &enc))
|
||||
switch (nmwa_dbus_get_bool (applet->connection, net_path, "getEncrypted", &enc))
|
||||
{
|
||||
case (RETURN_NO_NM):
|
||||
applet->applet_state = APPLET_STATE_NO_NM;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue