aboutsummaryrefslogtreecommitdiff
path: root/shell/shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/shell.c')
-rw-r--r--shell/shell.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/shell/shell.c b/shell/shell.c
index 816f2c41..a97dd5da 100644
--- a/shell/shell.c
+++ b/shell/shell.c
@@ -373,6 +373,13 @@ static ShellNote *note_new(void)
gtk_container_add(GTK_CONTAINER(note->event_box), border_box);
gtk_widget_show(border_box);
+#if GTK_CHECK_VERSION(3, 0, 0)
+ GdkRGBA info_default_text_color = { .red = 1.0, .green = 1.0, .blue = 1.0, .alpha = 1.0 };
+ gtk_widget_override_color(note->label, GTK_STATE_FLAG_NORMAL, &info_default_text_color);
+#else
+ GdkColor info_default_text_color = { 0, 0xffff, 0xffff, 0xffff };
+ gtk_widget_modify_fg(note->label, GTK_STATE_NORMAL, &info_default_text_color);
+#endif
gtk_widget_modify_bg(border_box, GTK_STATE_NORMAL, &info_default_fill_color);
gtk_widget_modify_bg(note->event_box, GTK_STATE_NORMAL, &info_default_border_color);