summaryrefslogtreecommitdiff
path: root/frontends/gtk
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-12-01 19:19:25 +0000
committerVincent Sanders <vince@kyllikki.org>2019-12-01 19:22:06 +0000
commit38fb545e1b0f475e94185b4836ad293120b63fa2 (patch)
tree94a355dd4f9221fe278001acd61d0e433676c374 /frontends/gtk
parentb2f98e7092e929fb680309d21f754955f837461d (diff)
downloadnetsurf-38fb545e1b0f475e94185b4836ad293120b63fa2.tar.gz
netsurf-38fb545e1b0f475e94185b4836ad293120b63fa2.tar.bz2
add gtk icon resources for page information
Diffstat (limited to 'frontends/gtk')
-rw-r--r--frontends/gtk/res/netsurf.gresource.xml10
-rw-r--r--frontends/gtk/toolbar.c2
2 files changed, 11 insertions, 1 deletions
diff --git a/frontends/gtk/res/netsurf.gresource.xml b/frontends/gtk/res/netsurf.gresource.xml
index d9aa92119..a81500b68 100644
--- a/frontends/gtk/res/netsurf.gresource.xml
+++ b/frontends/gtk/res/netsurf.gresource.xml
@@ -66,6 +66,16 @@
<file>icons/hotlist-add.png</file>
<file>icons/hotlist-rmv.png</file>
<file>icons/search.png</file>
+ <file>icons/24x24/actions/page-info-insecure.png</file>
+ <file>icons/24x24/actions/page-info-internal.png</file>
+ <file>icons/24x24/actions/page-info-local.png</file>
+ <file>icons/24x24/actions/page-info-secure.png</file>
+ <file>icons/24x24/actions/page-info-warning.png</file>
+ <file>icons/48x48/actions/page-info-insecure.png</file>
+ <file>icons/48x48/actions/page-info-internal.png</file>
+ <file>icons/48x48/actions/page-info-local.png</file>
+ <file>icons/48x48/actions/page-info-secure.png</file>
+ <file>icons/48x48/actions/page-info-warning.png</file>
<file>languages</file>
<file>accelerators</file>
</gresource>
diff --git a/frontends/gtk/toolbar.c b/frontends/gtk/toolbar.c
index 5d7d3f461..31ccfed3d 100644
--- a/frontends/gtk/toolbar.c
+++ b/frontends/gtk/toolbar.c
@@ -320,7 +320,7 @@ make_toolbar_item_url_bar(bool sensitivity, bool edit)
}
nsgtk_entry_set_icon_from_icon_name(entry,
GTK_ENTRY_ICON_PRIMARY,
- NSGTK_STOCK_INFO);
+ "page-info-local");
if (edit) {
gtk_entry_set_width_chars(GTK_ENTRY(entry), 9);