summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2012-08-01 18:56:16 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-24 21:28:34 +0100
commite5d2e80a09845619e90d736ac9c0f5fb3665574d (patch)
tree857fcf4fce96435758c9734677e0d95d48eb758d /perl-install/diskdrake
parent57cc6e6e43ea687e8b9d55346698338d7d9d9dce (diff)
downloaddrakx-e5d2e80a09845619e90d736ac9c0f5fb3665574d.tar
drakx-e5d2e80a09845619e90d736ac9c0f5fb3665574d.tar.gz
drakx-e5d2e80a09845619e90d736ac9c0f5fb3665574d.tar.bz2
drakx-e5d2e80a09845619e90d736ac9c0f5fb3665574d.tar.xz
drakx-e5d2e80a09845619e90d736ac9c0f5fb3665574d.zip
perlish ->window => ->get_window
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r--perl-install/diskdrake/hd_gtk.pm2
-rw-r--r--perl-install/diskdrake/smbnfs_gtk.pm4
2 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm
index 5d3a5af4e..02f7c1251 100644
--- a/perl-install/diskdrake/hd_gtk.pm
+++ b/perl-install/diskdrake/hd_gtk.pm
@@ -315,7 +315,7 @@ sub create_automatic_notebooks {
sub create_buttons4partitions {
my ($kind, $totalsectors, @parts) = @_;
- $width = first($w->{window}->window->get_size) - first(get_action_box_size()) - 25 if $w->{window}->window;
+ $width = first($w->{window}->get_window->get_size) - first(get_action_box_size()) - 25 if $w->{window}->get_window;
my $ratio = $totalsectors ? ($width - @parts * $minwidth) / $totalsectors : 1;
while (1) {
diff --git a/perl-install/diskdrake/smbnfs_gtk.pm b/perl-install/diskdrake/smbnfs_gtk.pm
index ff50e0a18..61bcab168 100644
--- a/perl-install/diskdrake/smbnfs_gtk.pm
+++ b/perl-install/diskdrake/smbnfs_gtk.pm
@@ -226,10 +226,10 @@ sub import_tree {
$current_entry = find_fstab_entry($kind, $wexports{$tree_model->get_path_str($curr)} || die(''), 'add');
} else {
if (!$tree_model->iter_has_child($curr)) {
- gtkset_mousecursor_wait($tree->window);
+ gtkset_mousecursor_wait($tree->get_window);
ugtk3::flush();
$add_exports->($curr);
- gtkset_mousecursor_normal($tree->window);
+ gtkset_mousecursor_normal($tree->get_window);
}
$current_entry = undef;
}