[sawfish] connect spinbuttons to value-changed signal (allows typing in the value manually)
- From: Christopher Bratusek <chrisb src gnome org>
- To: svn-commits-list gnome org
- Subject: [sawfish] connect spinbuttons to value-changed signal (allows typing in the value manually)
- Date: Sat, 18 Jul 2009 08:56:04 +0000 (UTC)
commit f84cdf1f8c16506a556f5868b238016fa7bcfffb
Author: chrisb <zanghar freenet de>
Date: Sat Jul 18 11:55:16 2009 +0200
connect spinbuttons to value-changed signal (allows typing in the value manually)
ChangeLog | 3 ++-
lisp/sawfish/gtk/widget.jl | 2 +-
man/news.texi | 5 +++++
3 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 8b4e4b6..422b015 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
2009-07-18 Christopher Bratusek <zanghar freenet de>
- * lisp/sawfish/gtk/widget.jl: allow negative values in spinbuttons in sawfish-ui
+ * lisp/sawfish/gtk/widget.jl: - allow negative values in spinbuttons in sawfish-ui
+ - connect spinbuttons to value-changed signal (allows typing in the value manually)
2009-07-15 Christopher Bratusek <zanghar freenet de>
* src/Makefile.in: add --tag=CC there necessary on some systems [Gentoo]
diff --git a/lisp/sawfish/gtk/widget.jl b/lisp/sawfish/gtk/widget.jl
index 43e270a..e601622 100644
--- a/lisp/sawfish/gtk/widget.jl
+++ b/lisp/sawfish/gtk/widget.jl
@@ -273,7 +273,7 @@
(or maximum 65535) 1)))
(when changed-callback
(g-signal-connect
- widget "changed" (make-signal-callback changed-callback)))
+ widget "value-changed" (make-signal-callback changed-callback)))
(gtk-widget-show widget)
(lambda (op)
(case op
diff --git a/man/news.texi b/man/news.texi
index 8ca72ff..d3dc4ff 100644
--- a/man/news.texi
+++ b/man/news.texi
@@ -18,6 +18,11 @@ they occurred between. For more detailed information see the
@item rep-gtk 0.18.4 -> 0.90.0
@end itemize
+ item Bugs fixed:
+ itemize @minus
+
+ item SpinButtons in Sawfish-UI are now connected to the value-changed signal instead of the changed singal (allows typing in the value manually) [Christoper Bratusek]
+ end itemize
@item New features:
@itemize @minus
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]