diff options
author | damien <damien@mandriva.com> | 2001-03-07 16:25:35 +0000 |
---|---|---|
committer | damien <damien@mandriva.com> | 2001-03-07 16:25:35 +0000 |
commit | 38966219fe1fc073beefd30d7f52dacd4fe09474 (patch) | |
tree | a2b242bf56d6006d026cf023305ce7ea74f6049c /clock.pm | |
parent | 2c9b6727f2bda1540fc8899da2bc3e6eca99d39a (diff) | |
download | control-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-x | clock.pm | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -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); |