[nautilus] progress-ui-handler: remove redundant code



commit a9a7ef99530273d3f99fc1a76c70a27318c7d1b5
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sat Nov 29 10:38:46 2014 -0800

    progress-ui-handler: remove redundant code
    
    Notifications are already dismissed when activated, so don't do this
    manually here.

 src/nautilus-progress-ui-handler.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/nautilus-progress-ui-handler.c b/src/nautilus-progress-ui-handler.c
index b98029b..645a0f0 100644
--- a/src/nautilus-progress-ui-handler.c
+++ b/src/nautilus-progress-ui-handler.c
@@ -79,9 +79,6 @@ notification_show_details_cb (GSimpleAction *action,
                              gpointer       user_data)
 {
        NautilusProgressUIHandler *self = user_data;
-
-       g_application_withdraw_notification (g_application_get_default (),
-                                            "progress");
        gtk_window_present (GTK_WINDOW (self->priv->progress_window));
 }
 


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