[Xfce4-commits] <ristretto:ristretto-0.3> Clear tooltip if image is closed

Stephan Arts noreply at xfce.org
Sat Mar 3 21:34:03 CET 2012


Updating branch refs/heads/ristretto-0.3
         to 81defc54001ac65dd3f955bb8206fb23542a70e9 (commit)
       from f5ddfd3a9ea15fc16904390c6b7bfb2ea9614e4c (commit)

commit 81defc54001ac65dd3f955bb8206fb23542a70e9
Author: Stephan Arts <stephan at xfce.org>
Date:   Sat Mar 3 21:30:57 2012 +0100

    Clear tooltip if image is closed

 src/image_viewer.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/image_viewer.c b/src/image_viewer.c
index 7e5baf0..aed2fa2 100644
--- a/src/image_viewer.c
+++ b/src/image_viewer.c
@@ -1501,6 +1501,8 @@ rstto_image_viewer_set_file (
                     widget->window,
                     NULL,
                     FALSE);
+
+            gtk_widget_set_tooltip_text (GTK_WIDGET (viewer), NULL);
         }
     }
 }


More information about the Xfce4-commits mailing list