changeset 2739:3897bcd54db2

rm show_url preference It hasn't worked for a long time, no one seems to miss it, and there isn't any compelling case for making the effort to make it work. http://lists.auriga.wearlab.de/pipermail/dillo-dev/2012-December/009704.html
author corvid <corvid@lavabit.com>
date Mon, 31 Dec 2012 20:49:32 +0000
parents a17f921c4327
children 895e00167b07
files dillorc src/prefs.c src/prefs.h src/prefsparser.cc src/ui.cc
diffstat 5 files changed, 0 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/dillorc	Mon Dec 31 20:24:41 2012 +0000
+++ b/dillorc	Mon Dec 31 20:49:32 2012 +0000
@@ -259,7 +259,6 @@
 #show_tools=YES
 #show_filemenu=YES
 #show_clear_url=YES
-#show_url=YES
 #show_search=YES
 #show_help=YES
 #show_progress_box=YES
--- a/src/prefs.c	Mon Dec 31 20:24:41 2012 +0000
+++ b/src/prefs.c	Mon Dec 31 20:49:32 2012 +0000
@@ -96,7 +96,6 @@
    prefs.show_stop = TRUE;
    prefs.show_tools = TRUE;
    prefs.show_tooltip = TRUE;
-   prefs.show_url = TRUE;
    prefs.small_icons = FALSE;
    prefs.start_page = a_Url_new(PREFS_START_PAGE, NULL);
    prefs.theme = dStrdup(PREFS_THEME);
--- a/src/prefs.h	Mon Dec 31 20:24:41 2012 +0000
+++ b/src/prefs.h	Mon Dec 31 20:49:32 2012 +0000
@@ -68,7 +68,6 @@
    bool_t show_tools;
    bool_t show_filemenu;
    bool_t show_clear_url;
-   bool_t show_url;
    bool_t show_search;
    bool_t show_help;
    bool_t show_progress_box;
--- a/src/prefsparser.cc	Mon Dec 31 20:24:41 2012 +0000
+++ b/src/prefsparser.cc	Mon Dec 31 20:49:32 2012 +0000
@@ -106,7 +106,6 @@
       { "show_stop", &prefs.show_stop, PREFS_BOOL },
       { "show_tools", &prefs.show_tools, PREFS_BOOL },
       { "show_tooltip", &prefs.show_tooltip, PREFS_BOOL },
-      { "show_url", &prefs.show_url, PREFS_BOOL },
       { "small_icons", &prefs.small_icons, PREFS_BOOL },
       { "start_page", &prefs.start_page, PREFS_URL },
       { "theme", &prefs.theme, PREFS_STRING },
@@ -237,9 +236,4 @@
    // restore the old numeric locale
    setlocale(LC_NUMERIC, oldLocale);
    dFree(oldLocale);
-
-   if (!prefs.show_url) {
-      MSG_WARN("Reenabling show_url preference (UI requires it currently).\n");
-      prefs.show_url = true;
-   }
 }
--- a/src/ui.cc	Mon Dec 31 20:24:41 2012 +0000
+++ b/src/ui.cc	Mon Dec 31 20:49:32 2012 +0000
@@ -947,8 +947,6 @@
       Tools->hide();
    if ( !prefs.show_clear_url )
       Clear->hide();
-   if ( !prefs.show_url )
-      Location->hide();
    if ( !prefs.show_search )
       Search->hide();
    if ( !prefs.show_help )