aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-19 21:37:28 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-12-05 14:16:06 +0100
commite4478b1a58330fea9685120e5ae99a57358b9440 (patch)
tree211ac2c8c5bde232ad3fffa5d5e8f498bdbc82d1 /Rpmdrake
parentf711cbd68e4348b9b94479e93701f1e11964b55e (diff)
downloadrpmdrake-e4478b1a58330fea9685120e5ae99a57358b9440.tar
rpmdrake-e4478b1a58330fea9685120e5ae99a57358b9440.tar.gz
rpmdrake-e4478b1a58330fea9685120e5ae99a57358b9440.tar.bz2
rpmdrake-e4478b1a58330fea9685120e5ae99a57358b9440.tar.xz
rpmdrake-e4478b1a58330fea9685120e5ae99a57358b9440.zip
those setters no more accept undef
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/edit_urpm_sources.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm
index 024c4da9..cc65b8f9 100644
--- a/Rpmdrake/edit_urpm_sources.pm
+++ b/Rpmdrake/edit_urpm_sources.pm
@@ -678,7 +678,7 @@ sub edit_parallel {
my ($medias, $hosts) = map {
my $list = Gtk3::TreeView->new_with_model($_);
- $list->append_column(Gtk3::TreeViewColumn->new_with_attributes(undef, Gtk3::CellRendererText->new, 'text' => 0));
+ $list->append_column(Gtk3::TreeViewColumn->new_with_attributes('', Gtk3::CellRendererText->new, 'text' => 0));
$list->set_headers_visible(0);
$list->get_selection->set_mode('browse');
$list;
@@ -689,7 +689,7 @@ sub edit_parallel {
my $add_media = sub {
my $medias_list_ls = Gtk3::ListStore->new("Glib::String");
my $medias_list = Gtk3::TreeView->new_with_model($medias_list_ls);
- $medias_list->append_column(Gtk3::TreeViewColumn->new_with_attributes(undef, Gtk3::CellRendererText->new, 'text' => 0));
+ $medias_list->append_column(Gtk3::TreeViewColumn->new_with_attributes('', Gtk3::CellRendererText->new, 'text' => 0));
$medias_list->set_headers_visible(0);
$medias_list->get_selection->set_mode('browse');
$medias_list_ls->append_set([ 0 => $_->{name} ]) foreach @{$urpm->{media}};
@@ -887,7 +887,7 @@ sub keys_callback() {
my $add_key = sub {
my $available_keyz_ls = Gtk3::ListStore->new("Glib::String", "Glib::String");
my $available_keyz = Gtk3::TreeView->new_with_model($available_keyz_ls);
- $available_keyz->append_column(Gtk3::TreeViewColumn->new_with_attributes(undef, Gtk3::CellRendererText->new, 'text' => 0));
+ $available_keyz->append_column(Gtk3::TreeViewColumn->new_with_attributes('', Gtk3::CellRendererText->new, 'text' => 0));
$available_keyz->set_headers_visible(0);
$available_keyz->get_selection->set_mode('browse');
$available_keyz_ls->append_set([ 0 => sprintf("%s (%s)", $_, $key_name->($_)), 1 => $_ ]) foreach keys %{$urpm->{keys}};