[sawfish] fixed issue with translated toolitp strings [Teika Kazura]



commit dd80f87cbf5a291f5be875f0e0a4a8e47cfb0412
Author: chrisb <zanghar freenet de>
Date:   Thu Aug 27 21:02:24 2009 +0200

    fixed issue with translated toolitp strings [Teika Kazura]

 ChangeLog                  |    2 ++
 lisp/sawfish/gtk/widget.jl |    5 +++--
 man/news.texi              |    4 ++++
 3 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index c41f73d..b2a148f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -14,6 +14,8 @@
 
 	* po/Makefile.in: fixed call of make-pot
 
+	* lisp/sawfish/gtk/widget.jl: fixed issue with translated tooltip strings [Teika Kazura]
+
 2009-08-09  Christopher Bratusek <zanghar freenet de>
 	* lisp/sawfish/wm/ext/match-window.jl: move rename-window here, as it requires prompt but this either does not 
 	                                       load properly in windows.jl or breaks sawfish-ui if require'ed instead of open'ed
diff --git a/lisp/sawfish/gtk/widget.jl b/lisp/sawfish/gtk/widget.jl
index e601622..0854f43 100644
--- a/lisp/sawfish/gtk/widget.jl
+++ b/lisp/sawfish/gtk/widget.jl
@@ -173,9 +173,10 @@
 
   ;; returns (LABEL-STRING . TOOLTIP-STRING-OR-NIL)
   (define (tooltip-split doc)
+    (setq doc (_ doc))
     (if (string-match "\n\n\\s*" doc)
-	(cons (utf8-substring (_ doc) 0 (match-start))
-	      (utf8-substring (_ doc) (match-end)))
+	(cons (utf8-substring doc 0 (match-start))
+	      (utf8-substring doc (match-end)))
       (cons doc nil)))
 
   (define (tooltip-set widget tip-string #!optional (key "Foo"))
diff --git a/man/news.texi b/man/news.texi
index 1d3c905..1649fe9 100644
--- a/man/news.texi
+++ b/man/news.texi
@@ -34,6 +34,10 @@ they occurred between. For more detailed information see the
 @item Fixed group of the stagger options [Christopher Bratusek]
 
 @item Fixed repexecdir definition in the spec-file [Christopher Bratusek]
+
+ item Fixed wrong call of make-pot in po/Makefile.in [Christopher Bratusek]
+
+ item Fixed issue with translated tooltip strings [Teika Kazura]
 @end itemize
 @item New features:
 @itemize @minus



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