Re: ANNOUNCE: Deskbar Applet 0.3



On Wed, 2005-06-15 at 15:58 +0200, Johan Svedberg wrote:
> * Jun 15 10:22 Nigel Tao <nigel tao myrealbox com>:
> > And as a full-blown application, Epiphany gets a global keyboard
> > shortcut, which (AFAICT) an applet cannot.
> 
> I think it can, IIRC tomboy does this.

Off the top of my head (I currently don't have tomboy installed, so I
might be just plain wrong), tomboy has a shortcut to open a new window
(i.e., a new note), but I want a shortcut to shift focus to an existing
window (or, more precisely, a GtkEntry inside an applet inside a panel).
This may or may not be an important difference.  I tried to code
something up a number of months back, pre-2.10, but got stuck.  It might
be easier now, with the new request_focus API.  One more for the TODO
list, I guess.  :)

Also, possibly off-topic, tomboy's keybinding code is some Xlib magic,
written in C (as opposed to the rest of Tomboy, in C#), rather than a
GNOME or GTK API.  If I wanted to re-use the code, but not just blind
copy-and-paste, what's the process for bumping such a thing up into
GNOME, and where should it live?  libegg?

Nigel.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]