comparison pidgin/gtkidle.c @ 15823:32c366eeeb99

sed -ie 's/gaim/purple/g'
author Sean Egan <seanegan@gmail.com>
date Mon, 19 Mar 2007 07:01:17 +0000
parents 75ffc646647f
children 66dff3dfdea6
comparison
equal deleted inserted replaced
15822:84b0f9b23ede 15823:32c366eeeb99
1 /* 1 /*
2 * gaim 2 * purple
3 * 3 *
4 * Gaim is the legal property of its developers, whose names are too numerous 4 * Purple is the legal property of its developers, whose names are too numerous
5 * to list here. Please refer to the COPYRIGHT file distributed with this 5 * to list here. Please refer to the COPYRIGHT file distributed with this
6 * source distribution. 6 * source distribution.
7 * 7 *
8 * This program is free software; you can redistribute it and/or modify 8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by 9 * it under the terms of the GNU General Public License as published by
50 * obtained from the OS, if configure detected IOKit. Otherwise, 50 * obtained from the OS, if configure detected IOKit. Otherwise,
51 * MacOS X is handled as a case of X Windows. 51 * MacOS X is handled as a case of X Windows.
52 * 52 *
53 * In Debian bug #271639, jwz says: 53 * In Debian bug #271639, jwz says:
54 * 54 *
55 * Gaim should simply ask xscreensaver how long the user has been idle: 55 * Purple should simply ask xscreensaver how long the user has been idle:
56 * % xscreensaver-command -time 56 * % xscreensaver-command -time
57 * XScreenSaver 4.18: screen blanked since Tue Sep 14 14:10:45 2004 57 * XScreenSaver 4.18: screen blanked since Tue Sep 14 14:10:45 2004
58 * 58 *
59 * Or you can monitor the _SCREENSAVER_STATUS property on root window #0. 59 * Or you can monitor the _SCREENSAVER_STATUS property on root window #0.
60 * Element 0 is the status (0, BLANK, LOCK), element 1 is the time_t since 60 * Element 0 is the status (0, BLANK, LOCK), element 1 is the time_t since
115 # endif /* !_WIN32 */ 115 # endif /* !_WIN32 */
116 # endif /* !HAVE_IOKIT */ 116 # endif /* !HAVE_IOKIT */
117 } 117 }
118 #endif /* USE_SCREENSAVER || HAVE_IOKIT */ 118 #endif /* USE_SCREENSAVER || HAVE_IOKIT */
119 119
120 static GaimIdleUiOps ui_ops = 120 static PurpleIdleUiOps ui_ops =
121 { 121 {
122 #if defined(USE_SCREENSAVER) || defined(HAVE_IOKIT) 122 #if defined(USE_SCREENSAVER) || defined(HAVE_IOKIT)
123 pidgin_get_time_idle 123 pidgin_get_time_idle
124 #else 124 #else
125 NULL 125 NULL
126 #endif /* USE_SCREENSAVER || HAVE_IOKIT */ 126 #endif /* USE_SCREENSAVER || HAVE_IOKIT */
127 }; 127 };
128 128
129 GaimIdleUiOps * 129 PurpleIdleUiOps *
130 pidgin_idle_get_ui_ops() 130 pidgin_idle_get_ui_ops()
131 { 131 {
132 return &ui_ops; 132 return &ui_ops;
133 } 133 }