summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-29 17:52:19 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-29 17:52:19 +0000
commitb1a2f04f4f96fec86b2b925e6a6abe066870eefb (patch)
tree43a0985fc883822e4eebbbb44a28bfc0b847d2d3
parent020ee7687e3f2f06740ec4007e3c7ebdcdf061b3 (diff)
downloaddrakx-b1a2f04f4f96fec86b2b925e6a6abe066870eefb.tar
drakx-b1a2f04f4f96fec86b2b925e6a6abe066870eefb.tar.gz
drakx-b1a2f04f4f96fec86b2b925e6a6abe066870eefb.tar.bz2
drakx-b1a2f04f4f96fec86b2b925e6a6abe066870eefb.tar.xz
drakx-b1a2f04f4f96fec86b2b925e6a6abe066870eefb.zip
show banner when not embedded
-rw-r--r--perl-install/NEWS1
-rwxr-xr-xperl-install/standalone/drakperm1
2 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index f1398aab3..bc10568b0 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,4 +1,5 @@
- drakperm:
+ o show banner when not embedded
o use Gtk+2's FileChooserDialog
Version 11.59 - 29 September 2008
diff --git a/perl-install/standalone/drakperm b/perl-install/standalone/drakperm
index 23a6a2dd4..3e0e7a1bb 100755
--- a/perl-install/standalone/drakperm
+++ b/perl-install/standalone/drakperm
@@ -106,6 +106,7 @@ $permList->signal_connect(button_press_event => sub {
my $tips = Gtk2::Tooltips->new;
$W->add(gtknew('VBox', spacing => 5, children => [
+ if_(!$::isEmbedded, 0, Gtk2::Banner->new('/usr/share/mcc/themes/default/drakperm-mdk.png', N("Permissions"))),
0, gtknew('Label_Left', text => N("Here you can see files to use in order to fix permissions, owners, and groups via msec.\nYou can also edit your own rules which will owerwrite the default rules."), alignment => [ 0.5, 0 ]),
1, gtknew('VBox', border_width => 0, children => [
0, gtknew('Label_Left', text => N("The current security level is %s.