[Korganizer-devel] [Bug 211633] add go => to date

Dj YB yehielb at mail.ru
Thu Aug 26 12:51:33 CEST 2010


https://bugs.kde.org/show_bug.cgi?id=211633





--- Comment #1 from Dj YB <yehielb mail ru>  2010-08-26 12:51:30 ---
Hello,
I have implemented this shortcut using "Input Actions" assigning "Ctrl+G" to
the command:
perl -e '{my $date=`kdialog --calendar "Go To"`; my
($weekday,$m,$day,$year)=split(/ /,$date); chop($year); $m=($m eq
'Jan')?"01":($m eq 'Feb')?"02":($m eq 'Mar')?"03":($m eq 'Apr')?"04":($m eq
'May')?"05":($m eq 'Jun')?"06":($m eq 'Jul')?"07":($m eq 'Aug')?"08":($m eq
'Sep')?"09":($m eq 'Oct')?"10":($m eq 'Nov')?"11":($m eq 'Dec')?"12":"01";
$date="$year/$m/$day"; print "$date\n"; `qdbus org.kde.korganizer /Calendar
org.kde.Korganizer.Calendar.showDate $date`;}'

thanks,
YB.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Korganizer-devel mailing list