[eog] EogWindow: Also update window title after saving



commit e9cb288b025af3da24315f2b5724fa3bf388650b
Author: Felipe Ortiz <faortizc gmail com>
Date:   Sat Mar 15 12:24:16 2014 +0100

    EogWindow: Also update window title after saving
    
    Makes the window title match the displayed image's filename again.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=720340

 src/eog-window.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/eog-window.c b/src/eog-window.c
index c5fdd36..4da941e 100644
--- a/src/eog-window.c
+++ b/src/eog-window.c
@@ -2847,6 +2847,8 @@ eog_job_save_cb (EogJobSave *job, gpointer user_data)
        /* check if job contains any error */
        if (EOG_JOB (job)->error == NULL) {
                update_status_bar (window);
+                gtk_window_set_title (GTK_WINDOW (window),
+                                      eog_image_get_caption (job->current_image));
 
                gtk_action_set_sensitive (action_save, FALSE);
        } else {


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