Commit Graph

8 Commits

Author SHA1 Message Date
Dan Williams
c9d2d977dd libnm-glib: tighter warning print checks
Should be checking for dbus-glib errors of the right type,
instead of any error code (dbus-glib or not) that happens to be
4.
2009-10-20 12:10:30 -07:00
Dan Williams
a5eb29ad9f libnm-glib: fix crash when system permissions change 2009-08-24 19:42:00 -05:00
Dan Williams
243cba8398 libnm-glib: implement SaveHostname 2009-08-24 16:17:41 -05:00
Dan Williams
844ff94186 libnm-glib: handle system settings permissions changes 2009-08-24 16:12:51 -05:00
Dan Williams
d56674b147 libnm-glib: NMSettingsSystemPermission -> NMSettingsSystemPermissions 2009-08-24 15:57:11 -05:00
Dan Williams
2dbaab2221 system-settings: add permissions
Since the new PolicyKit does away with easy checking of authorizations,
we get to implement it by ourselves, but that's OK since we can actually
use it for a lot more stuff.  So add the GetPermissions call which returns
the permissions the caller actually has, and a signal informing callers
that their permissions might have changed.  Hook this all up to
PolicyKit so it's useful.
2009-08-24 13:03:09 -05:00
Dan Williams
27d425d853 libnm-glib: fix signal marshaller type 2009-08-11 00:01:53 -05:00
Dan Williams
0d69dfe39e libnm-glib: implement new settings interfaces
The old NMExportedConnection was used for both client and server-side classes,
which was a mistake and made the code very complicated to follow.  Additionally,
all PolicyKit operations were synchronous, and PK operations can block for a
long time (ie for user input) before returning, so they need to be async.  But
NMExportedConnection and NMSysconfigConnection didn't allow for async PK ops
at all.

Use this opportunity to clean up the mess and create GInterfaces that both
server and client objects implement, so that the connection editor and applet
can operate on generic objects like they did before (using the interfaces) but
can perform specific operations (like async PK verification of callers) depending
on whether they are local or remote or whatever.
2009-07-23 09:20:52 -04:00