Revision 3226 src/notificationwindow.c

View differences:

notificationwindow.c
186 186
void notification_window_set_message(const gchar *message,
187 187
				     const gchar *submessage)
188 188
{
189
	gtk_label_set_text(GTK_LABEL(notify_window.msglabel), message);
190
	gtk_label_set_markup(GTK_LABEL(notify_window.sublabel), submessage);
189
	if (notify_window.window) {
190
		gtk_label_set_text(GTK_LABEL(notify_window.msglabel), message);
191
		gtk_label_set_markup(GTK_LABEL(notify_window.sublabel), submessage);
192
	}
191 193
}
192 194

  
193 195
void notification_window_close(void)

Also available in: Unified diff