aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-04-15 08:59:50 -0500
committerTed Gould <ted@gould.cx>2011-04-15 08:59:50 -0500
commit9f48d2fd048cdac443fb6f9db5153f375ffc1bd9 (patch)
tree074c82e5b162cc6bba03eb803c0a308ff8af4391 /src
parentb5bb58568b4ddd555c885b9f32fd9977b64c8b8a (diff)
parent446385cf45b3702fba437dfbd1d0740e72740b36 (diff)
downloadayatana-indicator-datetime-9f48d2fd048cdac443fb6f9db5153f375ffc1bd9.tar.gz
ayatana-indicator-datetime-9f48d2fd048cdac443fb6f9db5153f375ffc1bd9.tar.bz2
ayatana-indicator-datetime-9f48d2fd048cdac443fb6f9db5153f375ffc1bd9.zip
Short appointment names
Diffstat (limited to 'src')
-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);