~ubuntu-branches/ubuntu/utopic/w3m/utopic

« back to all changes in this revision

Viewing changes to rc.c

  • Committer: Bazaar Package Importer
  • Author(s): Tatsuya Kinoshita
  • Date: 2010-10-16 00:59:32 UTC
  • mfrom: (3.1.11 sid)
  • Revision ID: james.westby@ubuntu.com-20101016005932-aui289zvnxfokw2g
Tags: 0.5.2-10
* debian/patches/010_upstream.patch: Sync with the upstream development
  snapshot on 2010-10-11.
  - Better non-ascii handling. (closes: #138891, #313365)
  - Introduce mailto_options. (closes: #473780)
  - All elements have the id attribute. (closes: #573789)
  - Define ATTR_ROWSPAN_MAX to check rowspan. (LP: #131993, LP: #619500)
  - Update the man page. (closes: #595534)
  - Add a FILES section to the man page. (closes: #403634)
  - Mention the -I option in the man page. (closes: #398260, #530515)
* debian/patches/020_button.patch: Patch from upstream to support the
  button element.  It is discussed upstream and incomplete, but enough to
  login Launchpad. (LP: #628755, closes: #136810)
* debian/patches/040_maximum-cols.patch: Removed. (merged upstream)
* debian/control, debian/rules: Use autotools-dev (>= 20100122) to update
  config.guess and config.sub.
* debian/patches/020_config-guess.patch: Removed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: rc.c,v 1.115 2010/08/04 14:06:36 htrb Exp $ */
 
1
/* $Id: rc.c,v 1.116 2010/08/20 09:47:09 htrb Exp $ */
2
2
/* 
3
3
 * Initialization file etc.
4
4
 */
139
139
#define CMT_URIMETHODMAP N_("List of urimethodmap files")
140
140
#define CMT_EDITOR       N_("Editor")
141
141
#define CMT_MAILER       N_("Mailer")
 
142
#define CMT_MAILTO_OPTIONS N_("How to call Mailer for mailto URLs with options")
142
143
#define CMT_EXTBRZ       N_("External Browser")
143
144
#define CMT_EXTBRZ2      N_("Second External Browser")
144
145
#define CMT_EXTBRZ3      N_("Third External Browser")
323
324
};
324
325
#endif                          /* USE_COOKIE */
325
326
 
 
327
static struct sel_c mailtooptionsstr[] = {
 
328
#ifdef USE_W3MMAILER
 
329
    {N_S(MAILTO_OPTIONS_USE_W3MMAILER), N_("use internal mailer instead")},
 
330
#endif
 
331
    {N_S(MAILTO_OPTIONS_IGNORE), N_("ignore options and use only the address")},
 
332
    {N_S(MAILTO_OPTIONS_USE_MAILTO_URL), N_("use full mailto URL")},
 
333
    {0, NULL, NULL}
 
334
};
 
335
 
326
336
#ifdef USE_M17N
327
337
static wc_ces_list *display_charset_str = NULL;
328
338
static wc_ces_list *document_charset_str = NULL;
543
553
     CMT_URIMETHODMAP, NULL},
544
554
#endif
545
555
    {"editor", P_STRING, PI_TEXT, (void *)&Editor, CMT_EDITOR, NULL},
 
556
    {"mailto_options", P_INT, PI_SEL_C, (void *)&MailtoOptions,
 
557
     CMT_MAILTO_OPTIONS, (void *)mailtooptionsstr},
546
558
    {"mailer", P_STRING, PI_TEXT, (void *)&Mailer, CMT_MAILER, NULL},
547
559
    {"extbrowser", P_STRING, PI_TEXT, (void *)&ExtBrowser, CMT_EXTBRZ, NULL},
548
560
    {"extbrowser2", P_STRING, PI_TEXT, (void *)&ExtBrowser2, CMT_EXTBRZ2,