tower_window = hildon_stackable_window_new ();
- if (g_str_has_prefix (details->fields[FieldDedication],
- "S "))
- {
- /* FIXME: This needs to be cleverer, because we can have
- * e.g. "S Peter and S Paul".
- * May have to use regexps.
- * Reallocation in general even when unchanged is okay,
- * because it's the common case (most towers are S Something)
- */
-
- /* FIXME: Since we're passing this in as markup,
- * we need to escape the strings.
- */
-
- str = g_strdup_printf("S<sup>t</sup> %s, %s",
- details->fields[FieldDedication]+2,
- details->fields[FieldPlace]);
-
- }
- else
- {
- str = g_strdup_printf("%s, %s",
- details->fields[FieldDedication],
- details->fields[FieldPlace]);
- }
+ str = g_strdup_printf("%s, %s",
+ details->fields[FieldDedication],
+ details->fields[FieldPlace]);
hildon_window_set_markup (HILDON_WINDOW (tower_window),
str);