One more comment. From what I understand by reading the gnome developer docs, gnome_master_client () only works if the program calls gnome_program_init (), but from the Changelog you can read that this call was dropped on 2007-08-03.
-- regression: pressing power button no longer brings up logout dialog https://bugs.launchpad.net/bugs/57872 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs