aboutsummaryrefslogtreecommitdiffstats
path: root/MageiaUpdate
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-19 21:37:27 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-12-05 14:16:06 +0100
commit581d70ff9bbdb93dca53e1c46ddb10b2b1eaa945 (patch)
tree08049520b306ff410d8c72f5048be12ab5d7c878 /MageiaUpdate
parent4473fb769b8aa88daede1eaaa4c65e74cbd17401 (diff)
downloadrpmdrake-581d70ff9bbdb93dca53e1c46ddb10b2b1eaa945.tar
rpmdrake-581d70ff9bbdb93dca53e1c46ddb10b2b1eaa945.tar.gz
rpmdrake-581d70ff9bbdb93dca53e1c46ddb10b2b1eaa945.tar.bz2
rpmdrake-581d70ff9bbdb93dca53e1c46ddb10b2b1eaa945.tar.xz
rpmdrake-581d70ff9bbdb93dca53e1c46ddb10b2b1eaa945.zip
perlish ->window => ->get_window
Diffstat (limited to 'MageiaUpdate')
-rwxr-xr-xMageiaUpdate8
1 files changed, 4 insertions, 4 deletions
diff --git a/MageiaUpdate b/MageiaUpdate
index df1bbd09..8bde8afc 100755
--- a/MageiaUpdate
+++ b/MageiaUpdate
@@ -114,7 +114,7 @@ sub toggle {
my $pkg = $pkgs->{$name}{pkg};
return if !$pkg;
$pkg->set_flag_skip(0);
- toggle_nodes($w->{real_window}->window, $list->get_model, sub {
+ toggle_nodes($w->{real_window}->get_window, $list->get_model, sub {
my ($leaf, $_state, $_model) = @_;
$done = 1;
$list->{data}[$data{$leaf}][$pkg_columns{selected}] = $pkgs->{$name}{selected};
@@ -237,7 +237,7 @@ sub run_treeview_dialog {
$list->get_selection->signal_connect(changed => sub {
my ($model, $iter) = $_[0]->get_selected;
$model && $iter or return;
- gtktext_insert($info, get_info($model->get($iter, $pkg_columns{text}), $w->{real_window}->window));
+ gtktext_insert($info, get_info($model->get($iter, $pkg_columns{text}), $w->{real_window}->get_window));
$info->scroll_to_iter($info->get_buffer->get_start_iter, 0, 0, 0, 0);
});
@@ -264,8 +264,8 @@ sub run_treeview_dialog {
$cell->signal_connect(toggled => sub {
my ($_cell, $text_path) = @_;
my $name = $list->{data}[$text_path][$pkg_columns{text}];
- gtkset_mousecursor_wait($w->{real_window}->window);
- my $_guard = before_leaving(sub { gtkset_mousecursor_normal($w->{real_window}->window) });
+ gtkset_mousecursor_wait($w->{real_window}->get_window);
+ my $_guard = before_leaving(sub { gtkset_mousecursor_normal($w->{real_window}->get_window) });
toggle($list, $name);
});
$action_button->set_sensitive(0) if $>;