Show
Ignore:
Timestamp:
15/07/09 00:11:01 (3 years ago)
Author:
Leo Antunes <leo@…>
Children:
eac542b8dbbb0cd226442fbe8494256371810a8a
Parents:
89ea750cd5432fd5fcf7b67190ef84146f566fe8
git-committer:
Leo Antunes <leo@…> (15/07/09 00:11:01)
Message:

listen to ActiveChange instead of SessionIdleChanged

it's been dropped as of gnome-screensaver 2.26.0.
(thanks Thomas Krug for the heads-up)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • utils/mimic_gnome-screensaver.py

    r7bfa81d rebf9132  
    2727 
    2828t = Test('/org/gnome/ScreenSaver') 
    29 gobject.timeout_add(   1, t.SessionIdleChanged, dbus.Boolean(1)) 
    30 gobject.timeout_add(2000, t.SessionIdleChanged, dbus.Boolean(0)) 
     29gobject.timeout_add(   1, t.ActiveChanged, dbus.Boolean(1)) 
     30gobject.timeout_add(2000, t.ActiveChanged, dbus.Boolean(0)) 
    3131gobject.timeout_add(2001, app.quit) 
    3232