summaryrefslogtreecommitdiffstats
path: root/clock.pm
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2001-03-07 16:25:35 +0000
committerdamien <damien@mandriva.com>2001-03-07 16:25:35 +0000
commit38966219fe1fc073beefd30d7f52dacd4fe09474 (patch)
treea2b242bf56d6006d026cf023305ce7ea74f6049c /clock.pm
parent2c9b6727f2bda1540fc8899da2bc3e6eca99d39a (diff)
downloadcontrol-center-38966219fe1fc073beefd30d7f52dacd4fe09474.tar
control-center-38966219fe1fc073beefd30d7f52dacd4fe09474.tar.gz
control-center-38966219fe1fc073beefd30d7f52dacd4fe09474.tar.bz2
control-center-38966219fe1fc073beefd30d7f52dacd4fe09474.tar.xz
control-center-38966219fe1fc073beefd30d7f52dacd4fe09474.zip
updated , added
Diffstat (limited to 'clock.pm')
-rwxr-xr-xclock.pm9
1 files changed, 2 insertions, 7 deletions
diff --git a/clock.pm b/clock.pm
index b4a7601e..4cdee33b 100755
--- a/clock.pm
+++ b/clock.pm
@@ -29,13 +29,8 @@ my $hbox = new Gtk::HBox(0,0);
$vbox->pack_start($hbox, 1, 1, 0);
my $calendar = new Gtk::Calendar;
$hbox->pack_start($calendar, 1, 1, 0);
-$calendar->signal_connect ( 'month-changed' => \&cal_changed );
-$calendar->signal_connect ( 'day-selected' => \&cal_changed );
-$calendar->signal_connect ( 'day-selected-double-click' => \&cal_changed );
-$calendar->signal_connect ( 'prev-month' => \&cal_changed );
-$calendar->signal_connect ( 'next-month' => \&cal_changed );
-$calendar->signal_connect ( 'prev-year' => \&cal_changed );
-$calendar->signal_connect ( 'next-year' => \&cal_changed );
+$calendar->signal_connect ( $_ => \&cal_changed )
+ foreach ('month-changed', 'day-selected', 'day-selected-double-click', 'prev-month', 'next-month', 'prev-year', 'next-year');
my $vbox2 = new Gtk::VBox(0,0);
$hbox->pack_start($vbox2, 1, 1, 0);