aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake
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
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')
-rwxr-xr-xrpmdrake12
1 files changed, 6 insertions, 6 deletions
diff --git a/rpmdrake b/rpmdrake
index 2ed87b97..7e064b32 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -40,13 +40,13 @@ use Rpmdrake::formatting;
use Rpmdrake::pkg;
use urpm::media;
-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 Gtk2::Gdk::Keysyms;
use Rpmdrake::widgets;
use feature 'state';
-$ugtk2::wm_icon = get_icon('installremoverpm', "title-$MODE");
+$ugtk3::wm_icon = get_icon('installremoverpm', "title-$MODE");
our $w;
our $statusbar;
@@ -94,7 +94,7 @@ sub do_search($$$$$$$) {
}
} else {
my $searchstop;
- my $searchw = ugtk2->new(N("Software Management"), grab => 1, transient => $w->{real_window});
+ my $searchw = ugtk3->new(N("Software Management"), grab => 1, transient => $w->{real_window});
gtkadd(
$searchw->{window},
gtkpack__(
@@ -741,7 +741,7 @@ sub run_treeview_dialog {
gtktext_insert($info, [
[ $info->render_icon('gtk-dialog-info', 'GTK_ICON_SIZE_DIALOG', undef) ],
- @{ ugtk2::markup_to_TextView_format(
+ @{ ugtk3::markup_to_TextView_format(
formatAlaTeX(join("\n\n\n", format_header(N("Quick Introduction")),
N("You can browse the packages through the categories tree on the left."),
N("You can view information about a package by clicking on it on the right list."),
@@ -794,7 +794,7 @@ if (my $pid = is_running('rpmdrake')) {
exit(0);
}
-$w = ugtk2->new(N("Software Management"));
+$w = ugtk3->new(N("Software Management"));
$w->{rwindow}->show_all if $::isEmbedded;
readconf();