aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-02-15 09:19:15 +0000
committerThierry Vignaud <tv@mandriva.org>2009-02-15 09:19:15 +0000
commit4eb8a851cee01f97978beb1780df1c8eb6d2ca07 (patch)
treea8c2112edcbacdf3e6a23f2a23a20cb52c386ecb /Rpmdrake
parent7efc7609259d37bc177d5773eba04d4e2f066621 (diff)
downloadrpmdrake-4eb8a851cee01f97978beb1780df1c8eb6d2ca07.tar
rpmdrake-4eb8a851cee01f97978beb1780df1c8eb6d2ca07.tar.gz
rpmdrake-4eb8a851cee01f97978beb1780df1c8eb6d2ca07.tar.bz2
rpmdrake-4eb8a851cee01f97978beb1780df1c8eb6d2ca07.tar.xz
rpmdrake-4eb8a851cee01f97978beb1780df1c8eb6d2ca07.zip
(mainwindow) make more readable
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/edit_urpm_sources.pm17
1 files changed, 13 insertions, 4 deletions
diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm
index 9650a2c7..e3045144 100644
--- a/Rpmdrake/edit_urpm_sources.pm
+++ b/Rpmdrake/edit_urpm_sources.pm
@@ -1042,10 +1042,19 @@ sub mainwindow() {
},
);
- $list_tv->append_column(Gtk2::TreeViewColumn->new_with_attributes(N("Enabled"), my $tr = Gtk2::CellRendererToggle->new, 'active' => $col{mainw}{is_enabled}));
- $list_tv->append_column(Gtk2::TreeViewColumn->new_with_attributes(N("Updates"), my $cu = Gtk2::CellRendererToggle->new, 'active' => $col{mainw}{is_update}, activatable => $col{mainw}{activatable}));
- $list_tv->append_column(Gtk2::TreeViewColumn->new_with_attributes(N("Type"), Gtk2::CellRendererText->new, 'text' => $col{mainw}{type}));
- $list_tv->append_column(Gtk2::TreeViewColumn->new_with_attributes(N("Medium"), Gtk2::CellRendererText->new, 'text' => $col{mainw}{name}));
+ $list_tv->append_column(Gtk2::TreeViewColumn->new_with_attributes(N("Enabled"),
+ my $tr = Gtk2::CellRendererToggle->new,
+ 'active' => $col{mainw}{is_enabled}));
+ $list_tv->append_column(Gtk2::TreeViewColumn->new_with_attributes(N("Updates"),
+ my $cu = Gtk2::CellRendererToggle->new,
+ 'active' => $col{mainw}{is_update},
+ activatable => $col{mainw}{activatable}));
+ $list_tv->append_column(Gtk2::TreeViewColumn->new_with_attributes(N("Type"),
+ Gtk2::CellRendererText->new,
+ 'text' => $col{mainw}{type}));
+ $list_tv->append_column(Gtk2::TreeViewColumn->new_with_attributes(N("Medium"),
+ Gtk2::CellRendererText->new,
+ 'text' => $col{mainw}{name}));
$tr->signal_connect(
toggled => sub {