Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=fvbe.git;a=commitdiff;h=dbfb61c363095cbe976953c0b344b17a6c15307a
commit dbfb61c363095cbe976953c0b344b17a6c15307a Author: James Buren <[email protected]> Date: Sun Apr 7 02:48:43 2013 -0500 langconfig: ask if the user wishes to skip all optional locale configuration, so as not to annoy them with a bunch of question popups that they don't care about. diff --git a/src/langconfig.c b/src/langconfig.c index f9a6d58..5649ac6 100644 --- a/src/langconfig.c +++ b/src/langconfig.c @@ -166,6 +166,7 @@ static bool langconfig_start(void) const char *var = vars[0]; char *locale = 0; size_t i = 1; + bool customizelocale = false; if(!langconfig_setup()) return false; @@ -187,6 +188,8 @@ static bool langconfig_start(void) return false; } + customizelocale = ui_dialog_yesno(_("Further Locale Customizations"),_("Do you wish to further customize your locale?\n"),true); + for( ; vars[i] != 0 ; ++i ) { var = vars[i]; @@ -197,6 +200,9 @@ static bool langconfig_start(void) return false; } + if(!customizelocale) + continue; + strfcpy(text,sizeof(text),_("Do you wish to select a locale for '%s'?\n"),var); if(!ui_dialog_yesno(_("Other Locale Selections"),text,true)) _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
