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

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


Updating branch refs/heads/master
         to 40bd604d835cf5d113f416107730eb145984b2f5 (commit)
       from 2c8316ef039037cba52f80c987b6b95e5cd33be3 (commit)

commit 40bd604d835cf5d113f416107730eb145984b2f5
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 86bbfff..16093b8 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