Mercurial > pidgin.yaz
comparison src/gtkprefs.c @ 13323:723f5b7ef6a2
[gaim-migrate @ 15693]
Long long ago, in a far-off land, a patch was sent to gaim-devel...
I modified this patch, but couldn't test it, so it sat. Today, I got to borrow an evaluation laptop from Apple (here at the University of Minnesota, Crookston). So, I bring you...
A patch from Michael Culbertson: On Mac OS X, obtain the system idle time via IOKit. Thus, our idle time calculations will reflect system usage rather than X11 application usage.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Fri, 24 Feb 2006 03:38:09 +0000 |
parents | 3de53fe8345f |
children | b7b31c69ade6 |
comparison
equal
deleted
inserted
replaced
13322:83d522bbc741 | 13323:723f5b7ef6a2 |
---|---|
1746 | 1746 |
1747 dd = gaim_gtk_prefs_dropdown(vbox, _("_Report idle time:"), | 1747 dd = gaim_gtk_prefs_dropdown(vbox, _("_Report idle time:"), |
1748 GAIM_PREF_STRING, "/core/away/idle_reporting", | 1748 GAIM_PREF_STRING, "/core/away/idle_reporting", |
1749 _("Never"), "none", | 1749 _("Never"), "none", |
1750 _("From last sent message"), "gaim", | 1750 _("From last sent message"), "gaim", |
1751 #ifdef USE_SCREENSAVER | 1751 #ifdef USE_SCREENSAVER || defined(HAVE_IOKIT) |
1752 _("Based on keyboard or mouse use"), "system", | 1752 _("Based on keyboard or mouse use"), "system", |
1753 #endif | 1753 #endif |
1754 NULL); | 1754 NULL); |
1755 gtk_size_group_add_widget(sg, dd); | 1755 gtk_size_group_add_widget(sg, dd); |
1756 gtk_misc_set_alignment(GTK_MISC(dd), 0, 0.5); | 1756 gtk_misc_set_alignment(GTK_MISC(dd), 0, 0.5); |