Description: Fix icon location for gprename, upstream is working with fixed paths
Author: Marvin Stark <marv@der-marv.de>
Forwarded: No
--- a/bin/gprename
+++ b/bin/gprename
@@ -61,7 +61,7 @@
 
 # set the locale
 setlocale(LC_ALL, '');
-bindtextdomain( 'gprename', '/usr/local/share/locale');
+bindtextdomain( 'gprename', '@INSTALLDIR@/share/locale');
 textdomain( 'gprename' );
 
 # Change the font to courier new for the Tree and the SimpleList
@@ -127,7 +127,7 @@
 $window->add_accel_group( $accel_group );
 
 # Set the window icon
-my $icon = '/usr/share/icons/gprename.png';
+my $icon = '@INSTALLDIR@/share/icons/gprename.png';
 my $pixbuf = Gtk2::Gdk::Pixbuf->new_from_file( $icon );
 $window->set_icon( $pixbuf );
 
@@ -1440,7 +1440,7 @@
    $buffer->create_tag( 'big', size => 15 * PANGO_SCALE );
    $buffer->create_tag( 'italic', style => 'italic' );
    my $iter = $buffer->get_start_iter;
-   my $icon = '/usr/local/share/pixmaps/gprename/gprename.png';
+   my $icon = '@INSTALLDIR@/share/pixmaps/gprename/gprename.png';
    my $pixbuf = Gtk2::Gdk::Pixbuf->new_from_file( $icon );
 
    $buffer->insert_pixbuf ($iter,  $pixbuf);
