|
Lines 866-876
notification_tick(GtkWindow *nw, glong r
Link Here
|
| 866 |
void |
866 |
void |
| 867 |
set_notification_text(GtkWindow *nw, const char *summary, const char *body) |
867 |
set_notification_text(GtkWindow *nw, const char *summary, const char *body) |
| 868 |
{ |
868 |
{ |
| 869 |
char *str; |
869 |
char *str, *quoted; |
| 870 |
WindowData *windata = g_object_get_data(G_OBJECT(nw), "windata"); |
870 |
WindowData *windata = g_object_get_data(G_OBJECT(nw), "windata"); |
| 871 |
g_assert(windata != NULL); |
871 |
g_assert(windata != NULL); |
| 872 |
|
872 |
|
| 873 |
str = g_strdup_printf("<b><big>%s</big></b>", summary); |
873 |
quoted = g_markup_escape_text (summary, -1); |
|
|
874 |
str = g_strdup_printf("<b><big>%s</big></b>", quoted); |
| 875 |
g_free (quoted); |
| 876 |
|
| 874 |
gtk_label_set_markup(GTK_LABEL(windata->summary_label), str); |
877 |
gtk_label_set_markup(GTK_LABEL(windata->summary_label), str); |
| 875 |
g_free(str); |
878 |
g_free(str); |
| 876 |
|
879 |
|