diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-19 21:37:26 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-12-05 14:16:06 +0100 |
commit | 1a277c56674f3c6d60951c1f2a1312f1cd9235fe (patch) | |
tree | 927bfa97152c780879ab9ae4d9e4999e24c9d5a4 /MageiaUpdate | |
parent | 0eb2e246db5367e5149bec12197e41707aeb7daf (diff) | |
download | rpmdrake-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 'MageiaUpdate')
-rwxr-xr-x | MageiaUpdate | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/MageiaUpdate b/MageiaUpdate index dea9090b..6192c5d9 100755 --- a/MageiaUpdate +++ b/MageiaUpdate @@ -37,8 +37,8 @@ use Rpmdrake::formatting; use Rpmdrake::pkg; use Rpmdrake::widgets; -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::SimpleList; # make Rpmdrake::gui aware MageiaUpdate do not use the same columns ids as rpmdrake: @@ -53,7 +53,7 @@ use Gtk2::SimpleList; importance => 7, ); -$ugtk2::wm_icon = get_icon('MageiaUpdate', "title-$MODE"); +$ugtk3::wm_icon = get_icon('MageiaUpdate', "title-$MODE"); our $w; our $statusbar; @@ -124,7 +124,7 @@ sub toggle { $list->{data}[$data{$name}][$pkg_columns{selected}] = !$list->{data}[$data{$name}][$pkg_columns{selected}] if !$done; } -$w = ugtk2->new(N("Software Management")); +$w = ugtk3->new(N("Software Management")); $w->{rwindow}->show_all if $::isEmbedded; $::main_window = $w->{real_window}; |