[Pkg-nethack-devel] nethack/debian/patches 17_gnome_remove_drop_many.dpatch,NONE,1.1 00list,1.9,1.10

Joshua Kwan joshk-guest@quantz.debian.org
Fri, 24 Oct 2003 18:44:11 +0000


Update of /cvsroot/pkg-nethack/nethack/debian/patches
In directory quantz:/tmp/cvs-serv5105/debian/patches

Modified Files:
	00list 
Added Files:
	17_gnome_remove_drop_many.dpatch 
Log Message:
- Don't kill record and logfile on incompatible savegame upgrade
- Remove drop many from GNOME Action menu


Index: 00list
===================================================================
RCS file: /cvsroot/pkg-nethack/nethack/debian/patches/00list,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- 00list	23 Oct 2003 05:23:33 -0000	1.9
+++ 00list	24 Oct 2003 18:44:09 -0000	1.10
@@ -13,6 +13,7 @@
 14_common_config
 15_recover_errormsg
 16_pixmapdir
+17_gnome_remove_drop_many
 90_enh_hpmon
 91_enh_menucolors
 92_enh_paranoid_hit

--- NEW FILE: 17_gnome_remove_drop_many.dpatch ---
#! /bin/sh -e
## 17_gnome_remove_drop_many.dpatch by Joshua Kwan <joshk@triplehelix.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Bug#154750; drop many and drop are the same, so pull the former

if [ $# -ne 1 ]; then
    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
    exit 1
fi
case "$1" in
    -patch) patch -f --no-backup-if-mismatch -p1 < $0;;
    -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;;
    *)
        echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
        exit 1;;
esac

exit 0

--- nethack/win/gnome/gnmain.c~	2003-10-24 11:29:11.000000000 -0700
+++ nethack/win/gnome/gnmain.c	2003-10-24 11:29:19.000000000 -0700
@@ -381,12 +381,6 @@
 	       GINT_TO_POINTER('d'), NULL, GNOME_APP_PIXMAP_NONE, NULL, 'd',0
 	   },
 	   { 
-	       GNOME_APP_UI_ITEM, N_("Drop Many"), 
-	       N_("drop selected types of objects"),
-	       ghack_accelerator_selected, 
-	       GINT_TO_POINTER('D'), NULL, GNOME_APP_PIXMAP_NONE, NULL, 'D',GDK_SHIFT_MASK
-	   },
-	   { 
 	       GNOME_APP_UI_ITEM, N_("Eat"), 
 	       N_("eat something"),
 	       ghack_accelerator_selected,