summaryrefslogtreecommitdiff
path: root/beos
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-09-02 14:17:09 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2013-09-02 14:17:09 +0100
commit5c7ca39ada083e74ba93549efe71c67c906d91bc (patch)
treec9254cc3fe6a0790215523654f66a8f366e97b3e /beos
parent28a948bd32bee735f571ae7f297adb69b289d8ba (diff)
downloadnetsurf-5c7ca39ada083e74ba93549efe71c67c906d91bc.tar.gz
netsurf-5c7ca39ada083e74ba93549efe71c67c906d91bc.tar.bz2
Remove tree_url_node module. Had to disable treeview scanning in amiga and cocoa front ends. Amiga front end very likely broken.
Diffstat (limited to 'beos')
-rw-r--r--beos/treeview.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/beos/treeview.cpp b/beos/treeview.cpp
index 4728995ad..f3d3d356b 100644
--- a/beos/treeview.cpp
+++ b/beos/treeview.cpp
@@ -26,7 +26,6 @@
extern "C" {
#include "utils/config.h"
#include "desktop/tree.h"
-#include "desktop/tree_url_node.h"
}
const char tree_directory_icon_name[] = "directory.png";
@@ -34,23 +33,3 @@ const char tree_content_icon_name[] = "content.png";
-
-/**
- * Translates a content_type to the name of a respective icon
- *
- * \param content_type content type
- * \param buffer buffer for the icon name
- */
-void tree_icon_name_from_content_type(char *buffer, content_type type)
-{
- // TODO: design/acquire icons
- switch (type) {
- case CONTENT_HTML:
- case CONTENT_TEXTPLAIN:
- case CONTENT_CSS:
- case CONTENT_IMAGE:
- default:
- sprintf(buffer, tree_content_icon_name);
- break;
- }
-}