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 384534 - add a way to set a reason for being away
add a way to set a reason for being away
Status: RESOLVED FIXED
Product: gnome-screensaver
Classification: Deprecated
Component: daemon
CVS HEAD
Other Linux
: Normal normal
: ---
Assigned To: gnome-screensaver maintainers
gnome-screensaver maintainers
Depends on:
Blocks:
 
 
Reported: 2006-12-10 22:02 UTC by William Jon McCann
Modified: 2007-07-05 22:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
away-message.patch (19.57 KB, patch)
2007-03-20 04:58 UTC, Matthias Clasen
committed Details | Review
away.glade (6.66 KB, text/plain)
2007-03-20 04:58 UTC, Matthias Clasen
  Details
away.c (2.09 KB, text/plain)
2007-03-20 04:59 UTC, Matthias Clasen
  Details

Description William Jon McCann 2006-12-10 22:02:34 UTC
Might be nice to have some way to set a reason for being away (screen locked).

It could be displayed on the lock dialog and used by communication (chat etc) programs too.
Comment 1 Mantas Kriaučiūnas 2007-01-14 01:32:15 UTC
It seems bug #384509 is related to this bug (or maybe it's a duplicate?)...
Comment 2 Matthias Clasen 2007-03-20 04:58:13 UTC
Created attachment 84939 [details] [review]
away-message.patch
Comment 3 Matthias Clasen 2007-03-20 04:58:46 UTC
Created attachment 84940 [details]
away.glade
Comment 4 Matthias Clasen 2007-03-20 04:59:16 UTC
Created attachment 84941 [details]
away.c
Comment 5 Matthias Clasen 2007-03-20 05:01:25 UTC
The patch adds a GConf setting, /apps/gnome-screensaver/away_message,
and feeds it all the way to the lock dialog, where it is used to fill
a label found in the glade file.

The away.glade and away.c file implement a little dialog that can be used the set the away message before locking the screen. I tried to come up with something thats suitable to pop up in response to the "Lock screen" panel menu item. 
Comment 6 William Jon McCann 2007-04-23 19:36:37 UTC
Committed to trunk.  Thanks.

We probably can just have the dialog read the gconf setting directly in this case.  At one point I didn't want the dialog to use gconf at all since I originally imagined that there might be a Qt dialog for KDE etc.  However, that probably isn't necessary and the dialog already uses gconf.  So the admittedly annoying drilling through classes with the setting can be eliminated if we wish.
Comment 7 William Jon McCann 2007-07-05 22:00:39 UTC
I guess we'll just call this fixed.