2000-11-12 Henning Meier-Geinitz <hmg@gmx.de>

* README: Added information for developers and link to SANE website.
	* TODO: Updated.
	* INSTALL: Added link to GIMP website.
	* src/xcam.c: Application is exited when window is closed (by
	  window manager)
DEVEL_2_0_BRANCH-1
Henning Geinitz 2000-11-12 17:10:55 +00:00
rodzic 0fdbcfd396
commit 526e45af99
4 zmienionych plików z 27 dodań i 11 usunięć

Wyświetl plik

@ -8,6 +8,7 @@ Quick install:
make
make install
- You must install the sane-backends package before you can configure this
package. If you use pre-compiled binaries (e.g. from your distribution) you
will also have to install the SANE headers (maybe in a package called
@ -18,7 +19,7 @@ make install
its header files. GTK can be found at http://www.gtk.org/.
- If you want to use xscanimage as a GIMP plug-in, the GIMP libraries and
headers are necessary.
headers are necessary. See http://www.gimp.org/.
- If you get an error message that libsane-dll.so.1 or libsane-so.1 is not
found, you have to tell your system where the SANE-libraries are installed.

15
README
Wyświetl plik

@ -1,7 +1,11 @@
This is the sane-frontends package.
This is the sane-frontends package.
These frontends are included in this package (together with their
documentation):
To find out more about SANE (Scanner Access Now Easy) look at the SANE
website: http://www.mostang.com/sane/. There is also information on how to
subscribe the SANE-mailinglist (sane-devel).
These SANE applications (frontends) are included in this package (together
with their documentation):
Frontend Documentation (man page)
--------------------------------------------------------------------------
@ -26,6 +30,9 @@ The following frontends can be downloaded seperately:
sanecgi (http://www.boutell.com/sanecgi/)
A web interface to all SANE-compatible scanners
See also http://panda.mostang.com/sane/sane-frontends.html for a list of
See also http://www.mostang.com/sane/sane-frontends.html for a list of
frontends.
Developers may wish to look at the SANE standard (sane.tex). It can be found
in the sane-backends distribution or in various file formats at the website:
http://www.mostang.com/sane/docs.html

9
TODO
Wyświetl plik

@ -1,4 +1,4 @@
TODO (2000-11-11)
TODO (2000-11-12)
******** todo ********
@ -37,11 +37,6 @@ TODO (2000-11-11)
with old GIMP versions if possible. Maybe two source/header files
for compatibility with old API?
* xcam: if the user quits xcam by the window manager, the process isn't
killed, only the window is closed
* remove compiler warnings
* Test frontends on different os/platforms, fix possible compilation
problems
@ -49,6 +44,8 @@ TODO (2000-11-11)
******** done ********
* xcam: if the user quits xcam by the window manager, the process isn't
killed, only the window is closed
* Remove frontends (at least xscanimage/xcam) from distribution. Create
new package for frontends.

Wyświetl plik

@ -878,6 +878,15 @@ xcam_exit (void)
gtk_exit (0);
}
/* Invoked when window manager's "delete" (or "close") function is
invoked. */
static gint
xcam_win_delete (GtkWidget *w, gpointer data)
{
xcam_exit();
return FALSE;
}
int
main (int argc, char **argv)
{
@ -904,6 +913,8 @@ main (int argc, char **argv)
win.gdk_input_tag = -1;
win.shell = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_window_set_title (GTK_WINDOW (win.shell), (char *) prog_name);
gtk_signal_connect (GTK_OBJECT (win.shell), "delete_event",
GTK_SIGNAL_FUNC (xcam_win_delete), NULL);
vbox = gtk_vbox_new (FALSE, 0);
gtk_container_border_width (GTK_CONTAINER (vbox), 0);