[Portland-bugs] [Bug 42776] New: xdg-screensaver could be simplified
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Nov 10 02:29:27 PST 2011
https://bugs.freedesktop.org/show_bug.cgi?id=42776
Bug #: 42776
Summary: xdg-screensaver could be simplified
Classification: Unclassified
Product: Portland
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: xdg-utils
AssignedTo: portland-bugs at lists.freedesktop.org
ReportedBy: tanguy+freedesktop at ortolo.eu
Hello.
xdg-screensaver has a code which seems needlessly complicated: it tries to
detect the descktop environment, then if it has failed try to detect a specific
screensaver. This may even be inaccurate since there might be cases where
someone runs a GNOME desktop but uses xscreensaver because it has more
features, for instance.
Since xdg-screensaver only deals with the screensaver, I do not think it should
care about the desktop environment. In fact I see no need to try to detect it:
the code could be simplified by only having functions to detect and to interact
with the screensaver.
If you want I can try and adapt the code for that. It would be a rather heavy
change but I believe it would really simplify future maintenance. Make it more
straight-forward, in a way.
Regards,
--
Tanguy Ortolo
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Portland-bugs
mailing list