Commit 4d67b0aa authored by Jon K Hellan's avatar Jon K Hellan Committed by Jon Kåre Hellan

dialog-printer.[ch] have been superseded by gnome-print dialogs. Remove.

2000-05-07  Jon K Hellan  <hellan@acm.org>

        * src/dialogs/Makefile.am: dialog-printer.[ch] have been
        superseded by gnome-print dialogs. Remove.

	* src/print.c (sheet_print): Make print button default. Add
	accelerators.

	* configure.in: Depend on gnome-print >= 0.19

        * plugins/python/Makefile.am: Include gnumeric-defs.py.
parent f1a420a0
2000-05-07 Jon K Hellan <hellan@acm.org>
* src/dialogs/Makefile.am: dialog-printer.[ch] have been
superseded by gnome-print dialogs. Remove.
* src/print.c (sheet_print): Make print button default. Add
accelerators.
* configure.in: Depend on gnome-print >= 0.19
2000-05-07 Jody Goldberg <jgoldberg@home.com>
* src/sheet-style.c (sheet_style_attach) : disable cache trash avoidance code.
......
2000-05-07 Jon K Hellan <hellan@acm.org>
* src/dialogs/Makefile.am: dialog-printer.[ch] have been
superseded by gnome-print dialogs. Remove.
* src/print.c (sheet_print): Make print button default. Add
accelerators.
* configure.in: Depend on gnome-print >= 0.19
2000-05-07 Jody Goldberg <jgoldberg@home.com>
* src/sheet-style.c (sheet_style_attach) : disable cache trash avoidance code.
......
2000-05-07 Jon K Hellan <hellan@acm.org>
* src/dialogs/Makefile.am: dialog-printer.[ch] have been
superseded by gnome-print dialogs. Remove.
* src/print.c (sheet_print): Make print button default. Add
accelerators.
* configure.in: Depend on gnome-print >= 0.19
2000-05-07 Jody Goldberg <jgoldberg@home.com>
* src/sheet-style.c (sheet_style_attach) : disable cache trash avoidance code.
......
2000-05-07 Jon K Hellan <hellan@acm.org>
* src/dialogs/Makefile.am: dialog-printer.[ch] have been
superseded by gnome-print dialogs. Remove.
* src/print.c (sheet_print): Make print button default. Add
accelerators.
* configure.in: Depend on gnome-print >= 0.19
2000-05-07 Jody Goldberg <jgoldberg@home.com>
* src/sheet-style.c (sheet_style_attach) : disable cache trash avoidance code.
......
2000-05-07 Jon K Hellan <hellan@acm.org>
* src/dialogs/Makefile.am: dialog-printer.[ch] have been
superseded by gnome-print dialogs. Remove.
* src/print.c (sheet_print): Make print button default. Add
accelerators.
* configure.in: Depend on gnome-print >= 0.19
2000-05-07 Jody Goldberg <jgoldberg@home.com>
* src/sheet-style.c (sheet_style_attach) : disable cache trash avoidance code.
......
2000-05-07 Jon K Hellan <hellan@acm.org>
* src/dialogs/Makefile.am: dialog-printer.[ch] have been
superseded by gnome-print dialogs. Remove.
* src/print.c (sheet_print): Make print button default. Add
accelerators.
* configure.in: Depend on gnome-print >= 0.19
2000-05-07 Jody Goldberg <jgoldberg@home.com>
* src/sheet-style.c (sheet_style_attach) : disable cache trash avoidance code.
......
2000-05-07 Jon K Hellan <hellan@acm.org>
* src/dialogs/Makefile.am: dialog-printer.[ch] have been
superseded by gnome-print dialogs. Remove.
* src/print.c (sheet_print): Make print button default. Add
accelerators.
* configure.in: Depend on gnome-print >= 0.19
2000-05-07 Jody Goldberg <jgoldberg@home.com>
* src/sheet-style.c (sheet_style_attach) : disable cache trash avoidance code.
......
......@@ -292,14 +292,14 @@ AC_SUBST(GB_LIBS)
dnl ******************************
dnl GnomePrint checking
dnl ******************************
AC_MSG_CHECKING(for GnomePrint libraries >= 0.18)
AC_MSG_CHECKING(for GnomePrint libraries >= 0.19)
if gnome-config --libs print > /dev/null 2>&1; then
vers=`gnome-config --modversion print | sed -e "s/gnome-print-//" | \
awk 'BEGIN { FS = "."; } { print $1 * 1000 + $2;}'`
if test "$vers" -ge 18; then
if test "$vers" -ge 19; then
AC_MSG_RESULT(found)
else
AC_MSG_ERROR(You need at least GNOME print 0.18 for this version of Gnumeric)
AC_MSG_ERROR(You need at least GNOME print 0.19 for this version of Gnumeric)
fi
else
AC_MSG_ERROR(Did not find GnomePrint installed)
......
2000-05-07 Jon K Hellan <hellan@acm.org>
* Makefile.am: Include gnumeric-defs.py.
2000-04-26 Jody Goldberg <jgoldberg@home.com>
* python.c (init_plugin) : Use gnumeric_sys_data_dir.
......
......@@ -12,5 +12,5 @@ gnum_python_la_SOURCES = python.c
gnum_python_la_LIBADD = -l$(PY_LIBS) $(PY_EXTRA_LIBS)
Pythonscriptsdir = $(gnumeric_pythondir)
Pythonscripts_DATA = gnumeric_startup.py
Pythonscripts_DATA = gnumeric_startup.py gnumeric_defs.py
EXTRA_DIST = $(Pythonscripts_DATA)
......@@ -37,8 +37,6 @@ libdialogs_a_SOURCES = \
dialog-delete-cells.c \
dialog-paste-special.c \
dialog-plugin-manager.c \
dialog-printer.c \
dialog-printer.h \
dialog-printer-setup.c \
dialog-sheet-order.c \
dialog-simple-input.c \
......
......@@ -12,6 +12,7 @@
#include <libgnomeprint/gnome-printer.h>
#include <libgnomeprint/gnome-print.h>
#include <libgnomeprint/gnome-printer-dialog.h>
#include <libgnomeprint/gnome-print-copies.h>
#include <libgnomeprint/gnome-print-master.h>
#include <libgnomeprint/gnome-print-master-preview.h>
......@@ -905,8 +906,11 @@ sheet_print (Sheet *sheet, gboolean preview, PrintRange default_range)
GNOME_PRINT_RANGE_CURRENT|GNOME_PRINT_RANGE_ALL|
GNOME_PRINT_RANGE_SELECTION|GNOME_PRINT_RANGE_RANGE,
1, workbook_sheet_count(sheet->workbook),
_("Active sheet"), _("Sheets"));
switch (gnumeric_dialog_run (sheet->workbook, GNOME_DIALOG(gpd))) {
_("Act_ive sheet"), _("S_heets"));
gnome_dialog_set_default (GNOME_DIALOG (gpd),
GNOME_PRINT_PRINT);
switch (gnumeric_dialog_run (sheet->workbook,
GNOME_DIALOG(gpd))) {
case GNOME_PRINT_PRINT:
break;
case GNOME_PRINT_PREVIEW:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment