Finished manager part of XSETTINGS. Left to be done is to implement the same for the clients ;)

This commit is contained in:
Sanel Zukan
2007-09-19 14:12:34 +00:00
parent 04a87a7f7c
commit 762ad9883d
3 changed files with 287 additions and 9 deletions

View File

@ -454,6 +454,16 @@ do_it:
edelib::alert(_("Unable to load XSETTINGS manager properly"));
stop_xsettings_manager();
}
if(!xsm) return;
/* testing code
* FIXME: move this to outside client
*/
xsm->set_int("Net/DoubleClickTime", 234);
xsm->set_color("Net/Background/Normal", 34, 45, 23, 0);
xsm->set_string("Net/UserName", "John Foo");
xsm->notify();
}
void EvokeService::stop_xsettings_manager(void) {