summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-11-29 11:23:28 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-11-29 11:23:28 +0000
commit18a4f1eb99e5644805fd617e0db6072ddca9b722 (patch)
tree572f55f6e4d648fc1e24edc109a7ef5814607ffc /perl-install/diskdrake
parent289d752cbb02fd99408abdbd280e9e833b5a7c0a (diff)
downloaddrakx-18a4f1eb99e5644805fd617e0db6072ddca9b722.tar
drakx-18a4f1eb99e5644805fd617e0db6072ddca9b722.tar.gz
drakx-18a4f1eb99e5644805fd617e0db6072ddca9b722.tar.bz2
drakx-18a4f1eb99e5644805fd617e0db6072ddca9b722.tar.xz
drakx-18a4f1eb99e5644805fd617e0db6072ddca9b722.zip
set title & icon of banner for most partitionning steps
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r--perl-install/diskdrake/hd_gtk.pm2
-rw-r--r--perl-install/diskdrake/interactive.pm2
-rw-r--r--perl-install/diskdrake/smbnfs_gtk.pm2
3 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm
index 7de290b89..5d8864cab 100644
--- a/perl-install/diskdrake/hd_gtk.pm
+++ b/perl-install/diskdrake/hd_gtk.pm
@@ -49,7 +49,7 @@ sub main {
local $in->{grab} = 1;
- $w = ugtk2->new('DiskDrake');
+ $w = ugtk2->new(N("Partitionning"), icon => 'banner-part');
$::main_window = $w->{real_window} if !$::isEmbedded && !$::isInstall;
my $rc = "/usr/share/libDrakX/diskdrake.rc";
-r $rc or $rc = dirname(__FILE__) . "/../diskdrake.rc";
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm
index b4200d7f4..1dd58bd20 100644
--- a/perl-install/diskdrake/interactive.pm
+++ b/perl-install/diskdrake/interactive.pm
@@ -289,7 +289,7 @@ sub Done {
update_bootloader_for_renumbered_partitions($in, $all_hds);
if (any { $_->{rebootNeeded} } @{$all_hds->{hds}}) {
- $in->ask_warn('', N("You need to reboot for the partition table modifications to take place"));
+ $in->ask_warn(N("Partitionning"), N("You need to reboot for the partition table modifications to take place"), icon => 'banner-part');
tell_wm_and_reboot();
}
}
diff --git a/perl-install/diskdrake/smbnfs_gtk.pm b/perl-install/diskdrake/smbnfs_gtk.pm
index 0cabb06f5..5dd63ef8d 100644
--- a/perl-install/diskdrake/smbnfs_gtk.pm
+++ b/perl-install/diskdrake/smbnfs_gtk.pm
@@ -18,7 +18,7 @@ sub main {
my ($kind) = $type eq 'smb' ? smb2kind() : nfs2kind();
$kind->check($in) or return;
- my $w = ugtk2->new('DiskDrake');
+ my $w = ugtk2->new(N("Partitionning"), icon => 'banner-part');
add_smbnfs($w->{window}, $kind);
$w->{rwindow}->set_default_size(400, 300) if $w->{rwindow}->can('set_default_size');