forked from pool/gprename
Updated with fixes from @jubalh Let me know if something went wrong when merging. OBS-URL: https://build.opensuse.org/request/show/1148869 OBS-URL: https://build.opensuse.org/package/show/utilities/gprename?expand=0&rev=10
30 lines
965 B
Diff
30 lines
965 B
Diff
--- bin/gprename 2024-01-16 05:39:01.000000000 -0500
|
|
+++ bin/gprename 2024-01-16 05:48:07.319259498 -0500
|
|
@@ -55,7 +55,7 @@
|
|
|
|
# set the locale
|
|
setlocale(LC_ALL, '');
|
|
-bindtextdomain( 'gprename', '/usr/local/share/locale');
|
|
+bindtextdomain( 'gprename', '/usr/share/locale');
|
|
textdomain( 'gprename' );
|
|
|
|
sub gtext {
|
|
@@ -137,7 +137,7 @@
|
|
$window->add_accel_group( $accel_group );
|
|
|
|
# Set the window icon
|
|
-my $icon = '/usr/share/icons/gprename.png';
|
|
+my $icon = '/usr/share/pixmaps/gprename.png';
|
|
my $pixbuf = Gtk3::Gdk::Pixbuf->new_from_file( $icon );
|
|
$window->set_icon( $pixbuf );
|
|
|
|
@@ -1508,7 +1508,7 @@
|
|
$buffer->create_tag( 'big', size => 20 * 1024 );
|
|
$buffer->create_tag( 'italic', style => 'italic' );
|
|
my $iter = $buffer->get_start_iter;
|
|
- my $icon = '/usr/share/icons/gprename.png';
|
|
+ my $icon = '/usr/share/pixmaps/gprename.png';
|
|
my $pixbuf = Gtk3::Gdk::Pixbuf->new_from_file( $icon );
|
|
|
|
$buffer->insert_pixbuf ($iter, $pixbuf);
|