[gnome-calendar/wip/pandusonu/week-view: 55/60] week-header: fix style
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/wip/pandusonu/week-view: 55/60] week-header: fix style
- Date: Fri, 2 Dec 2016 01:53:07 +0000 (UTC)
commit 3b885d28745a90c1d89cd32de712808f987ca9f2
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue Nov 22 17:04:37 2016 -0200
week-header: fix style
src/views/gcal-week-header.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/views/gcal-week-header.c b/src/views/gcal-week-header.c
index b1aa329..ed836a2 100644
--- a/src/views/gcal-week-header.c
+++ b/src/views/gcal-week-header.c
@@ -771,9 +771,11 @@ header_collapse (GcalWeekHeader *self)
if (hidden_events[i])
{
GtkWidget *widget;
+ gchar *other_events_label;
- widget = gtk_label_new (g_strdup_printf (g_dngettext (GETTEXT_PACKAGE, "Other event", "Other %d
events", hidden_events[i]),
- hidden_events[i]));
+ other_events_label = g_strdup_printf (g_dngettext (GETTEXT_PACKAGE, "Other event", "Other %d
events", hidden_events[i]),
+ hidden_events[i]);
+ widget = gtk_label_new (other_events_label);
gtk_widget_set_visible (widget, TRUE);
gtk_grid_attach (GTK_GRID (self->grid), widget, i, 4, 1, 1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]