[gnome-settings-daemon] wacom: Set input-tablet icon on all wacom notifications



commit 90bc1c93433b26d3aeac469c3779a577f80f4ec0
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Dec 16 14:17:50 2013 +0100

    wacom: Set input-tablet icon on all wacom notifications
    
    This gives a better clue of what's the notification about than the
    default icon when looking over the notification area.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=720527

 plugins/wacom/gsd-wacom-manager.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plugins/wacom/gsd-wacom-manager.c b/plugins/wacom/gsd-wacom-manager.c
index 3e4ef43..0744721 100644
--- a/plugins/wacom/gsd-wacom-manager.c
+++ b/plugins/wacom/gsd-wacom-manager.c
@@ -1012,7 +1012,8 @@ notify_unknown_device (GsdWacomManager *manager, const gchar *device_name)
         NotifyNotification *notification;
 
         msg_body = g_strdup_printf (_("The \"%s\" tablet may not work as expected."), device_name);
-        notification = notify_notification_new (_("Unknown Tablet Connected"), msg_body, NULL);
+        notification = notify_notification_new (_("Unknown Tablet Connected"), msg_body,
+                                                "input-tablet");
         notify_notification_set_timeout (notification, UNKNOWN_DEVICE_NOTIFICATION_TIMEOUT);
         notify_notification_set_urgency (notification, NOTIFY_URGENCY_NORMAL);
         notify_notification_set_app_name (notification, _("Wacom Settings"));
@@ -1637,8 +1638,7 @@ wacom_device_calibration_data_update (GsdWacomDeviceCalibration *data)
                                     gsd_wacom_device_get_name (data->device));
         data->calibration_notification = notify_notification_new (_("Calibration needed"),
                                                                   msg_body,
-                                                                  NULL);
-
+                                                                  "input-tablet");
         notify_notification_set_app_name (data->calibration_notification,
                                           _("Wacom Settings"));
         notify_notification_set_timeout (data->calibration_notification,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]