summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/logdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-03 11:28:19 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-03 11:28:19 +0000
commita2e0b6b0ef351c661e1d125a56a95d77d34d7d7d (patch)
tree2e0fca2e6115aff299358106be5ec166103da791 /perl-install/standalone/logdrake
parent3f154a9300d403ced12d42a8a9f1827b5ded64a0 (diff)
downloaddrakx-a2e0b6b0ef351c661e1d125a56a95d77d34d7d7d.tar
drakx-a2e0b6b0ef351c661e1d125a56a95d77d34d7d7d.tar.gz
drakx-a2e0b6b0ef351c661e1d125a56a95d77d34d7d7d.tar.bz2
drakx-a2e0b6b0ef351c661e1d125a56a95d77d34d7d7d.tar.xz
drakx-a2e0b6b0ef351c661e1d125a56a95d77d34d7d7d.zip
display "save" & "quit" button when run from the control center
Diffstat (limited to 'perl-install/standalone/logdrake')
-rwxr-xr-xperl-install/standalone/logdrake5
1 files changed, 2 insertions, 3 deletions
diff --git a/perl-install/standalone/logdrake b/perl-install/standalone/logdrake
index bb0fe3e0a..00ccaeaf5 100755
--- a/perl-install/standalone/logdrake
+++ b/perl-install/standalone/logdrake
@@ -126,7 +126,7 @@ my %toggle;
gtkadd($my_win->{window},
gtkpack_(Gtk2::VBox->new(0,0),
- if_(!$isExplain && !$::isEmbedded, 0, gtknew('Title1', label => N("A tool to monitor your logs"))),
+ if_(!$::isEmbedded, 0, gtknew('Title1', label => N("A tool to monitor your logs"))),
if_(!$isFile, 0, gtkpack__(Gtk2::VBox->new(0,2),
gtknew('Title2', label => N("Settings")),
# N("Show lines"),
@@ -159,7 +159,7 @@ gtkadd($my_win->{window},
!$isExplain ? (0, gtknew('Title2', label => N("Content of the file")),
1, create_scrolled_window($log_text)
) : (1, create_scrolled_window($log_text)),
- if_(!$isExplain, 0, gtkadd(gtkset_border_width(gtkset_layout(Gtk2::HButtonBox->new, 'end'), 5),
+ 0, gtkadd(gtkset_border_width(gtkset_layout(Gtk2::HButtonBox->new, 'end'), 5),
if_(!$isFile, gtksignal_connect(Gtk2::Button->new(N("Mail alert")),
clicked => sub {
eval { alert_config() };
@@ -174,7 +174,6 @@ gtkadd($my_win->{window},
gtksignal_connect(Gtk2::Button->new(N("Save")), clicked => \&save),
gtksignal_connect(Gtk2::Button->new($::isEmbedded ? N("Cancel") : N("Quit")), clicked => \&quit)
)
- )
)
);