aboutsummaryrefslogtreecommitdiffstats
path: root/modules/rpmdragora
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-11-28 14:37:45 +0100
committerAngelo Naselli <anaselli@linux.it>2014-11-28 14:37:45 +0100
commit407c43f174d0ea123af9d5a032abfbd0b156a2c4 (patch)
tree1471e8655a842e16d6fb94941200c72c29d304ac /modules/rpmdragora
parent043141ff5038b1bd8d3db61d126f30f2be05c29e (diff)
downloadcolin-keep-407c43f174d0ea123af9d5a032abfbd0b156a2c4.tar
colin-keep-407c43f174d0ea123af9d5a032abfbd0b156a2c4.tar.gz
colin-keep-407c43f174d0ea123af9d5a032abfbd0b156a2c4.tar.bz2
colin-keep-407c43f174d0ea123af9d5a032abfbd0b156a2c4.tar.xz
colin-keep-407c43f174d0ea123af9d5a032abfbd0b156a2c4.zip
fixed slow_func (ncurses crash)
Diffstat (limited to 'modules/rpmdragora')
-rwxr-xr-xmodules/rpmdragora/rpmdragora6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/rpmdragora/rpmdragora b/modules/rpmdragora/rpmdragora
index 711b6f1..80d0aa9 100755
--- a/modules/rpmdragora/rpmdragora
+++ b/modules/rpmdragora/rpmdragora
@@ -116,7 +116,7 @@ sub filterbox_callback {
if ($filter->[0] ne $val) {
$filter->[0] = $val;
reset_search();
- slow_func($::main_window, sub { switch_pkg_list_mode($default_list_mode) });
+ slow_func(sub { switch_pkg_list_mode($default_list_mode) });
$options->{rebuild_tree}->();
}
@@ -776,7 +776,7 @@ sub run_treeview_dialog {
# );
my $reload_db_and_clear_all = sub {
- slow_func($::main_window, sub {
+ slow_func(sub {
$force_rebuild = 1;
AdminPanel::Rpmdragora::gui::pkgs_provider($options->{tree_mode}, skip_updating_mu => 1);
AdminPanel::Rpmdragora::gui::reset_search();
@@ -1077,7 +1077,7 @@ sub run_treeview_dialog {
#gtkflush();
#OLD slow_func($::main_window->window, sub { pkgs_provider($default_list_mode) }); # default mode
- slow_func($::main_window, sub { pkgs_provider($default_list_mode) }); # default mode
+ slow_func(sub { pkgs_provider($default_list_mode) }); # default mode
if (@initial_selection) {
print "\n== Initial selection: @initial_selection\n";
$options->{initial_selection} = \@initial_selection;