summaryrefslogtreecommitdiffstats
path: root/surf.c
diff options
context:
space:
mode:
Diffstat (limited to 'surf.c')
-rw-r--r--surf.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/surf.c b/surf.c
index 729151f..9a67c04 100644
--- a/surf.c
+++ b/surf.c
@@ -180,8 +180,6 @@ drawindicator(Client *c) {
GtkWidget *w;
gint width;
GdkGC *gc;
- GdkColor red = { 65535,65535,0,0 };
- GdkColor green = { 65535,0,65535,0 };
gchar *uri;
@@ -192,9 +190,9 @@ drawindicator(Client *c) {
gc = gdk_gc_new(w->window);
if(strstr(uri, "https://") == uri)
- gdk_gc_set_rgb_fg_color(gc, &green);
+ gdk_gc_set_rgb_fg_color(gc, &progress_trust);
else
- gdk_gc_set_rgb_fg_color(gc, &red);
+ gdk_gc_set_rgb_fg_color(gc, &progress);
gdk_draw_rectangle(w->window,
w->style->bg_gc[GTK_WIDGET_STATE(w)],
TRUE,
href='/surf/commit/surf.c?id=68813b3a4640dcfcbe002a1ff5803f04b9c50c06&follow=1'>Data: is part of the browser too.Gravatar Christoph Lohmann 1-0/+1 2015-01-19file:// should be handled in surf too.Gravatar Christoph Lohmann 1-0/+1 2015-01-19Remove the debugging from the testing.Gravatar Christoph Lohmann 1-1/+0 2015-01-19Add some description for the plumb feature.Gravatar Christoph Lohmann 1-0/+3 2015-01-19Add plumbing functionality.Gravatar Christoph Lohmann 2-2/+28 2015-01-18Add a comment about how the styles are iterated.Gravatar Christoph Lohmann 1-0/+4 2015-01-18My CMD was too short. :OGravatar Christoph Lohmann 1-1/+1 2015-01-17Add the manpage changes for the disk cache support.Gravatar Christoph Lohmann 1-1/+7 2015-01-17Adding disk cache support for soup.Gravatar Christoph Lohmann 2-9/+40 2015-01-17Fix extra newline, and add -g where other switches are forwarded.Gravatar Ben Woolley 1-1/+3 2015-01-17Newer libc want _DEFAULT_SOURCE.Gravatar Christoph Lohmann 1-1/+1 2015-01-17Major styles update.Gravatar Christoph Lohmann 3-11/+84 2015-01-02Fix a typo in surf manual.Gravatar Jakukyo Friel 1-1/+1 2014-09-28Minor style change.Gravatar Christoph Lohmann 1-1/+1 2014-09-28Make »Copy image address« work.Gravatar Christoph Lohmann 1-3/+10 2014-08-07Mention xdotool in SEE ALSO too.Gravatar Christoph Lohmann 1-1/+2 2014-08-07Fix the manpage about xid.Gravatar Christoph Lohmann 1-1/+3