https://bugzilla.novell.com/show_bug.cgi?id=344301#c16
--- Comment #16 from Federico Mena Quintero 2007-11-27 11:31:42 MST ---
By the way, here is a test package of gnome-panel with the aforementioned
intlclock:
http://www.gnome.org/~federico/gnome-panel-with-intlclock/
Note that this package is for testing purposes only (I needed it to test if our
PolicyKit/D-Bus setup works). It's not what will be in any openSUSE version;
that's a work in progress.
The part that runs as root (not setuid, but through D-Bus's setuid helper) is
in gnome-panel-2.20.0/intlclock-1.0/src/gnome-clock-applet-mechanism-*.[ch] ---
this is just a small program that can change /etc/sysconfig/clock for the
timezone and that can call settimeofday() for the time. Everything else is
part of the GUI, which runs as a normal user.
You can test the international clock like this:
- Start a GNOME session
- Right-click on the clock in the panel, and select "Remove".
- Right-click on the panel, and select "Add to panel"
- Scroll down in the popup window until you find "International Clock".
- Select "International Clock" and click on the "Add" button.
- Right-click on the new clock, select "Preferences". In the Locations tab,
add some locations/timezones.
- Click on the clock; its information popup will appear. If you hover on one
of the locations, you'll get a "Set" button. Click that button to set the
timezone; you'll get prompted for your password.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.