From 56b294cdecb271aea9b8181be3e6d317ba3facd9 Mon Sep 17 00:00:00 2001 From: mdb Date: Sat, 18 Aug 2001 02:39:36 +0000 Subject: [PATCH] Notes related to GNOME applet support. git-svn-id: https://samskivert.googlecode.com/svn/trunk@298 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- projects/lookuplet/ChangeLog | 6 ++++++ projects/lookuplet/NEWS | 9 ++++++++- projects/lookuplet/README | 27 ++++++++------------------- 3 files changed, 22 insertions(+), 20 deletions(-) diff --git a/projects/lookuplet/ChangeLog b/projects/lookuplet/ChangeLog index 3dd761c2..c3515af5 100644 --- a/projects/lookuplet/ChangeLog +++ b/projects/lookuplet/ChangeLog @@ -1,3 +1,9 @@ +2001-08-17 Michael Bayne + + * src/lookuplet.c: Got support for running as an applet working + again and modified the code to autodetect whether we're being run + as an applet. + 2001-08-16 Michael Bayne * projects/lookuplet/src/lookuplet.c: diff --git a/projects/lookuplet/NEWS b/projects/lookuplet/NEWS index fe48584b..b2a882ac 100644 --- a/projects/lookuplet/NEWS +++ b/projects/lookuplet/NEWS @@ -1,5 +1,12 @@ +* lookuplet-1.1 (2001-08-17) + +- Fixed support for running as an applet and made the code automatically + figure out whether or not do so. + +- Sorted out building things as a Debian package. + * lookuplet-1.0 (2001-08-16) - Initial release. -$Id: NEWS,v 1.2 2001/08/16 20:51:17 mdb Exp $ +$Id: NEWS,v 1.3 2001/08/18 02:39:36 mdb Exp $ diff --git a/projects/lookuplet/README b/projects/lookuplet/README index 639e9e02..c3d05823 100644 --- a/projects/lookuplet/README +++ b/projects/lookuplet/README @@ -18,8 +18,8 @@ efficient a manner as possible. Using lookuplet --------------- -When invoked, the lookuplet grabs the current selection and sticks it into -a text field for potential editing. You then press a key combination that +When invoked, lookuplet grabs the current selection and sticks it into a +text field for potential editing. You then press a key combination that you have previously configured and the text is sent either as an argument to an application or URL encoded and substituted into a URL which is then opened with your preferred web browser. @@ -38,6 +38,11 @@ combination and then press the key combination of your desired service. With such a configuration, the process of looking up information becomes extremely efficient in terms of key presses and mouse clicks. +lookuplet can also be loaded into the GNOME toolbar as an applet instead +of being run standalone. In that configuration it doesn't grab the +selection when it starts up, but instead assumes you'll be pasting text +into it's text field before pressing a key combination. + The key combinations used by lookuplet and the associated launch configuration are maintained via a simple graphical user interface. @@ -46,22 +51,6 @@ Building lookuplet Look at the INSTALL file for build instructions. - -GNOME Note ----------- - -Originally this program was a GNOME applet that lived in the GNOME -toolbar. Then I decided that sitting around consuming large amounts of -memory waiting while doing nothing wasn't such a good idea. So I modified -the code to operate as a standalone program (and added the selection -grabbing which turned out to be way more useful anyway). - -However, the code difference is extremely small and there are some -vestiges in the build framework that support building and installing -lookuplet as an applet. If someone were keen enough on having applet -support, it would be pretty easy to make that a compile-time configuration -option. - Distribution ------------ @@ -80,4 +69,4 @@ Enjoy, Michael Bayne -$Id: README,v 1.3 2001/08/16 20:41:10 mdb Exp $ +$Id: README,v 1.4 2001/08/18 02:39:36 mdb Exp $