summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-07-19 13:24:01 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-07-19 13:24:01 +0000
commitda4d0440e4baf1cea30530a261c95dc01389b890 (patch)
tree807b47222b562ce41cf8d74524ccc1d188898d4c /perl-install
parent581218934d9a4c912fc67b65024bbffb10b92cc8 (diff)
downloaddrakx-backup-do-not-use-da4d0440e4baf1cea30530a261c95dc01389b890.tar
drakx-backup-do-not-use-da4d0440e4baf1cea30530a261c95dc01389b890.tar.gz
drakx-backup-do-not-use-da4d0440e4baf1cea30530a261c95dc01389b890.tar.bz2
drakx-backup-do-not-use-da4d0440e4baf1cea30530a261c95dc01389b890.tar.xz
drakx-backup-do-not-use-da4d0440e4baf1cea30530a261c95dc01389b890.zip
do not draw a border around the main window while embedded
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/harddrake21
-rwxr-xr-xperl-install/standalone/printerdrake1
2 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2
index 4a448ee08..10ca57045 100755
--- a/perl-install/standalone/harddrake2
+++ b/perl-install/standalone/harddrake2
@@ -238,6 +238,7 @@ $in = 'interactive'->vnew('su'); #require_root_capability();
# Build the gui
add_icon_path('/usr/share/pixmaps/harddrake2/');
+$::noborderWhenEmbedded = 1;
$w = ugtk2->new(N("Harddrake2"));
# fake diagnostics pragma:
local $::main_window = $w->{real_window};
diff --git a/perl-install/standalone/printerdrake b/perl-install/standalone/printerdrake
index 2762126f5..be0716c79 100755
--- a/perl-install/standalone/printerdrake
+++ b/perl-install/standalone/printerdrake
@@ -113,6 +113,7 @@ my $stringsearch = '';
sub HelpSystem() { exec("drakhelp --id printerdrake") unless fork() }
+$::noborderWhenEmbedded = 1;
$us->{wnd} = ugtk2->new(N("%s Printer Management Tool", $distroname) . " " . $us->{VERSION});
gtkset_size_request($us->{wnd}{rwindow}, 660, 460);