aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/main_proto_draw.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-05-01 18:03:46 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-05-01 18:03:46 +0000
commit0a4ab4b039e6cc6f0f8032b2caec5754d3969042 (patch)
treeb58558061ea33c077438cafb65217e643db1307f /gtk/main_proto_draw.c
parentedfab8e2aa070fef490d9df7a0cde6cf3b0e2a49 (diff)
downloadwireshark-0a4ab4b039e6cc6f0f8032b2caec5754d3969042.tar.gz
wireshark-0a4ab4b039e6cc6f0f8032b2caec5754d3969042.tar.bz2
wireshark-0a4ab4b039e6cc6f0f8032b2caec5754d3969042.zip
Force foreground when background is forced in expert info dialogs.
svn path=/trunk/; revision=25211
Diffstat (limited to 'gtk/main_proto_draw.c')
-rw-r--r--gtk/main_proto_draw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/main_proto_draw.c b/gtk/main_proto_draw.c
index 6125d6ea04..e2b3d711a6 100644
--- a/gtk/main_proto_draw.c
+++ b/gtk/main_proto_draw.c
@@ -1354,6 +1354,7 @@ GdkColor expert_color_chat = { 0, 0xcc00, 0xcc00, 0xe000 }; /* a pale bluegrey *
GdkColor expert_color_note = { 0, 0xa000, 0xff00, 0xff00 }; /* a bright turquoise */
GdkColor expert_color_warn = { 0, 0xff00, 0xff00, 0 }; /* yellow */
GdkColor expert_color_error = { 0, 0xff00, 0x5c00, 0x5c00 }; /* pale red */
+GdkColor expert_color_foreground = { 0, 0x0000, 0x0000, 0x0000 }; /* black */
GdkColor hidden_proto_item = { 0, 0x4400, 0x4400, 0x4400 }; /* gray */
void proto_draw_colors_init(void)
@@ -1366,6 +1367,7 @@ void proto_draw_colors_init(void)
get_color(&expert_color_note);
get_color(&expert_color_warn);
get_color(&expert_color_error);
+ get_color(&expert_color_foreground);
get_color(&hidden_proto_item);
colors_ok = TRUE;