Add another test with symbolic icons

This commit is contained in:
William Jon McCann 2011-03-15 00:09:25 -04:00
parent b73380b586
commit cdc6f37dd8
1 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ main (int argc, char *argv[])
n = notify_notification_new ("Software Updates Available", n = notify_notification_new ("Software Updates Available",
"Important updates for your apps are now available.", "Important updates for your apps are now available.",
"software-update-available"); "software-update-available-symbolic");
notify_notification_add_action (n, notify_notification_add_action (n,
"install", "install",
"Install now", "Install now",
@ -81,7 +81,7 @@ main (int argc, char *argv[])
if (!server_has_persistence ()) { if (!server_has_persistence ()) {
GtkStatusIcon *icon; GtkStatusIcon *icon;
g_message ("Server does not support persistence; using a status icon"); g_message ("Server does not support persistence; using a status icon");
icon = gtk_status_icon_new_from_icon_name ("software-update-available"); icon = gtk_status_icon_new_from_icon_name ("software-update-available-symbolic");
gtk_status_icon_set_tooltip_markup (icon, "<b>Software Updates Available</b>\nImportant updates for your apps are now available."); gtk_status_icon_set_tooltip_markup (icon, "<b>Software Updates Available</b>\nImportant updates for your apps are now available.");
gtk_status_icon_set_visible (icon, TRUE); gtk_status_icon_set_visible (icon, TRUE);
} else { } else {