Shell-Extension: unwanted behavior
- From: Ole Ernst <oleernst web de>
- To: gnome-shell-list gnome org
- Subject: Shell-Extension: unwanted behavior
- Date: Thu, 18 Aug 2011 14:06:26 +0200
Hello everybody,
I encountered a problem while writing a shell-extension. Based on a
config-array (which gets loaded at start up) I want to create a variable
number of PopupMenuItems, which should be connected to different functions.
Here is the simplified code, which shows the unwanted behavior:
http://pastebin.com/GsjzHVyK
The problem is: no matter on what menu I click, the log always says
Entry3 (last connected function). Actually I'd like it to show Entry1 to
Entry3 based on the menu I click.
Am I missing something? Is there another way of doing it? (Note: That's
pretty much my first contact with javascript)
Thanks in advance!
Ole Ernst
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]