From 6ee88adfbba39acc78c137900f88f06c038bcb65 Mon Sep 17 00:00:00 2001 From: Stefan Siegel Date: Wed, 22 Aug 2001 18:04:35 +0000 Subject: hide uggly clock.pm if called outside of drakconf --- clock.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/clock.pm b/clock.pm index 03a43edd..8237f6bd 100755 --- a/clock.pm +++ b/clock.pm @@ -45,6 +45,7 @@ my ($old_year, $old_month, $old_day); my $its_reset=0; my $window = $::isEmbedded ? new Gtk::Plug ($::XID) : new Gtk::Window -toplevel; my $vbox = new Gtk::VBox(0,0); +$window->set_title(_("DrakClock")); $window->add($vbox); $window->signal_connect ( delete_event => \&quit_global ); my $hbox = new Gtk::HBox(0,0); @@ -63,9 +64,9 @@ $button_time->signal_connect ( clicked => sub { $in->{timezone}={}; add2hash($in->{timezone}, { timezone::read('') }); my $timezone = $in->{timezone}{timezone}; - $in->{timezone}{timezone} = $in->ask_from_treelist('', _("Which is your timezone?"), '/', [ timezone::getTimeZones('') ], $timezone); + $in->{timezone}{timezone} = $in->ask_from_treelist(_("Timezone - DrakClock"), _("Which is your timezone?"), '/', [ timezone::getTimeZones('') ], $timezone); if( defined($in->{timezone}{timezone}) ){ - $in->{timezone}{UTC} = $in->ask_yesorno('', _("Is your hardware clock set to GMT?"), $in->{timezone}{UTC}); + $in->{timezone}{UTC} = $in->ask_yesorno(_("GMT - DrakClock"), _("Is your hardware clock set to GMT?"), $in->{timezone}{UTC}); timezone::write('', $in->{timezone}); } else { $in->{timezone}{timezone} = $timezone; -- cgit v1.2.1