summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-05-15 15:28:56 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-05-15 15:28:56 +0000
commit099fe3554fd99b00f0a3b95b3ebad3d676939f56 (patch)
tree08caa22a5c018b43b2a5a162dd15a15659f0b48c /perl-install/ugtk2.pm
parent8ab3dfff357a05a5eea4912325d022e19f6e3cbd (diff)
downloaddrakx-099fe3554fd99b00f0a3b95b3ebad3d676939f56.tar
drakx-099fe3554fd99b00f0a3b95b3ebad3d676939f56.tar.gz
drakx-099fe3554fd99b00f0a3b95b3ebad3d676939f56.tar.bz2
drakx-099fe3554fd99b00f0a3b95b3ebad3d676939f56.tar.xz
drakx-099fe3554fd99b00f0a3b95b3ebad3d676939f56.zip
(create_dialog) :
- update caller list - add title parameter and update callers
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r--perl-install/ugtk2.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index 9a62e6c4e..42eea50ea 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -352,13 +352,13 @@ sub create_box_with_title {
}
}
-# drakfloppy / logdrake
+# drakfloppy / drakfont
sub create_dialog {
- my ($label, $o_c) = @_;
+ my ($title, $label, $o_c) = @_;
my $ret = 0;
my $dialog = Gtk2::Dialog->new;
$dialog->signal_connect(delete_event => sub { Gtk2->main_quit });
-# $dialog->set_title(N("logdrake"));
+ $dialog->set_title($title);
$dialog->set_border_width(10);
$dialog->set_position('center-on-parent'); # center-on-parent doesn't work
$dialog->vbox->pack_start(Gtk2::Label->new($label), 1, 1, 0);