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 540897 - Don't show LIRC properties in Administration menu
Don't show LIRC properties in Administration menu
Status: RESOLVED FIXED
Product: gnome-lirc-properties
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Mathias Hasselmann (IRC: tbf)
gnome-lirc-properties-maint
Depends on:
Blocks:
 
 
Reported: 2008-06-30 10:39 UTC by Bastien Nocera
Modified: 2009-09-10 14:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for the above (562 bytes, patch)
2008-06-30 10:41 UTC, Bastien Nocera
none Details | Review

Description Bastien Nocera 2008-06-30 10:39:17 UTC
Currently, gnome-lirc-properties shows up in System->Adminitration instead of System->Preferences->Hardware.

Patch attached fixes that.
Comment 1 Bastien Nocera 2008-06-30 10:41:22 UTC
Created attachment 113681 [details] [review]
Patch for the above
Comment 2 Murray Cumming 2008-06-30 11:31:59 UTC
Hopefully this will still show up in System/Administration on debian/Ubuntu, which has no System/Preferences/Hardware/.
Comment 3 Bastien Nocera 2008-06-30 11:33:20 UTC
Would you want to test it before I commit it?
Comment 4 Mathias Hasselmann (IRC: tbf) 2008-06-30 11:35:46 UTC
Oh, let me check.
Comment 5 Mathias Hasselmann (IRC: tbf) 2008-06-30 11:39:24 UTC
Moves the entry to System/Preferences, which clearly is wrong: g-l-p changes settings for all users, where (AFAIK) capplets in System/Preferences should only affect settings of the current user.
Comment 6 Bastien Nocera 2008-06-30 12:39:02 UTC
(In reply to comment #5)
> Moves the entry to System/Preferences, which clearly is wrong: g-l-p changes
> settings for all users, where (AFAIK) capplets in System/Preferences should
> only affect settings of the current user.

No, that's the wrong way around. Tools in System/Administration are tools that require root credentials to be accessed. Otherwise you wouldn't have the power management features in there, or bluetooth's preferences.
Comment 7 Murray Cumming 2008-10-17 07:19:13 UTC
But g-l-p does require root/sudo access.

I'm a bit confused and I would like to see some official GNOME/Ubuntu/Fedora policy about what should go where.
Comment 8 Bastien Nocera 2008-10-17 08:18:52 UTC
gnome-lirc-properties doesn't need root/sudo, it will ask the user's own password by default, to unlock the backend.

A number of other preferences can be locked down in a similar way.
Comment 9 Bastien Nocera 2009-09-10 14:44:52 UTC
commit 679313b07b9e51f46f83087b3162a6996dc9f972
Author: Bastien Nocera <hadess@hadess.net>
Date:   Thu Sep 10 15:44:13 2009 +0100

    Bug 540897 - Don't show LIRC properties in Administration menu
    
    2009-09-10  Bastien Nocera  <hadess@hadess.net>
    
        * data/gnome-lirc-properties.desktop.in.in:
        Show the preferences in the user's preferences,
        not in the administration sub-menu
        (Closes: #540897)