]> git.armaanb.net Git - chorizo.git/commitdiff
favicon: Initial size should be close to target size
authorPeter Hofmann <scm@uninformativ.de>
Mon, 27 Apr 2020 16:21:54 +0000 (18:21 +0200)
committerPeter Hofmann <scm@uninformativ.de>
Mon, 27 Apr 2020 16:21:54 +0000 (18:21 +0200)
GTK_ICON_SIZE_SMALL_TOOLBAR is 16px, according to the docs.

browser.c

index b7ff00242ecfcf7818efb1aa730a1928bf1e13ca..6735418a8ebfa176088231d862d325f00c3255e6 100644 (file)
--- a/browser.c
+++ b/browser.c
@@ -239,7 +239,7 @@ client_new(const gchar *uri, WebKitWebView *related_wv, gboolean show)
     gtk_box_pack_start(GTK_BOX(c->vbox), c->location, FALSE, FALSE, 0);
     gtk_box_pack_start(GTK_BOX(c->vbox), c->web_view, TRUE, TRUE, 0);
 
-    c->tabicon = gtk_image_new_from_icon_name("text-html", GTK_ICON_SIZE_LARGE_TOOLBAR);
+    c->tabicon = gtk_image_new_from_icon_name("text-html", GTK_ICON_SIZE_SMALL_TOOLBAR);
 
     c->tablabel = gtk_label_new(__NAME__);
     gtk_label_set_ellipsize(GTK_LABEL(c->tablabel), PANGO_ELLIPSIZE_END);