[gnome-logs] Use monospace for all log text
- From: Jonathan Kang <jonathankang src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-logs] Use monospace for all log text
- Date: Tue, 11 Aug 2015 13:37:49 +0000 (UTC)
commit 3f4812ffe2bc83d24483b5e6eaf61b3a5fa97e5e
Author: Jonathan Kang <jonathan121537 gmail com>
Date: Tue Aug 11 15:36:43 2015 +0200
Use monospace for all log text
https://bugzilla.gnome.org/show_bug.cgi?id=752679
src/gl-eventviewrow.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gl-eventviewrow.c b/src/gl-eventviewrow.c
index d1d2c6a..8da5be1 100644
--- a/src/gl-eventviewrow.c
+++ b/src/gl-eventviewrow.c
@@ -223,6 +223,7 @@ gl_event_view_row_constructed (GObject *object)
context = gtk_widget_get_style_context (GTK_WIDGET (priv->category_label));
gtk_style_context_add_class (context, "dim-label");
+ gtk_style_context_add_class (context, "event-monospace");
gtk_label_set_xalign (GTK_LABEL (priv->category_label), 0);
gtk_grid_attach (GTK_GRID (grid), priv->category_label,
rtl ? 2 : 0, 0, 1, 1);
@@ -247,6 +248,7 @@ gl_event_view_row_constructed (GObject *object)
priv->time_label = gtk_label_new (time);
context = gtk_widget_get_style_context (GTK_WIDGET (priv->time_label));
gtk_style_context_add_class (context, "dim-label");
+ gtk_style_context_add_class (context, "event-monospace");
gtk_style_context_add_class (context, "event-time");
gtk_widget_set_halign (priv->time_label, GTK_ALIGN_END);
gtk_widget_set_hexpand (priv->time_label, TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]