summaryrefslogtreecommitdiffstats
path: root/clock.pm
diff options
context:
space:
mode:
authorStefan Siegel <siegel@linux-mandrake.com>2001-08-22 18:04:35 +0000
committerStefan Siegel <siegel@linux-mandrake.com>2001-08-22 18:04:35 +0000
commit6ee88adfbba39acc78c137900f88f06c038bcb65 (patch)
tree888a7b4470caac0207620cdb455e60c9e275cbf0 /clock.pm
parentefca31ffc5ce59d74b6bef8c84bcb6a65741870d (diff)
downloadcontrol-center-6ee88adfbba39acc78c137900f88f06c038bcb65.tar
control-center-6ee88adfbba39acc78c137900f88f06c038bcb65.tar.gz
control-center-6ee88adfbba39acc78c137900f88f06c038bcb65.tar.bz2
control-center-6ee88adfbba39acc78c137900f88f06c038bcb65.tar.xz
control-center-6ee88adfbba39acc78c137900f88f06c038bcb65.zip
hide uggly clock.pm if called outside of drakconf
Diffstat (limited to 'clock.pm')
-rwxr-xr-xclock.pm5
1 files 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;