Package: hamster-applet
Version: 2.91.3+git20120514.b9fec3e1-1
Severity: normal

I'm looking to bind the Hamster time tracker to a keyboard shortcut.
More specifically, I'd like to be able to trigger the displaying of the
main window without having to hunt the applet icon.

roland@polymir ~ $ hamster-time-tracker --help
Hamster time tracker. Usage:
  /usr/bin/hamster-time-tracker 
[overview|statistics|edit|preferences|about|toggle]

So it seems that the option I want is "toggle".  However:

roland@polymir ~ $ hamster-time-tracker toggle
Traceback (most recent call last):
  File "/usr/bin/hamster-time-tracker", line 588, in <module>
    getattr(server, window)()
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in 
call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod: 
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 654, in 
_message_cb
    (candidate_method, parent_method) = _method_lookup(self, method_name, 
interface_name)
  File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 248, in 
_method_lookup
    raise UnknownMethodException('%s is not a valid method' % method_name)
UnknownMethodException: org.freedesktop.DBus.Error.UnknownMethod: Unknown 
method: toggle is not a valid method

Without an option, I get a second Hamster instance, whereas I'd rather
have the running one pop up its main window.

Roland.

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages hamster-applet depends on:
ii  gconf2            3.2.5-1+build1
ii  python            2.7.3-3
ii  python-cairo      1.8.8-1+b2
ii  python-dbus       1.1.1-1
ii  python-gconf      2.28.1+dfsg-1
ii  python-gnome2     2.28.1+dfsg-1
ii  python-gobject-2  2.28.6-10
ii  python-gtk2       2.24.0-3
ii  python-wnck       2.32.0+dfsg-2+b1
ii  python-xdg        0.19-4
ii  python2.6         2.6.8-1
ii  python2.7         2.7.3-5

Versions of packages hamster-applet recommends:
ii  gnome-icon-theme  3.4.0-2
ii  python-notify     0.1.1-3

Versions of packages hamster-applet suggests:
pn  python-evolution  <none>

-- no debconf information

-- 
Roland Mas

Chaos always defeats order, because it is better organized.
  -- Ly Tin Wheedle, in Interesting Times (Terry Pratchett)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to