month-cell: show +X in overflow label

Instead of "Other X Events".
This commit is contained in:
Georges Basile Stavracas Neto
2017-11-11 18:15:18 -02:00
parent b5ad149261
commit 2a11959bdd
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -62,12 +62,12 @@
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="spacing">6</property>
<child type="center">
<child>
<object class="GtkLabel" id="overflow_label">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="ellipsize">end</property>
<property name="xalign">0.0</property>
</object>
</child>
</object>
+1 -1
View File
@@ -563,7 +563,7 @@ gcal_month_cell_set_overflow (GcalMonthCell *self,
self->n_overflow = n_overflow;
text = g_strdup_printf (g_dngettext (GETTEXT_PACKAGE, "Other event", "Other %d events", n_overflow), n_overflow);
text = g_strdup_printf ("+%d", n_overflow);
gtk_label_set_text (GTK_LABEL (self->overflow_label), text);
}