diff options
author | karl-qdh <karl@qdh.org.uk> | 2011-04-18 10:57:40 +0100 |
---|---|---|
committer | karl-qdh <karl@qdh.org.uk> | 2011-04-18 10:57:40 +0100 |
commit | 969771d64ab89a61a821420cb15f1bd04243c940 (patch) | |
tree | f91c5f07c6cb2d417c0f1bbae148f650ecbf7d2a | |
parent | 15f8a533ea5bd0c4ef989688b46286870a33200c (diff) | |
download | ayatana-indicator-datetime-969771d64ab89a61a821420cb15f1bd04243c940.tar.gz ayatana-indicator-datetime-969771d64ab89a61a821420cb15f1bd04243c940.tar.bz2 ayatana-indicator-datetime-969771d64ab89a61a821420cb15f1bd04243c940.zip |
indentation
-rw-r--r-- | src/indicator-datetime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/indicator-datetime.c b/src/indicator-datetime.c index 58053ef..db71e9d 100644 --- a/src/indicator-datetime.c +++ b/src/indicator-datetime.c @@ -1287,8 +1287,8 @@ new_appointment_item (DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, Dbu gtk_misc_set_alignment(GTK_MISC(mi_data->label), 0.0, 0.5); GtkStyle * style = gtk_widget_get_style(GTK_WIDGET(mi_data->label)); - PangoContext * context = gtk_widget_get_pango_context(GTK_WIDGET(mi_data->label)); - gint length = measure_string(style, context, "GGGGGGGGGGGGGGG"); // 15 char wide string max + PangoContext * context = gtk_widget_get_pango_context(GTK_WIDGET(mi_data->label)); + gint length = measure_string(style, context, "GGGGGGGGGGGGGGG"); // 15 char wide string max gtk_widget_set_size_request(GTK_WIDGET(mi_data->label), length, -1); // Set the min size in pixels gtk_label_set_ellipsize(GTK_LABEL(mi_data->label), PANGO_ELLIPSIZE_END); |