Changeset 8359 for trunk/AWTI

Show
Ignore:
Timestamp:
03/02/12 16:44:38 (4 months ago)
Author:
westram
Message:
  • added 'Never ask again' switch to most modal question dialogs. This is a workaround to make it possible to work with macros where modal questions are used. See also #179
    • added unique IDs to all calls to aw_question / AW_repeated_question::get_answer
    • replaced most calls to aw_popup_ok with aw_message (most of them only worked-around the non-standard way of EDIT4 to show aw_message)
  • added 'Reactivate questions' to all properties menus
  • hardcoded unused default-params from aw_ask_sure, aw_popup_ok + aw_popup_exit
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/AWTI/AWTI_import.cxx

    r8355 r8359  
    747747                                                "    or a long comment in a sequence\n", file, line); 
    748748 
    749                 switch (aw_question(msg, "Continue Reading,Continue Reading (Never ask again),Abort")) { 
     749                switch (aw_question("import_long_lines", msg, "Continue Reading,Continue Reading (Never ask again),Abort")) { 
    750750                    case 0: 
    751751                        max_line *= 2; 
     
    11251125 
    11261126        if (ask_generate_names) { 
    1127             if (aw_question("You may generate short names using the full_name and accession entry of the species", 
     1127            if (aw_question("generate_short_names", 
     1128                            "You may generate short names using the full_name and accession entry of the species", 
    11281129                            "Generate new short names (recommended),Use found names")==0) 
    11291130            {