/[smeserver]/rpms/e-smith-base/sme8/e-smith-base-5.2.0-default_to_no_on_quit_console_app.patch
ViewVC logotype

Annotation of /rpms/e-smith-base/sme8/e-smith-base-5.2.0-default_to_no_on_quit_console_app.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Sun Jan 11 21:46:53 2015 UTC (9 years, 9 months ago) by stephdl
Branch: MAIN
CVS Tags: e-smith-base-5_2_0-96_el5_sme, e-smith-base-5_2_0-95_el5_sme, e-smith-base-5_2_0-97_el5_sme, e-smith-base-5_2_0-94_el5_sme, HEAD
* Sun Jan 11 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 5.2.0-94.sme
- When quiting the console app with unsaved changes set the default selected
- answer to NO  [SME: 8794]

1 stephdl 1.1 diff -Nur e-smith-base-5.2.0.old8794/root/usr/lib/perl5/site_perl/esmith/console/configure.pm e-smith-base-5.2.0.bz8794/root/usr/lib/perl5/site_perl/esmith/console/configure.pm
2     --- e-smith-base-5.2.0.old8794/root/usr/lib/perl5/site_perl/esmith/console/configure.pm 2015-01-11 22:42:26.101006730 +0100
3     +++ e-smith-base-5.2.0.bz8794/root/usr/lib/perl5/site_perl/esmith/console/configure.pm 2015-01-11 22:43:38.720558125 +0100
4     @@ -2080,6 +2080,7 @@
5     ($rc, $choice) = $console->yesno_page
6     (
7     title => gettext("*** THERE ARE UNACTIVATED CHANGES - QUIT ANYWAY? ***"),
8     + defaultno => 1,
9     text =>
10     gettext("Your configuration changes have been saved but have not yet been activated. This may result in unpredictable system behavior. We recommend that you complete the configuration process and activate the changes before exiting the console.") .
11     "\n\n" .
12     diff -Nur e-smith-base-5.2.0.old8794/root/usr/lib/perl5/site_perl/esmith/console/quitConsole.pm e-smith-base-5.2.0.bz8794/root/usr/lib/perl5/site_perl/esmith/console/quitConsole.pm
13     --- e-smith-base-5.2.0.old8794/root/usr/lib/perl5/site_perl/esmith/console/quitConsole.pm 2015-01-11 22:42:26.101006730 +0100
14     +++ e-smith-base-5.2.0.bz8794/root/usr/lib/perl5/site_perl/esmith/console/quitConsole.pm 2015-01-11 22:44:04.566530411 +0100
15     @@ -32,6 +32,7 @@
16     my ($rc, $choice) = $console->yesno_page
17     (
18     title => gettext("*** THERE ARE UNACTIVATED CHANGES - QUIT ANYWAY? ***"),
19     + defaultno => 1,
20     text =>
21     gettext("Your configuration changes have been saved but have not yet been activated. This may result in unpredictable system behavior. We recommend that you complete the configuration process and activate the changes before exiting the console.") .
22     "\n\n" .

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed