summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakfont
diff options
context:
space:
mode:
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);