summaryrefslogtreecommitdiff
path: root/surf.c
diff options
context:
space:
mode:
authorEnno Boland (tox) <tox@s01.de>2009-09-07 11:02:26 +0200
committerEnno Boland (tox) <tox@s01.de>2009-09-07 11:02:26 +0200
commit03f0a3baf5a844dc44aa5c145f1dd5d12c56ad07 (patch)
tree9d5d52c0f1122da1d146ef578ac5b8a534b6a8f9 /surf.c
parent91ca224af21a008512081a7868ada2479d5d9231 (diff)
downloadsurf-03f0a3baf5a844dc44aa5c145f1dd5d12c56ad07.tar.gz
surf-03f0a3baf5a844dc44aa5c145f1dd5d12c56ad07.tar.bz2
surf-03f0a3baf5a844dc44aa5c145f1dd5d12c56ad07.zip
moving color definitions to config.h
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,