linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rex Dieter <rdieter@math.unl.edu>
To: "Sadanapalli, Pradeep Kumar (MED,
	TCS)" <Pradeep.Sadanapalli@med.ge.com>,
	linux-admin@vger.kernel.org
Subject: Re: CloclApplet in KDE
Date: Fri, 6 Jun 2003 11:11:42 -0500	[thread overview]
Message-ID: <200306061111.42550.rdieter@math.unl.edu> (raw)
In-Reply-To: <2DE78F33FFE0D3118C0200508B94F9CA1DA37338@uswaumsx08medge.med.ge.com>

[-- Attachment #1: Type: text/plain, Size: 678 bytes --]

On Friday 06 June 2003 11:00 am, Sadanapalli, Pradeep Kumar (MED, TCS) 
wrote:
> Hi,
> I am running RedHat 8.0 and kde 3.1.2 . When I login as a normal user, I
> am unable to change the system date. I am trying to do this. I am right
> clicking on the clock applet on the panel, and then from the popup menu,
> I am clicking on "Adjust Date & Time ..." and nothing comes up.

How did you install kde 3.1.2? (ie, where did you get it from)?

hint/fyi: KDE built from sources won't work.  (-:  The RPMS included in rh9 
and from both kde-redhat.sf.net and kde.org include a patch (attached) to 
make the "Adjust time & date" option invoke the redhat-config-date 
program.

-- Rex

[-- Attachment #2: kdebase-3.1-clock.patch --]
[-- Type: text/x-diff, Size: 719 bytes --]

--- kdebase-3.1/kicker/applets/clock/clock.cpp.clock	2002-11-20 17:27:29.000000000 -0500
+++ kdebase-3.1/kicker/applets/clock/clock.cpp	2002-11-20 17:27:00.000000000 -0500
@@ -928,11 +928,15 @@
 		_settings->openPreferences();
 		break;
 	case 103:
-		proc << locate("exe", "kdesu");
-		proc << "--nonewdcop";
-		proc << QString("%1 clock --lang %2")
+		if ( QFile::exists( locate("exe", "redhat-config-date") ) )
+			proc << locate("exe", "redhat-config-date");
+		else {
+			proc << locate("exe", "kdesu");
+			proc << "--nonewdcop";
+			proc << QString("%1 clock --lang %2")
 				.arg(locate("exe", "kcmshell"))
 				.arg(KGlobal::locale()->language());
+		}
 		proc.start(KProcess::DontCare);
 		break;
 	case 104:

  reply	other threads:[~2003-06-06 16:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-06 16:00 CloclApplet in KDE Sadanapalli, Pradeep Kumar (MED, TCS)
2003-06-06 16:11 ` Rex Dieter [this message]
2003-06-06 17:23 ` Jeff Largent
2003-06-07  1:20 ` terry white
  -- strict thread matches above, loose matches on Subject: below --
2003-06-06 16:54 Sadanapalli, Pradeep Kumar (MED, TCS)
2003-06-06 16:59 ` Rex Dieter
2003-06-06 17:03 Sadanapalli, Pradeep Kumar (MED, TCS)
2003-06-06 17:08 ` Rex Dieter
2003-06-07 10:29 ` Scott Taylor
2003-06-06 17:51 Sadanapalli, Pradeep Kumar (MED, TCS)
2003-06-07 11:16 ` Glynn Clements

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200306061111.42550.rdieter@math.unl.edu \
    --to=rdieter@math.unl.edu \
    --cc=Pradeep.Sadanapalli@med.ge.com \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).