After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 686064 - shell doesn't implement org.gnome.ScreenSaver.GetActiveTime
shell doesn't implement org.gnome.ScreenSaver.GetActiveTime
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: lock-screen
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2012-10-12 23:49 UTC by Matthias Clasen
Modified: 2012-10-18 13:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ScreenShield: implement o.g.ScreenSaver.GetActiveTime (3.19 KB, patch)
2012-10-16 14:47 UTC, Giovanni Campagna
committed Details | Review

Description Matthias Clasen 2012-10-12 23:49:32 UTC
This method is supposed to return the time in seconds that the screen has been locked. It is used in the gnome-screensaver-command --time implementation, which is consequently not working with gnome-shell. It seems a bit unlikely, but people might have scripts that rely on this functionality, and --time is a documented option of gnome-screensaver-command, so maybe we should provide this.
Comment 1 Giovanni Campagna 2012-10-16 14:47:56 UTC
Created attachment 226554 [details] [review]
ScreenShield: implement o.g.ScreenSaver.GetActiveTime

Part of the old gnome-screensaver interface, returns the number of seconds
that the screensaver has been active for.
Comment 2 drago01 2012-10-16 22:33:46 UTC
Review of attachment 226554 [details] [review]:

Looks good.
Comment 3 Florian Müllner 2012-10-17 21:36:46 UTC
This should go to gnome-3-6 as well I guess.
Comment 4 Giovanni Campagna 2012-10-18 13:31:27 UTC
Attachment 226554 [details] pushed as 2a8a806 - ScreenShield: implement o.g.ScreenSaver.GetActiveTime