rpms/nedit/devel nedit-5.5-scroll.patch, NONE, 1.1 nedit.spec, 1.14, 1.15

Jindrich Novy (jnovy) fedora-extras-commits at redhat.com
Tue Oct 30 09:09:35 UTC 2007


Author: jnovy

Update of /cvs/extras/rpms/nedit/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4686

Modified Files:
	nedit.spec 
Added Files:
	nedit-5.5-scroll.patch 
Log Message:
make mouse wheel scrolling compatible with lesstif (#354591)


nedit-5.5-scroll.patch:

--- NEW FILE nedit-5.5-scroll.patch ---
diff -up nedit-5.5/util/misc.c.scroll nedit-5.5/util/misc.c
--- nedit-5.5/util/misc.c.scroll	2007-10-29 13:09:28.000000000 +0100
+++ nedit-5.5/util/misc.c	2007-10-29 13:59:22.000000000 +0100
@@ -2032,12 +2032,12 @@ void AddMouseWheelSupport(Widget w)
     if (XmIsScrolledWindow(XtParent(w))) 
     {
         static const char scrollTranslations[] =
-           "Shift<Btn4Down>,<Btn4Up>: scrolled-window-scroll-up(1)\n"
-           "Shift<Btn5Down>,<Btn5Up>: scrolled-window-scroll-down(1)\n"
-           "Ctrl<Btn4Down>,<Btn4Up>:  scrolled-window-page-up()\n"
-           "Ctrl<Btn5Down>,<Btn5Up>:  scrolled-window-page-down()\n"
-           "<Btn4Down>,<Btn4Up>:      scrolled-window-scroll-up(3)\n"
-           "<Btn5Down>,<Btn5Up>:      scrolled-window-scroll-down(3)\n";
+           "Shift<Btn4Down>: scrolled-window-scroll-up(1)\n"
+           "Shift<Btn5Down>: scrolled-window-scroll-down(1)\n"
+           "Ctrl<Btn4Down>:  scrolled-window-page-up()\n"
+           "Ctrl<Btn5Down>:  scrolled-window-page-down()\n"
+           "<Btn4Down>:      scrolled-window-scroll-up(3)\n"
+           "<Btn5Down>:      scrolled-window-scroll-down(3)\n";
         static XtTranslations trans_table = NULL;
         
         if (trans_table == NULL)


Index: nedit.spec
===================================================================
RCS file: /cvs/extras/rpms/nedit/devel/nedit.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- nedit.spec	29 Oct 2007 12:20:17 -0000	1.14
+++ nedit.spec	30 Oct 2007 09:08:59 -0000	1.15
@@ -1,7 +1,7 @@
 Summary: A GUI text editor for systems with X
 Name: nedit
 Version: 5.5
-Release: 14%{?dist}
+Release: 15%{?dist}
 Source: http://nedit.org/ftp/v5_5/nedit-%{version}-src.tar.bz2
 Source1: nedit.desktop
 Source2: nedit-icon.png
@@ -13,6 +13,7 @@
 Patch5: nedit-5.5-nc-manfix.patch
 Patch6: nedit-5.5-visfix.patch
 Patch7: nedit-5.5-nocsh.patch
+Patch8: nedit-5.5-scroll.patch
 URL: http://nedit.org
 License: GPLv2
 Group: Applications/Editors
@@ -36,6 +37,7 @@
 %patch5 -p1 -b .nc-manfix
 %patch6 -p1 -b .visfix
 %patch7 -p1 -b .nocsh
+%patch8 -p1 -b .scroll
 
 %build
 make linux LIB=%{_lib} << EOF
@@ -76,6 +78,9 @@
 %{_datadir}/pixmaps/nedit-icon.png
 
 %changelog
+* Tue Oct 30 2007 Jindrich Novy <jnovy at redhat.com> 5.5-15
+- make mouse wheel scrolling compatible with lesstif (#354591)
+
 * Mon Oct 29 2007 Jindrich Novy <jnovy at redhat.com> 5.5-14
 - don't use /bin/csh but /bin/sh as default shell (#355441)
 




More information about the fedora-extras-commits mailing list