Keyboard shortcut for configuration window

0 views
Skip to first unread message

Joost Cassee

unread,
May 8, 2009, 4:24:57 AM5/8/09
to Specto
Hi all,


Is it possible to set a keyboard shortcut for showing the Specto
configuration? I'd like to hide the tray icon, but then I can't open
the window anymore.

Thanks!


Regards,

Joost

Jeff Fortin

unread,
May 8, 2009, 8:13:04 AM5/8/09
to spe...@googlegroups.com
Well at the current moment there is no keyboard shortcuts in specto. However, you may be experiencing a bug where the gui is somehow frozen (and only the tray icon exists), in which case, try to kill the specto process and start it again.

And also, make sure you're using the latest versions, 0.2.2 is quite old!

Joost Cassee

unread,
May 8, 2009, 8:21:32 AM5/8/09
to Specto
On May 8, 2:13 pm, Jeff Fortin <nekoh...@gmail.com> wrote:
> Well at the current moment there is no keyboard shortcuts in specto.
> However, you may be experiencing a bug where the gui is somehow frozen
> (and only the tray icon exists), in which case, try to kill the specto
> process and start it again.

I just want to reach the config window. Would it be difficult (for me)
to add this feature? I don't know GTK that well.

> And also, make sure you're using the latest versions, 0.2.2 is quite
> old!

Thanks, I am already using the Ubuntu PPA.


Regards,

Joost

Joost Cassee

unread,
May 9, 2009, 6:31:03 AM5/9/09
to Specto
On May 8, 2:21 pm, Joost Cassee <jo...@cassee.net> wrote:

> I just want to reach the config window. Would it be difficult (for me)
> to add this feature? I don't know GTK that well.

As an alternative I'm trying to get Specto to integrate with the new
Ubuntu indication applet. Looks easy enough.


Regards,

Joost

Jeff Fortin

unread,
May 9, 2009, 2:34:18 PM5/9/09
to spe...@googlegroups.com
Well, I guess try it out whenever you feel like poking at it (http://pygtk.org/pygtk2reference/ may help). I can't really know how difficult it would be "for you", since I don't even know how difficult it would be "for me" ;) but if you fix it on your end and provide a patch that doesn't introduce big bugs or feature creep, it could be integrated.

Joost Cassee

unread,
May 11, 2009, 12:35:10 PM5/11/09
to Specto
On May 9, 8:34 pm, Jeff Fortin <nekoh...@gmail.com> wrote:
> Well, I guess try it out whenever you feel like poking at it
> (http://pygtk.org/pygtk2reference/may help). I can't really know how
> difficult it would be "for you", since I don't even know how difficult
> it would be "for me" ;) but if you fix it on your end and provide a
> patch that doesn't introduce big bugs or feature creep, it could be
> integrated.

It seems to be impossible from pure Python, you need to go through C.
See for example the deskbar applet [1]. The gnome-agenda application
even calls its code instead of doing it by itself! [2] I don't really
have the inclination to pursue this further.

[1] http://git.gnome.org/cgit/deskbar-applet/tree/deskbar/core/keybinder
[2] http://code.google.com/p/gnome-agenda/source/browse/trunk/gnomeagenda/__init__.py

On the other hand I did have success hooking into the Ubuntu indicate
system. I could post a patch but it's a good opportunity to get to
know Launchpad, so I'm going to register the 'indicate' branch. If
there are any gotchas, please let me know.

Regards,

Joost

Joost Cassee

unread,
May 11, 2009, 4:56:30 PM5/11/09
to Specto
On May 11, 6:35 pm, Joost Cassee <jo...@cassee.net> wrote:

> On the other hand I did have success hooking into the Ubuntu indicate
> system. I could post a patch but it's a good opportunity to get to
> know Launchpad, so I'm going to register the 'indicate' branch. If
> there are any gotchas, please let me know.

Created the branch at [1]. It does contain changes for multiple
issues, but the commit logs should be enough to separate them.
Multiple branches would have been nice. :-)

[1] https://code.launchpad.net/~jcassee/specto/indicate

Note that the indicate integration is still quite rough, among others:
* There are a number of hardcoded strings.
* It abuses the "message.im" indication type.
* The resource module could be merged with util.
* Indication integrated into Watch class, unlike notification.

Anyway, I'd appreciate some feedback.


Regards,

Joost

Wout Clymans

unread,
May 12, 2009, 9:27:58 AM5/12/09
to spe...@googlegroups.com
Thanks for your help!
We really appreciate it and i will try to test your changes as fast as possible!

I looked at the diff reports and it seems that all is ok! :)

If the testing is finished we will merge it with our main branch and add your name to the contributors ;)

Thanks and we hope to hear more from you

Best regards,
Wout
Reply all
Reply to author
Forward
0 new messages