summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-18 01:41:36 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-24 11:00:43 +0100
commit152ab74b218205cc8ae68c407367674f150b5824 (patch)
tree29216d6a1a23cac6925a22cc182fb3a7f0367ab3
parentb0f952202b1daeccd029ac4e4ef91a9dae10cb41 (diff)
downloaddrakx-net-152ab74b218205cc8ae68c407367674f150b5824.tar
drakx-net-152ab74b218205cc8ae68c407367674f150b5824.tar.gz
drakx-net-152ab74b218205cc8ae68c407367674f150b5824.tar.bz2
drakx-net-152ab74b218205cc8ae68c407367674f150b5824.tar.xz
drakx-net-152ab74b218205cc8ae68c407367674f150b5824.zip
those setters no more accept undef
-rwxr-xr-xbin/drakconnect-old2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/drakconnect-old b/bin/drakconnect-old
index 9c13fe0..46d4ad4 100755
--- a/bin/drakconnect-old
+++ b/bin/drakconnect-old
@@ -59,7 +59,7 @@ my $hostname = chomp_(`hostname`);
my $tree_model = Gtk3::TreeStore->new("Gtk3::Gdk::Pixbuf", map { "Glib::String" } 2..6);
my $list = Gtk3::TreeView->new_with_model($tree_model);
-$list->append_column(Gtk3::TreeViewColumn->new_with_attributes(undef, Gtk3::CellRendererPixbuf->new, 'pixbuf' => 0));
+$list->append_column(Gtk3::TreeViewColumn->new_with_attributes("", Gtk3::CellRendererPixbuf->new, 'pixbuf' => 0));
each_index {
$list->append_column(my $col = Gtk3::TreeViewColumn->new_with_attributes($_, Gtk3::CellRendererText->new, 'text' => $::i + 1));
$col->set_sort_column_id($::i);