From b1a2f04f4f96fec86b2b925e6a6abe066870eefb Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 29 Sep 2008 17:52:19 +0000 Subject: show banner when not embedded --- perl-install/NEWS | 1 + perl-install/standalone/drakperm | 1 + 2 files changed, 2 insertions(+) (limited to 'perl-install') 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. -- cgit v1.2.1