summary refs log tree commit diff stats
path: root/src/fe-gtk/setup.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-09-29 01:54:11 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-09-29 01:54:11 +0200
commitce75a6034f808841a249352f362676ce2c6270cb (patch)
treee0ab84497b8755e07ad44db01e2061d4fafef457 /src/fe-gtk/setup.c
parentdd7a82e3b2379bf18efee58683be94b213bd76df (diff)
Limit the number of URLs to keep and add GUI options for it
Diffstat (limited to 'src/fe-gtk/setup.c')
-rw-r--r--src/fe-gtk/setup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fe-gtk/setup.c b/src/fe-gtk/setup.c
index e2ec7fd8..907218b7 100644
--- a/src/fe-gtk/setup.c
+++ b/src/fe-gtk/setup.c
@@ -489,6 +489,10 @@ static const setting logging_settings[] =
 	{ST_LABEL,	N_("See the strftime manpage for details.")},
 #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}
 };