[gnome-software] Use a regular icon for the Software Updates Installed notification
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Use a regular icon for the Software Updates Installed notification
- Date: Sun, 14 Jun 2015 14:07:50 +0000 (UTC)
commit e610c9e7480caa5f5a4d218a05c4d00bab5f8e5c
Author: Kalev Lember <kalevlember gmail com>
Date: Tue Jun 9 13:59:08 2015 +0200
Use a regular icon for the Software Updates Installed notification
Previously we used a symbolic version of the gnome-software icon for the
Updates Installed notification and a regular, full colour icon for the
Updates Available notification.
This commit switches to full colour icons in both cases for consistency.
https://bugzilla.gnome.org/show_bug.cgi?id=750624
src/gs-update-monitor.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/gs-update-monitor.c b/src/gs-update-monitor.c
index 9b743eb..bc11605 100644
--- a/src/gs-update-monitor.c
+++ b/src/gs-update-monitor.c
@@ -131,7 +131,6 @@ show_installed_updates_notification (GsUpdateMonitor *monitor)
{
const gchar *message;
const gchar *title;
- _cleanup_object_unref_ GIcon *icon = NULL;
_cleanup_object_unref_ GNotification *notification = NULL;
_cleanup_object_unref_ PkResults *results = NULL;
@@ -158,8 +157,6 @@ show_installed_updates_notification (GsUpdateMonitor *monitor)
notification = g_notification_new (title);
g_notification_set_body (notification, message);
- icon = g_themed_icon_new ("gnome-software-symbolic");
- g_notification_set_icon (notification, icon);
if (pk_results_get_exit_code (results) == PK_EXIT_ENUM_SUCCESS) {
g_notification_add_button_with_target (notification, _("Review"), "app.set-mode", "s",
"updated");
g_notification_set_default_action_and_target (notification, "app.set-mode", "s", "updated");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]