projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3999fdc
)
Add missing PropertyChanged signal from manager interface
author
Gustavo Sverzut Barbieri
<barbieri@profusion.mobi>
Sat, 2 Jan 2010 20:55:50 +0000
(18:55 -0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sat, 2 Jan 2010 22:30:55 +0000
(14:30 -0800)
src/profile.c
patch
|
blob
|
history
diff --git
a/src/profile.c
b/src/profile.c
index
04e260c
..
b7dc96f
100644
(file)
--- a/
src/profile.c
+++ b/
src/profile.c
@@
-77,6
+77,13
@@
static void offlinemode_changed(struct connman_profile *profile)
connman_dbus_property_changed_basic(profile->path,
CONNMAN_PROFILE_INTERFACE, "OfflineMode",
DBUS_TYPE_BOOLEAN, &profile->offlinemode);
+
+ if (profile != default_profile)
+ return;
+
+ connman_dbus_property_changed_basic(CONNMAN_MANAGER_PATH,
+ CONNMAN_MANAGER_INTERFACE, "OfflineMode",
+ DBUS_TYPE_BOOLEAN, &profile->offlinemode);
}
connman_bool_t __connman_profile_get_offlinemode(void)