Группа :: Система/Настройка/Прочее
Пакет: timetool
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: timetool.patch
Скачать
Скачать
diff -urN timetool-2.8.or/Makefile timetool-2.8/Makefile
--- timetool-2.8.or/Makefile 2001-03-01 15:08:47 +0200
+++ timetool-2.8/Makefile 2005-10-31 14:05:25 +0200
@@ -1,6 +1,6 @@
PREFIX = /usr
BINDIR = $(PREFIX)/bin
-PANELDIR = $(PREFIX)/lib/rhs/control-panel
+PANELDIR = $(PREFIX)/lib/timetool
VERSION=$(shell cat timetool.spec | grep Version: | sed 's/Version: //g')
VERNAME=$(PROGS)-$(VERSION)
diff -urN timetool-2.8.or/timetool timetool-2.8/timetool
--- timetool-2.8.or/timetool 2001-03-01 15:08:47 +0200
+++ timetool-2.8/timetool 2005-10-31 14:06:24 +0200
@@ -6,11 +6,11 @@
# the result of date(NULL) (see date(2)). date
# is now used to keep time.
-set cpld /usr/lib/rhs/control-panel
+set ttld /usr/lib/timetool
-if {[catch {source $cpld/dialog.tcl}] != 0} {
+if {[catch {source $ttld/dialog.tcl}] != 0} {
puts "Couldn't load dialog.tcl"
- puts "(normally this is /usr/lib/rhs/control-panel)"
+ puts "(normally this is /usr/lib/timetool)"
exit 0
}
@@ -332,19 +332,19 @@
}
proc spin_hat {} {
- global hat_pos cpld
+ global hat_pos ttld
incr hat_pos
if {$hat_pos > 12} {
set hat_pos 1
}
- .hat configure -bitmap @$cpld/loopy/loopy_$hat_pos.xbm
+ .hat configure -bitmap @$ttld/loopy/loopy_$hat_pos.xbm
}
frame .time -borderwidth 2 -relief groove
frame .clock
#set font -adobe-times-bold-r-normal--20-100-*-*-p-150-*-*
-set font -sony-fixed-medium-r-normal--24-170-100-100-c-120-iso8859-1
+set font -*-fixed-medium-r-normal--24-170-100-100-c-120-*
label .hour -font $font\
-borderwidth 0 -padx 0 -foreground $unselected_color
label .hourcolon -text ":" -font $font \
@@ -392,7 +392,7 @@
#label .hat -padx 10 -pady 10 -bitmap [image create photo -file $env(CONTROL_PANEL_LIB_DIR)/loopy/loopy_1.gif] \
# -foreground Red
-label .hat -padx 10 -pady 10 -bitmap @$cpld/loopy/loopy_1.xbm -foreground Red
+label .hat -padx 10 -pady 10 -bitmap @$ttld/loopy/loopy_1.xbm -foreground Red
pack .time .control .setf -side top -padx 4 -pady 2
pack .quit -side top -padx 4 -pady 3 -ipadx 4 -ipady 1