diff options
-rw-r--r-- | plugins/a11y-keyboard/msd-a11y-keyboard-manager.c | 2 | ||||
-rw-r--r-- | plugins/xrandr/msd-xrandr-manager.c | 7 |
2 files changed, 3 insertions, 6 deletions
diff --git a/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c b/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c index af45b9b..32a317b 100644 --- a/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c +++ b/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c @@ -592,7 +592,6 @@ ax_slowkeys_warning_post_bubble (MsdA11yKeyboardManager *manager, manager->priv->notification = notify_notification_new (title, message, "preferences-desktop-accessibility"); - notify_notification_attach_to_status_icon (manager->priv->notification, manager->priv->status_icon); notify_notification_set_timeout (manager->priv->notification, NOTIFICATION_TIMEOUT * 1000); notify_notification_add_action (manager->priv->notification, @@ -730,7 +729,6 @@ ax_stickykeys_warning_post_bubble (MsdA11yKeyboardManager *manager, manager->priv->notification = notify_notification_new (title, message, "preferences-desktop-accessibility"); - notify_notification_attach_to_status_icon (manager->priv->notification, manager->priv->status_icon); notify_notification_set_timeout (manager->priv->notification, NOTIFICATION_TIMEOUT * 1000); notify_notification_add_action (manager->priv->notification, diff --git a/plugins/xrandr/msd-xrandr-manager.c b/plugins/xrandr/msd-xrandr-manager.c index 13a1b19..295f6ab 100644 --- a/plugins/xrandr/msd-xrandr-manager.c +++ b/plugins/xrandr/msd-xrandr-manager.c @@ -1086,10 +1086,9 @@ error_message (MsdXrandrManager *mgr, const char *primary_text, GError *error_to g_assert (error_to_display == NULL || secondary_text == NULL); if (priv->status_icon) - notification = notify_notification_new_with_status_icon (primary_text, - error_to_display ? error_to_display->message : secondary_text, - MSD_XRANDR_ICON_NAME, - priv->status_icon); + notification = notify_notification_new (primary_text, + error_to_display ? error_to_display->message : secondary_text, + gtk_status_icon_get_icon_name(priv->status_icon)); else notification = notify_notification_new (primary_text, error_to_display ? error_to_display->message : secondary_text, |