[sysprof/wip/chergert/sysprof-3] libsysprof-ui: style improvements
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof/wip/chergert/sysprof-3] libsysprof-ui: style improvements
- Date: Thu, 23 May 2019 06:29:36 +0000 (UTC)
commit 35ce38aef0398da3cace219a4db5ffe60a24c815
Author: Christian Hergert <chergert redhat com>
Date: Wed May 22 23:29:17 2019 -0700
libsysprof-ui: style improvements
src/libsysprof-ui/sysprof-cell-renderer-duration.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/libsysprof-ui/sysprof-cell-renderer-duration.c
b/src/libsysprof-ui/sysprof-cell-renderer-duration.c
index b0fc704..fe44219 100644
--- a/src/libsysprof-ui/sysprof-cell-renderer-duration.c
+++ b/src/libsysprof-ui/sysprof-cell-renderer-duration.c
@@ -134,7 +134,7 @@ sysprof_cell_renderer_duration_render (GtkCellRenderer *renderer,
g_autofree gchar *fmt = _sysprof_format_duration (priv->end_time - priv->begin_time);
if (str->len)
- g_string_append_c (str, ' ');
+ g_string_append (str, " — ");
off = str->len;
g_string_append (str, fmt);
}
@@ -186,8 +186,6 @@ sysprof_cell_renderer_duration_render (GtkCellRenderer *renderer,
if (state & GTK_CELL_RENDERER_SELECTED)
rgba.alpha = 0.6;
}
- else if ((state & GTK_CELL_RENDERER_SELECTED) == 0)
- rgba.alpha = 0.4;
gdk_cairo_set_source_rgba (cr, &rgba);
pango_cairo_show_layout (cr, layout);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]