aboutsummaryrefslogtreecommitdiffstats
path: root/modules/rpmdragora
diff options
context:
space:
mode:
authorMatteo Pasotti <matteo@mageia.org>2013-01-15 15:08:55 +0000
committerMatteo Pasotti <matteo@mageia.org>2013-01-15 15:08:55 +0000
commit4345045d3cf8e367af99f8ed1336e17a1e461cbd (patch)
tree116cbe00b8b075aedc5c9b89e167be8d4a5ee074 /modules/rpmdragora
parent1ade940bd86aa26438f363c9d06e397c867cb886 (diff)
downloadcolin-keep-4345045d3cf8e367af99f8ed1336e17a1e461cbd.tar
colin-keep-4345045d3cf8e367af99f8ed1336e17a1e461cbd.tar.gz
colin-keep-4345045d3cf8e367af99f8ed1336e17a1e461cbd.tar.bz2
colin-keep-4345045d3cf8e367af99f8ed1336e17a1e461cbd.tar.xz
colin-keep-4345045d3cf8e367af99f8ed1336e17a1e461cbd.zip
- gui.pm: fixed some warnings
- icon.pm: renamed get_icon to get_icon_path - rpmdragora: fixed wrong viewbox_callback argument (hash by ref)
Diffstat (limited to 'modules/rpmdragora')
-rwxr-xr-xmodules/rpmdragora/rpmdragora5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/rpmdragora/rpmdragora b/modules/rpmdragora/rpmdragora
index 1802d0f..f1f99d3 100755
--- a/modules/rpmdragora/rpmdragora
+++ b/modules/rpmdragora/rpmdragora
@@ -65,7 +65,8 @@ my %elems;
my $old_value;
sub viewbox_callback {
- my ($selection, $options, %wanted_categories) = @_;
+ my %wanted_categories = ();
+ my ($selection, $options, $wanted_categories) = @_;
my $val = $selection;
$old_value="" if(!defined($old_value));
return if $val eq $old_value; # workarounding gtk+ sending us sometimes twice events
@@ -1022,7 +1023,7 @@ sub run_treeview_dialog {
my $tree_selection = $tree->currentItem();
}
elsif ($widget == $file_menu && $mnuItemReloadPackagesList) {
- $reload_db_and_clear_all;
+ $reload_db_and_clear_all->();
}
elsif ($widget == $QuitButton) {
quit();