Mercurial > dillo_port1.3
changeset 834:9a0725437bf1
Added the show_tools dillorc option
author | corvid <corvid@lavabit.com> |
---|---|
date | Wed, 28 Jan 2009 14:25:17 -0300 |
parents | c50f3c64b023 |
children | 1c71a547cc35 |
files | dillorc src/prefs.c src/prefs.h src/ui.cc |
diffstat | 4 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/dillorc Wed Jan 28 08:51:05 2009 -0300 +++ b/dillorc Wed Jan 28 14:25:17 2009 -0300 @@ -189,6 +189,7 @@ #show_save=YES #show_stop=YES #show_bookmarks=YES +#show_tools=YES #show_filemenu=YES #show_clear_url=YES #show_url=YES
--- a/src/prefs.c Wed Jan 28 08:51:05 2009 -0300 +++ b/src/prefs.c Wed Jan 28 14:25:17 2009 -0300 @@ -105,6 +105,7 @@ DRC_TOKEN_SHOW_SAVE, DRC_TOKEN_SHOW_SEARCH, DRC_TOKEN_SHOW_STOP, + DRC_TOKEN_SHOW_TOOLS, DRC_TOKEN_SHOW_TOOLTIP, DRC_TOKEN_SHOW_URL, DRC_TOKEN_SMALL_ICONS, @@ -173,6 +174,7 @@ { "show_save", DRC_TOKEN_SHOW_SAVE }, { "show_search", DRC_TOKEN_SHOW_SEARCH }, { "show_stop", DRC_TOKEN_SHOW_STOP }, + { "show_tools", DRC_TOKEN_SHOW_TOOLS }, { "show_tooltip", DRC_TOKEN_SHOW_TOOLTIP }, { "show_url", DRC_TOKEN_SHOW_URL }, { "small_icons", DRC_TOKEN_SMALL_ICONS }, @@ -325,6 +327,9 @@ case DRC_TOKEN_SHOW_BOOKMARKS: prefs.show_bookmarks = (strcmp(value, "YES") == 0); break; + case DRC_TOKEN_SHOW_TOOLS: + prefs.show_tools = (strcmp(value, "YES") == 0); + break; case DRC_TOKEN_SHOW_FILEMENU: prefs.show_filemenu = (strcmp(value, "YES") == 0); break; @@ -478,6 +483,7 @@ prefs.show_save=TRUE; prefs.show_stop=TRUE; prefs.show_bookmarks=TRUE; + prefs.show_tools=TRUE; prefs.show_filemenu=TRUE; prefs.show_clear_url=TRUE; prefs.show_url=TRUE;