view debian/patches/04_bins-edit-gui @ 6:3021deef1599

Encoding related fixes * chomp encoding string * reformat else (seems someone hacked it in) * debug print encoding * do not use :utf8 binmode ("re-encode") on written file if the input is _already_ UTF-8
author Peter Gervai <grin@grin.hu>
date Thu, 16 Oct 2008 00:02:14 +0200
parents c5749e43b1d7
children
line wrap: on
line source

#!/bin/sh -e
## bins-edit-gui by Ludovic Rousseau <rousseau@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: bins-edit-gui.glade is in /usr/share/bins/ instead of
## DP: /usr/local/share/bins/

--- bins-1.1.29.orig/bins-edit-gui
+++ bins-1.1.29/bins-edit-gui
@@ -138,7 +138,7 @@
 Gnome->init("bins-edit-gui", $version);
 Gtk->init;
 
-$glade = "/usr/local/share/bins/bins-edit-gui.glade";
+$glade = "/usr/share/bins/bins-edit-gui.glade";
 if (! -r $glade) {
     $glade = "bins-edit-gui.glade" ; # developer hack
     print "DEVELOPER HACK\n";