diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-08-03 11:28:19 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-08-03 11:28:19 +0000 |
commit | a2e0b6b0ef351c661e1d125a56a95d77d34d7d7d (patch) | |
tree | 2e0fca2e6115aff299358106be5ec166103da791 | |
parent | 3f154a9300d403ced12d42a8a9f1827b5ded64a0 (diff) | |
download | drakx-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
-rw-r--r-- | perl-install/NEWS | 2 | ||||
-rwxr-xr-x | perl-install/standalone/logdrake | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index 7878bc709..f7ce30b1f 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -2,6 +2,8 @@ - drakbug: o report version of drakbug - list iwl3945/iwl4965 modules (and unlist ipw3945) +- logdrake: + o display "save" & "quit" button when run from the control center Version 10.4.156 - 02 August 2007, by Thierry Vignaud 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) ) - ) ) ); |