aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-datetime.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-04-15 09:02:08 -0500
committerTed Gould <ted@gould.cx>2011-04-15 09:02:08 -0500
commitcf82ce1c56ecfab384896118d01ec241e32f5118 (patch)
tree4c14a095a12876fe5f387418ea8776a413b72237 /src/indicator-datetime.c
parenta8c851e11151258d090c037f1f2a712f8b647c70 (diff)
parent9f48d2fd048cdac443fb6f9db5153f375ffc1bd9 (diff)
downloadayatana-indicator-datetime-cf82ce1c56ecfab384896118d01ec241e32f5118.tar.gz
ayatana-indicator-datetime-cf82ce1c56ecfab384896118d01ec241e32f5118.tar.bz2
ayatana-indicator-datetime-cf82ce1c56ecfab384896118d01ec241e32f5118.zip
* Upstream Merge
* Ellipsize calendar entries that are too long (LP: #750671)
Diffstat (limited to 'src/indicator-datetime.c')
-rw-r--r--src/indicator-datetime.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/indicator-datetime.c b/src/indicator-datetime.c
index 1c05ff0..a992507 100644
--- a/src/indicator-datetime.c
+++ b/src/indicator-datetime.c
@@ -1285,6 +1285,7 @@ new_appointment_item (DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, Dbu
/* Label, probably a username, chat room or mailbox name */
mi_data->label = gtk_label_new(dbusmenu_menuitem_property_get(newitem, APPOINTMENT_MENUITEM_PROP_LABEL));
gtk_misc_set_alignment(GTK_MISC(mi_data->label), 0.0, 0.5);
+ gtk_label_set_ellipsize(GTK_LABEL(mi_data->label), PANGO_ELLIPSIZE_END);
gtk_box_pack_start(GTK_BOX(hbox), mi_data->label, TRUE, TRUE, 0);
gtk_widget_show(mi_data->label);