~ubuntu-branches/ubuntu/quantal/elinks/quantal

« back to all changes in this revision

Viewing changes to src/config/dialogs.c

  • Committer: Bazaar Package Importer
  • Author(s): Siegfried-Angel Gevatter Pujals (RainCT)
  • Date: 2008-02-01 16:29:06 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20080201162906-xdourui5tyjva0al
Tags: 0.11.3-5ubuntu1
 
* Merge from Debian unstable (LP: #187936); remaining changes:
  - Add X-Ubuntu-Gettext-Domain to .desktop files.
  - debian/control: Maintainer field update.
* Improve the text in the .desktop file and add some translations.
 

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
 
33
33
 
34
34
static void
35
 
toggle_success_msgbox(void *dummy)
 
35
disable_success_msgbox(void *dummy)
36
36
{
37
37
        /* TODO: option_changed() */
38
 
        get_opt_bool("ui.success_msgbox") = !get_opt_bool("ui.success_msgbox");
 
38
        get_opt_bool("ui.success_msgbox") = 0;
39
39
        get_opt_rec(config_options, "ui.success_msgbox")->flags |= OPT_TOUCHED;
40
40
}
41
41
 
55
55
                                 config_file),
56
56
                        NULL, 2,
57
57
                        N_("~OK"), NULL, B_ENTER | B_ESC,
58
 
                        N_("~Do not show anymore"), toggle_success_msgbox, 0);
 
58
                        N_("~Do not show anymore"), disable_success_msgbox, 0);
59
59
                return;
60
60
        }
61
61