mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-26 03:02:17 -05:00
Limit the number of URLs to keep and add GUI options for it
This commit is contained in:
parent
dd7a82e3b2
commit
ce75a6034f
@ -744,7 +744,7 @@ load_config (void)
|
|||||||
prefs.input_tray_priv = prefs.input_tray_hilight = 1;
|
prefs.input_tray_priv = prefs.input_tray_hilight = 1;
|
||||||
prefs.autodccsend = 2; /* browse mode */
|
prefs.autodccsend = 2; /* browse mode */
|
||||||
prefs.url_grabber = 1;
|
prefs.url_grabber = 1;
|
||||||
prefs.url_grabber_limit = 0; /* 0 means unlimited for backcompat */
|
prefs.url_grabber_limit = 50; /* 0 means unlimited */
|
||||||
prefs.text_search_follow = 1;
|
prefs.text_search_follow = 1;
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
prefs.identd = 1;
|
prefs.identd = 1;
|
||||||
|
@ -489,6 +489,10 @@ static const setting logging_settings[] =
|
|||||||
{ST_LABEL, N_("See the strftime manpage for details.")},
|
{ST_LABEL, N_("See the strftime manpage for details.")},
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
{ST_HEADER, N_("URL Grabber"),0,0,0},
|
||||||
|
{ST_TOGGLE, N_("Enable URL grabber"), P_OFFINTNL(url_grabber), 0, 0, 2},
|
||||||
|
{ST_NUMBER, N_("Maximum number of URLs:"), P_OFFINTNL(url_grabber_limit), 0, 0, 9999},
|
||||||
|
|
||||||
{ST_END, 0, 0, 0, 0, 0}
|
{ST_END, 0, 0, 0, 0, 0}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user