[sawfish] allow negative values in GtkSpinbuttons in Sawfish-UI
- From: Christopher Bratusek <chrisb src gnome org>
- To: svn-commits-list gnome org
- Subject: [sawfish] allow negative values in GtkSpinbuttons in Sawfish-UI
- Date: Sat, 18 Jul 2009 08:50:00 +0000 (UTC)
commit 06b72255104c4cf07456983c06f981f2c1c2c6d7
Author: chrisb <zanghar freenet de>
Date: Sat Jul 18 11:48:56 2009 +0200
allow negative values in GtkSpinbuttons in Sawfish-UI
ChangeLog | 3 +++
lisp/sawfish/gtk/widget.jl | 2 +-
man/news.texi | 2 ++
3 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index ff188b4..8b4e4b6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2009-07-18 Christopher Bratusek <zanghar freenet de>
+ * lisp/sawfish/gtk/widget.jl: allow negative values in spinbuttons in sawfish-ui
+
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 c897caf..43e270a 100644
--- a/lisp/sawfish/gtk/widget.jl
+++ b/lisp/sawfish/gtk/widget.jl
@@ -269,7 +269,7 @@
;; XXX backwards compat..
(when (eq minimum 'nil) (setq minimum nil))
(when (eq maximum 'nil) (setq maximum nil))
- (let ((widget (gtk-spin-button-new-with-range (or minimum 0)
+ (let ((widget (gtk-spin-button-new-with-range (or minimum -65535)
(or maximum 65535) 1)))
(when changed-callback
(g-signal-connect
diff --git a/man/news.texi b/man/news.texi
index 16b1576..8ca72ff 100644
--- a/man/news.texi
+++ b/man/news.texi
@@ -29,6 +29,8 @@ they occurred between. For more detailed information see the
@item Other Changes:
@itemize @minus
+ item Sawfish-Ui does now allow negative values in Spinbuttons [Christopher Bratusek]
+
@item Sawfish does now appear in KDE4s WM Selector [Christopher Bratusek]
@item Changing raise-tabs-on-hover takes effect immediately now [Christopher Bratusek]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]