summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakfont
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-08 03:29:08 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-24 23:28:16 +0100
commita45c4e4ca33cc642f3dfac9d9b6652a0cb40485f (patch)
tree49a2fbc79bb3afc0e90d9a3019a2c2f1cd90a542 /perl-install/standalone/drakfont
parentb9dcdd9e3db2bd26f501f7edfd94a54ec778829d (diff)
downloaddrakx-a45c4e4ca33cc642f3dfac9d9b6652a0cb40485f.tar
drakx-a45c4e4ca33cc642f3dfac9d9b6652a0cb40485f.tar.gz
drakx-a45c4e4ca33cc642f3dfac9d9b6652a0cb40485f.tar.bz2
drakx-a45c4e4ca33cc642f3dfac9d9b6652a0cb40485f.tar.xz
drakx-a45c4e4ca33cc642f3dfac9d9b6652a0cb40485f.zip
those setters no more accept undef
Diffstat (limited to 'perl-install/standalone/drakfont')
-rwxr-xr-xperl-install/standalone/drakfont8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/standalone/drakfont b/perl-install/standalone/drakfont
index 14584c1a4..d5d6b3cf8 100755
--- a/perl-install/standalone/drakfont
+++ b/perl-install/standalone/drakfont
@@ -630,7 +630,7 @@ sub advanced_install() {
my $button;
$model = Gtk3::TreeStore->new("Glib::String");
$list = Gtk3::TreeView->new_with_model($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->set_rules_hint(1);
@@ -672,7 +672,7 @@ sub list_to_remove() {
sub show_list_to_remove() {
my $model = Gtk3::TreeStore->new("Glib::String");
my $list = Gtk3::TreeView->new_with_model($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->set_rules_hint(1);
@@ -703,7 +703,7 @@ sub uninstall() { #- TODO : add item to right list with gtksignal_connect
#- left part
$left_model = Gtk3::TreeStore->new("Glib::String");
$left_list = Gtk3::TreeView->new_with_model($left_model);
- $left_list->append_column(Gtk3::TreeViewColumn->new_with_attributes(undef, Gtk3::CellRendererText->new, 'text' => 0));
+ $left_list->append_column(Gtk3::TreeViewColumn->new_with_attributes('', Gtk3::CellRendererText->new, 'text' => 0));
$left_list->set_headers_visible(0);
$left_list->set_rules_hint(1);
$left_list->get_selection->set_mode('multiple');
@@ -713,7 +713,7 @@ sub uninstall() { #- TODO : add item to right list with gtksignal_connect
#- right part
$right_model = Gtk3::TreeStore->new("Glib::String");
$right_list = Gtk3::TreeView->new_with_model($right_model);
- $right_list->append_column(Gtk3::TreeViewColumn->new_with_attributes(undef, Gtk3::CellRendererText->new, 'text' => 0));
+ $right_list->append_column(Gtk3::TreeViewColumn->new_with_attributes('', Gtk3::CellRendererText->new, 'text' => 0));
$right_list->set_headers_visible(0);
$right_list->get_selection->set_mode('multiple');
$right_list->set_rules_hint(1);