Gtk2::ItemFactory bug or feature?!
- From: Jens Wilke <jens wilke org>
- To: gtk-perl-list gnome org
- Subject: Gtk2::ItemFactory bug or feature?!
- Date: Fri, 13 Aug 2004 00:35:24 +0200
Hi,
the documentation of Gtk2::ItemFactory confused me, and i was not able
to convert the path of a MenuItem to delete it from the factory.
my $oitm = $factory->get_item_by_action('albumlist');
my ($path, $tmp) = $oitm->path;
# $path is s'thing like
#'GtkWindow.<main>/Album/Aktualisieren.<main>/Album/Aktualisieren/Album'
$factory->delete_item($path); #does not work
$factory->delete_item('<main>/Album/Aktualisieren/Album'); #
works hardcoded
$path =~ s/(.+)\.//g; # $path = '<main>/Album/Aktualisieren/Album'
$factory->delete_item($path) # doesn't work too
I decided, to hardcode it, but may be there's a bug.
Rgds, Jens
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]