diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-11-02 16:05:35 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-11-02 16:07:45 +0100 |
commit | 1a51dabb06246effe59bdfb541aa1ff53aedf7d7 (patch) | |
tree | 2ef60504810c39a4d697c211f7dfe38f50ec319e | |
parent | aa7589269d64717a0efa06822d3acb0e863dbeaa (diff) | |
download | control-center-1a51dabb06246effe59bdfb541aa1ff53aedf7d7.tar control-center-1a51dabb06246effe59bdfb541aa1ff53aedf7d7.tar.gz control-center-1a51dabb06246effe59bdfb541aa1ff53aedf7d7.tar.bz2 control-center-1a51dabb06246effe59bdfb541aa1ff53aedf7d7.tar.xz control-center-1a51dabb06246effe59bdfb541aa1ff53aedf7d7.zip |
kill some unused functions
-rwxr-xr-x | control-center | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/control-center b/control-center index 533071cc..deefaacf 100755 --- a/control-center +++ b/control-center @@ -1457,40 +1457,12 @@ sub about_mga_cc() { #------------------------------------------------------------- # mcc specific graphic functions: - -sub set_page { - my ($index) = @_; - start_logdrake(); - set_page_raw($index); - hide_buttons(); -} - sub hide_buttons() { $buttons->hide; $cancel->hide; } -sub create_packtable2 { - my ($options, @l) = @_; - my $w = Gtk3::Table->new(0, 0, 1); - add2hash_($options, { xpadding => 5, ypadding => 0 }); - each_index { - my ($i, $l) = ($::i, $_); - each_index { - my $j = $::i; - if ($_) { - ref $_ or $_ = gtknew('WrappedLabel', text => $_); - $w->attach($_, $j, $j + 1, $i, $i + 1, ['expand', 'fill'], ['expand', 'fill'], $options->{xpadding}, $options->{ypadding}); - $_->show; - } - } @$l; - } @l; - $w->set_col_spacings($options->{col_spacings} || 0); - $w->set_row_spacings($options->{row_spacings} || 0); - gtkset_border_width($w, $::isInstall ? 3 : 10); -} - #------------------------------------------------------------- # mcc specific graphic functions: |