Package: gnome-panel Version: 2.14.3-4 Severity: normal File: /usr/lib/gnome-panel/clock-applet Tags: patch
In gnome Desktop->Administration menu it is possible to switch the behaviour of apps that need admin privledges via the gconf setting /apps/gksu/sudo-mode between requesting the root password or the user password. However the clock applet calls time-admin dirrectly which then requests the root password. This is inconvenient for those of us that prefer the sudo method. The fairly trivial patch from ubuntu is attached. Please note that the patch it dropped in gnome-panel 2.15.91 since "the new gnome-system-tools don't need special rights from the UI". -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (900, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-3-486 Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Versions of packages gnome-panel depends on: ii gnome-about 2.14.3-1 The GNOME about box ii gnome-control-center 1:2.14.2-6 utilities to configure the GNOME d ii gnome-desktop-data 2.14.3-1 Common files for GNOME 2 desktop a ii gnome-menus 2.16.1-2 an implementation of the freedeskt ii gnome-panel-data 2.14.3-4 common files for GNOME 2 panel ii libart-2.0-2 2.3.17-1 Library of functions for 2D graphi ii libatk1.0-0 1.12.4-1 The ATK accessibility toolkit ii libbonobo2-0 2.14.0-3 Bonobo CORBA interfaces library ii libbonoboui2-0 2.14.0-5 The Bonobo UI library ii libc6 2.3.6.ds1-11 GNU C Library: Shared libraries ii libcairo2 1.2.4-4 The Cairo 2D vector graphics libra ii libecal1.2-6 1.6.3-4 Client library for evolution calen ii libedataserver1.2-7 1.6.3-4 Utility library for evolution data ii libedataserverui1.2-6 1.6.3-4 GUI utility library for evolution ii libgconf2-4 2.16.0-3 GNOME configuration database syste ii libglade2-0 1:2.6.0-4 library to load .glade files at ru ii libglib2.0-0 2.12.4-2 The GLib library of C routines ii libgnome-desktop-2 2.14.3-1 Utility library for loading .deskt ii libgnome-menu2 2.16.1-2 an implementation of the freedeskt ii libgnome2-0 2.16.0-2 The GNOME 2 library - runtime file ii libgnomeui-0 2.14.1-2 The GNOME 2 libraries (User Interf ii libgnomevfs2-0 1:2.14.2-6 GNOME virtual file-system (runtime ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface ii liborbit2 1:2.14.3-0.1 libraries for ORBit2 - a CORBA ORB ii libpanel-applet2-0 2.14.3-4 library for GNOME 2 panel applets ii libpango1.0-0 1.14.8-5 Layout and rendering of internatio ii libwnck18 2.14.3-1 Window Navigator Construction Kit ii libx11-6 2:1.0.3-5 X11 client-side library ii libxau6 1:1.0.1-2 X11 authorisation library ii menu-xdg 0.2.3 freedesktop.org menu compliant win Versions of packages gnome-panel recommends: ii evolution-data-server 1.6.3-4 evolution database backend server ii gnome-applets 2.14.3-4 Various applets for GNOME 2 panel ii gnome-session 2.14.3-5 The GNOME 2 Session Manager -- no debconf information
diff -Nur gnome-panel-2.11.90.orig/applets/clock/clock.c gnome-panel-2.11.90/applets/clock/clock.c --- gnome-panel-2.11.90.orig/applets/clock/clock.c 2005-07-21 11:05:49.000000000 +0200 +++ gnome-panel-2.11.90/applets/clock/clock.c 2005-07-26 13:14:08.000000000 +0200 @@ -83,7 +83,7 @@ "system-config-date", "redhat-config-date", "/sbin/yast2 timezone", - "time-admin", + "/usr/bin/gksudo time-admin", }; /* Needs to match the indices in the combo */