aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/rpmnew.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-19 21:37:26 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-12-05 14:16:06 +0100
commit1a277c56674f3c6d60951c1f2a1312f1cd9235fe (patch)
tree927bfa97152c780879ab9ae4d9e4999e24c9d5a4 /Rpmdrake/rpmnew.pm
parent0eb2e246db5367e5149bec12197e41707aeb7daf (diff)
downloadrpmdrake-1a277c56674f3c6d60951c1f2a1312f1cd9235fe.tar
rpmdrake-1a277c56674f3c6d60951c1f2a1312f1cd9235fe.tar.gz
rpmdrake-1a277c56674f3c6d60951c1f2a1312f1cd9235fe.tar.bz2
rpmdrake-1a277c56674f3c6d60951c1f2a1312f1cd9235fe.tar.xz
rpmdrake-1a277c56674f3c6d60951c1f2a1312f1cd9235fe.zip
use (my|u)gtk3 instead of *tk2
Diffstat (limited to 'Rpmdrake/rpmnew.pm')
-rw-r--r--Rpmdrake/rpmnew.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/Rpmdrake/rpmnew.pm b/Rpmdrake/rpmnew.pm
index 5a897fe6..fa81b346 100644
--- a/Rpmdrake/rpmnew.pm
+++ b/Rpmdrake/rpmnew.pm
@@ -31,8 +31,8 @@ use Rpmdrake::init;
use Rpmdrake::pkg;
use Rpmdrake::open_db;
use Rpmdrake::formatting;
-use mygtk2 qw(gtknew); #- do not import anything else, especially gtkadd() which conflicts with ugtk2 one
-use ugtk2 qw(:all);
+use mygtk3 qw(gtknew); #- do not import anything else, especially gtkadd() which conflicts with ugtk3 one
+use ugtk3 qw(:all);
use Exporter;
our @ISA = qw(Exporter);
our @EXPORT = qw(dialog_rpmnew do_merge_if_needed);
@@ -84,7 +84,7 @@ sub inspect {
}
my @diff = map { ensure_utf8($_); $_ } `/usr/bin/diff -u '$file' '$rpmnew'`;
@diff = N("(none)") if !@diff;
- my $d = ugtk2->new(N("Inspecting %s", $file), grab => 1, transient => $::main_window);
+ my $d = ugtk3->new(N("Inspecting %s", $file), grab => 1, transient => $::main_window);
my $save_wsize = sub { @inspect_wsize = $d->{rwindow}->get_size };
my %texts;
require Gtk2::SourceView2;