remove theme option

This commit is contained in:
Vincent Sanders 2016-03-08 17:48:16 +00:00
parent 1e2584aa14
commit 68b1d2da55
3 changed files with 2 additions and 6 deletions

View File

@ -271,7 +271,7 @@ static nserror nsgtk_init(int argc, char** argv, char **respath)
&arrow_down_pixbuf); &arrow_down_pixbuf);
if (error != NSERROR_OK) { if (error != NSERROR_OK) {
arrow_down_pixbuf = gdk_pixbuf_new(GDK_COLORSPACE_RGB, arrow_down_pixbuf = gdk_pixbuf_new(GDK_COLORSPACE_RGB,
false, 8, 16, 16); false, 8, 8, 32);
} }
/* Toolbar inicies file */ /* Toolbar inicies file */

View File

@ -68,8 +68,5 @@ NSOPTION_STRING(hotlist_path, NULL)
/* Developer information viewer display method */ /* Developer information viewer display method */
NSOPTION_INTEGER(developer_view, 0) NSOPTION_INTEGER(developer_view, 0)
/* currently selected theme */
NSOPTION_INTEGER(current_theme, 0)
/* where tabs are positioned */ /* where tabs are positioned */
NSOPTION_INTEGER(position_tab, 0) NSOPTION_INTEGER(position_tab, 0)

View File

@ -185,8 +185,7 @@ nsgtk_theme_image_default(nsgtk_toolbar_button tbbutton, GtkIconSize iconsize)
#undef BUTTON_IMAGE #undef BUTTON_IMAGE
case HISTORY_BUTTON: case HISTORY_BUTTON:
image = GTK_IMAGE(nsgtk_image_new_from_pixbuf_icon(arrow_down_pixbuf, image = GTK_IMAGE(gtk_image_new_from_pixbuf(arrow_down_pixbuf));
iconsize));
break; break;
default: default: