aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-25 02:13:59 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-12-05 14:16:07 +0100
commitd807f1d0710380376056939b10188d45f7abb4a8 (patch)
tree1b9ae0b8bf6d0ab5d8885155ecd954d16357ba97
parent796734b3e5aa363b1ec6e77738cb42b85c18f3cb (diff)
downloadrpmdrake-d807f1d0710380376056939b10188d45f7abb4a8.tar
rpmdrake-d807f1d0710380376056939b10188d45f7abb4a8.tar.gz
rpmdrake-d807f1d0710380376056939b10188d45f7abb4a8.tar.bz2
rpmdrake-d807f1d0710380376056939b10188d45f7abb4a8.tar.xz
rpmdrake-d807f1d0710380376056939b10188d45f7abb4a8.zip
adapt to Gtk3;;RadioMenuItem API
-rwxr-xr-xrpmdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index ee14745c..f58f4d67 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -498,7 +498,7 @@ sub run_treeview_dialog {
foreach (N("in names"), N("in descriptions"), N("in summaries"), N("in file names")) {
my ($name, $val) = ($_, $i);
$search_menu->append(gtksignal_connect(gtkshow(
- $previous = Gtk3::RadioMenuItem->new_with_label($previous, $name)),
+ $previous = Gtk3::RadioMenuItem->new_with_label([ $previous ], $name)),
activate => sub { $current_search_type = $search_types[$val] }));
$i++;
}