ayatana-commits team mailing list archive
-
ayatana-commits team
-
Mailing list archive
-
Message #03574
[Merge] lp:~karl-qdh/indicator-datetime/appointmentwidth into lp:indicator-datetime
Karl Lattimer has proposed merging lp:~karl-qdh/indicator-datetime/appointmentwidth into lp:indicator-datetime.
Requested reviews:
Ted Gould (ted)
Related bugs:
Bug #750671 in Indicator Date and Time: "Calendar entry's title should be trimmed in the Calendar"
https://bugs.launchpad.net/indicator-datetime/+bug/750671
For more details, see:
https://code.launchpad.net/~karl-qdh/indicator-datetime/appointmentwidth/+merge/57871
fixes long appointment items
--
https://code.launchpad.net/~karl-qdh/indicator-datetime/appointmentwidth/+merge/57871
Your team ayatana-commits is subscribed to branch lp:indicator-datetime.
=== modified file 'src/indicator-datetime.c'
--- src/indicator-datetime.c 2011-04-13 19:32:18 +0000
+++ src/indicator-datetime.c 2011-04-15 13:23:28 +0000
@@ -1285,6 +1285,7 @@
/* 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);
Follow ups