Commit Graph

5453 Commits

Author SHA1 Message Date
Michael Natterer f63a7153ef Remove the toolbox menu:
2008-03-21  Michael Natterer  <mitch@gimp.org>

	Remove the toolbox menu:

	* configure.in: remove --enable-toolbox-menu option.

	* menus/Makefile.am
	* menus/toolbox-menu.xml.in: removed.

	* menus/image-menu.xml.in: add the debug menu here.

	* menus/menus.xsl: remove transformations depending on whether
	there is a toolbox menu or not.

	* app/menus/Makefile.am
	* app/menus/toolbox-menu.[ch]: removed.

	* app/menus/menus.c: remove the toolbox menu but keep the
	<Toolbox> UI manager around so we can configure its actions
	separate from normal docks.

	* app/actions/image-actions.c (image_actions): remove the action
	for the toolbox menubar.

	* app/widgets/gimptoolbox.c: remove all menu code.

	* app/plug-in/plug-in-menu-path.c: map plug-in registered toolbox
	menu items to their new location in the image menu
	unconditionally.

	* plug-ins/common/screenshot.c
	* plug-ins/common/uniteditor.c
	* plug-ins/script-fu/script-fu.c
	* plug-ins/script-fu/scripts/web-browser.scm
	* plug-ins/twain/twain.c
	* plug-ins/winsnap/winsnap.c: remove menu registrations under
	<Toolbox>/File and change <Toolbox>/Help to <Image>/Help. Leave
	<Toolbox>/Xtns untouched until its final location and name are
	decided.


svn path=/trunk/; revision=25156
2008-03-21 17:55:32 +00:00
Sven Neumann 4c50318b73 guard against g_vfs_get_supported_uri_schemes() returning NULL.
2008-03-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/uri/uri-backend-gio.c (get_protocols): guard against
	g_vfs_get_supported_uri_schemes() returning NULL.

svn path=/trunk/; revision=25140
2008-03-20 12:03:40 +00:00
Sven Neumann 0ce7241e45 make the dialogs transient to the progress window if no parent or screen
2008-03-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/uri/gimpmountoperation.c: make the dialogs transient to
	the progress window if no parent or screen has been set.

svn path=/trunk/; revision=25137
2008-03-20 10:24:48 +00:00
Sven Neumann 6c722dff53 added a sanity check and abort when the image is too large.
2008-03-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gif-save.c: added a sanity check and abort when
	the image is too large.

svn path=/trunk/; revision=25136
2008-03-20 09:29:04 +00:00
Sven Neumann 3899de098f fixed stupid bug.
2008-03-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/uri/uri-backend-gio.c (copy_uri): fixed stupid bug.

svn path=/trunk/; revision=25123
2008-03-19 11:04:14 +00:00
Sven Neumann 89433fe929 corrected last change.
2008-03-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/uri/uri-backend-gio.c (uri_progress_callback):
	corrected last change.

svn path=/trunk/; revision=25111
2008-03-18 16:33:01 +00:00
Sven Neumann b07875c2a6 only update the progress up to ten times per second.
2008-03-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/uri/uri-backend-gio.c: only update the progress up to
	ten times per second.

svn path=/trunk/; revision=25109
2008-03-18 11:16:59 +00:00
Sven Neumann 4636715154 set alternative button order on the password dialog (same change done in
2008-03-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/uri/gimpmountoperation.c: set alternative button order
	on the password dialog (same change done in GTK+).

svn path=/trunk/; revision=25108
2008-03-18 09:23:41 +00:00
Sven Neumann 3751a4ef99 plug-ins/uri/Makefile.am added a temporary copy of GtkMountOperation until
2008-03-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/uri/Makefile.am
        * plug-ins/uri/gimpmountoperation.[ch]: added a temporary copy of
	GtkMountOperation until we depend on the next stable GTK+ release.
	Converted to GIMP namespace to avoid symbol collisions.

	* plug-ins/uri/uri-backend-gio.c: use the new mount operation.

svn path=/trunk/; revision=25107
2008-03-18 09:16:22 +00:00
Sven Neumann 6c5c1ccdfe formatting.
2008-03-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c: formatting.

svn path=/trunk/; revision=25106
2008-03-17 14:44:23 +00:00
Michael Natterer 8955dffc24 set the original filename only if all pages were loaded as layers; if a
2008-03-13  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/tiff-load.c (load_image): set the original
	filename only if all pages were loaded as layers; if a subset was
	loaded, set the filename to "<filename>.tiff-n-of-m-pages" so a
	simple "save" won't overwrite the original file without the user
	changing the filename explicitely.


svn path=/trunk/; revision=25103
2008-03-13 17:11:06 +00:00
Sven Neumann 671cdc17db set a filename on the image, even when not all images are imported as
2008-03-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tiff-load.c (load_image): set a filename on the
	image, even when not all images are imported as layers (bug #521436).

svn path=/trunk/; revision=25100
2008-03-13 13:03:32 +00:00
Sven Neumann 364dacd0c0 don't forget to set the state of the anon toggle
svn path=/trunk/; revision=25099
2008-03-12 17:43:56 +00:00
Sven Neumann f9a7cdf6d4 some minor improvements to the password dialog
svn path=/trunk/; revision=25098
2008-03-12 17:34:44 +00:00
Sven Neumann aa8ee58365 ref the operation while the dialogs are active
svn path=/trunk/; revision=25097
2008-03-12 17:23:49 +00:00
Sven Neumann e535a37ebf improved password dialog.
2008-03-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/uri/uri-backend-gio.c: improved password dialog.


svn path=/trunk/; revision=25096
2008-03-12 17:19:57 +00:00
Michael Natterer bc9424a2b5 app/actions/data-commands.c app/actions/debug-commands.c
2008-03-12  Michael Natterer  <mitch@gimp.org>

	* app/actions/data-commands.c
	* app/actions/debug-commands.c
	* app/actions/dockable-commands.c
	* app/dialogs/stroke-dialog.c
	* app/display/gimpdisplayshell-handlers.c
	* app/gui/gui-message.c
	* app/gui/gui.c
	* app/tools/gimpforegroundselectoptions.c
	* app/tools/gimpinkoptions-gui.c
	* app/widgets/gimpcolordialog.c
	* app/widgets/gimpcontainerpopup.c
	* app/widgets/gimpcontainerview-utils.c
	* app/widgets/gimpdock.c
	* app/widgets/gimpdockable.c
	* app/widgets/gimpsessioninfo-book.c
	* app/widgets/gimpsessioninfo-dock.c
	* app/widgets/gimptoolbox.c
	* app/widgets/gimpunitcombobox.c
	* app/widgets/gimpviewablebox.c
	* libgimp/gimpexport.c
	* libgimpmodule/gimpmodule.h
	* libgimpwidgets/gimpenumwidgets.c
	* libgimpwidgets/gimpframe.c
	* libgimpwidgets/gimpoldwidgets.c
	* libgimpwidgets/gimpwidgets.c
	* plug-ins/MapObject/mapobject_ui.c
	* plug-ins/common/papertile.c
	* plug-ins/common/sinus.c
	* plug-ins/flame/flame.c
	* plug-ins/helpbrowser/gimpthrobber.c
	* plug-ins/script-fu/scheme-wrapper.c
	* plug-ins/script-fu/script-fu-console.c: use accessors instead of
	accessing GtkBin.child and GtkPaned.child1,2 directly.


svn path=/trunk/; revision=25095
2008-03-12 16:58:28 +00:00
Sven Neumann b811506a12 fixed mount_operation_anon_toggled()
svn path=/trunk/; revision=25094
2008-03-12 16:23:11 +00:00
Sven Neumann 40e633bab2 added password and question dialogs needed for mounting volumes. This code
2008-03-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/uri/uri-backend-gio.c: added password and question
	dialogs needed for mounting volumes. This code is untested.



svn path=/trunk/; revision=25093
2008-03-12 16:06:15 +00:00
Sven Neumann 9fd0c03870 updated copyright.
2008-03-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/uri/uri.c: updated copyright.

	* plug-ins/uri/uri-backend-gio.c: ask the GVfs backend for the
	supported URI schemes.


svn path=/trunk/; revision=25091
2008-03-12 13:55:27 +00:00
Sven Neumann 48c3389a18 improved error handling.
2008-03-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/uri/uri-backend-gio.c: improved error handling.


svn path=/trunk/; revision=25086
2008-03-11 21:34:00 +00:00
Sven Neumann 675f734b15 INSTALL added --without-gio configure option.
2008-03-11  Sven Neumann  <sven@gimp.org>

	* INSTALL
	* configure.in: added --without-gio configure option.

	* plug-ins/uri/Makefile.am: prefer the GIO backend.

	* plug-ins/uri/uri-backend-gio.c
	* plug-ins/uri/uri-backend-libcurl.c
	* plug-ins/uri/uri-backend-gnomevfs.c: improved progress 
messages.


svn path=/trunk/; revision=25085
2008-03-11 18:45:54 +00:00
Sven Neumann 10a6af62ba added a check for gio-2.0.
2008-03-11  Sven Neumann  <sven@gimp.org>

	* configure.in: added a check for gio-2.0.

	* plug-ins/uri/Makefile.am
	* plug-ins/uri/uri-backend-gio.c: added a first draft of an URI
	plug-in based on GIO/GVfs.

svn path=/trunk/; revision=25084
2008-03-11 16:22:39 +00:00
Sven Neumann f1a7ab78c0 removed unused field.
2008-02-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print.h (struct PrintData): removed unused 
field.

	* plug-ins/print/print-page-layout.c: set a minimum size of 
1/100
	of the paper size.


svn path=/trunk/; revision=24986
2008-02-26 20:49:19 +00:00
Sven Neumann c5de94edeb plug-ins/print/print-page-layout.[ch] pressing F1 on the "Image Settings"
2008-02-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-page-layout.[ch]
	* plug-ins/print/print.c: pressing F1 on the "Image Settings" 
tab
	calls the GIMP help browser.


svn path=/trunk/; revision=24984
2008-02-26 20:06:30 +00:00
Sven Neumann fff02fb02e take the reading direction into account and do the right thing for RTL
2008-02-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-preview.c: take the reading direction 
into
	account and do the right thing for RTL languages.


svn path=/trunk/; revision=24982
2008-02-26 18:46:20 +00:00
Kevin Cozens bde85d9423 Commited slightly modified patch from LightningIsMyName. Fixes bug
2008-02-26  Kevin Cozens  <kcozens@cvs.gnome.org>

        * plug-ins/script-fu/scripts/frosty-logo.scm: Commited slightly
        modified patch from LightningIsMyName. Fixes bug #472316. The
	appearance of the sparkle layer could be better.

svn path=/trunk/; revision=24980
2008-02-26 18:32:39 +00:00
Sven Neumann 07db25d36a create a Cairo image surface from the data returned from
2008-02-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-preview.c: create a Cairo image surface
	from the data returned from gimp_drawable_get_thumbnail() instead
	of using an intermediate GdkPixbuf. This code should eventually
	end up in libgimpui.

svn path=/trunk/; revision=24971
2008-02-26 14:49:54 +00:00
Sven Neumann 370806b9ab Allocate a 1 pixel extra border around the preview to avoid redraw
bugs due to rounding errors when changing the paper orientation.

svn path=/trunk/; revision=24969
2008-02-26 14:04:03 +00:00
Sven Neumann 978c0af41e plug-ins/print/print-preview.c let the preview widget allocate a
2008-02-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-preview.c
	* plug-ins/print/print-page-layout.c: let the preview widget
	allocate a reasonable size.

svn path=/trunk/; revision=24967
2008-02-26 13:58:29 +00:00
Sven Neumann ec9212d00a use a different cursor when dragging, just like GimpScrolledPreview.
2008-02-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-preview.c: use a different cursor when
	dragging, just like GimpScrolledPreview.

svn path=/trunk/; revision=24966
2008-02-26 09:57:09 +00:00
Sven Neumann d5b63146a7 derive from GtkEventBox and draw on the parent window.
2008-02-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-preview.[ch]: derive from GtkEventBox and
	draw on the parent window.

	* plug-ins/print/print-page-layout.c: tweaked dialog layout.


svn path=/trunk/; revision=24964
2008-02-26 08:26:32 +00:00
Sven Neumann 8626406371 some cleanups and a bug-fix for my last commit here
svn path=/trunk/; revision=24963
2008-02-25 21:21:15 +00:00
Sven Neumann 13fcc89bc1 plug-ins/print/Makefile.am added new files with utility functions.
2008-02-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/Makefile.am
	* plug-ins/print/print-utils.[ch]: added new files with utility
	functions.

	* plug-ins/print/print-settings.c: use the new utility
	functions for loading and saving GKeyFile.

	* plug-ins/print/print-page-setup.[ch]
	* plug-ins/print/print.c: also store the page setup in an image
	parasite. Fixes most of what remained to be done for bug 
#513291.


svn path=/trunk/; revision=24960
2008-02-25 20:40:22 +00:00
Sven Neumann afc10516d7 plug-ins/print/print-settings.[ch] code cleanup.
2008-02-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-settings.[ch]
	* plug-ins/print/print.c: code cleanup.


svn path=/trunk/; revision=24959
2008-02-25 18:59:04 +00:00
Sven Neumann 18560c556b use g_timeout_add_seconds().
2008-02-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print.c (end_print): use g_timeout_add_seconds().

svn path=/trunk/; revision=24958
2008-02-25 15:06:03 +00:00
Sven Neumann a6e5926376 added missing call to gtk_print_operation_set_unit().
2008-02-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print.c (print_image): added missing call to
	gtk_print_operation_set_unit().


svn path=/trunk/; revision=24952
2008-02-24 13:08:51 +00:00
Sven Neumann f9b9d4b21e use GTK_STOCK_PAGE_SETUP when compiled against GTK+ >= 2.13.0.
2008-02-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print.c: use GTK_STOCK_PAGE_SETUP when compiled
	against GTK+ >= 2.13.0.

svn path=/trunk/; revision=24949
2008-02-22 13:42:47 +00:00
Sven Neumann 7e9a5f7fe8 plug-ins/print/print.c added support for grayscale images so we don't need
2008-02-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print.c
	* plug-ins/print/print-draw-page.c: added support for grayscale
	images so we don't need to go through an extra export step.

svn path=/trunk/; revision=24947
2008-02-22 10:13:25 +00:00
Sven Neumann 8519952152 plug-ins/print/print.c code cleanup.
2008-02-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print.c
	* plug-ins/print/print-draw-page.[ch]: code cleanup.

svn path=/trunk/; revision=24946
2008-02-22 10:03:01 +00:00
Sven Neumann 1463ee4de2 plug-ins/common/tileit.c plug-ins/common/warp.c fixed the same problem as
2008-02-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tileit.c
	* plug-ins/common/warp.c
	* plug-ins/common/struc.c: fixed the same problem as in the Wind
	plug-in here as well (see bug #516369).

svn path=/trunk/; revision=24944
2008-02-22 09:39:50 +00:00
Sven Neumann cadf7e292f when printing an image with alpha channel, use a Cairo surface with alpha
2008-02-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-draw-page.c (draw_page_cairo): when
	printing an image with alpha channel, use a Cairo surface with
	alpha channel instead of doing a blend on a white background.


svn path=/trunk/; revision=24943
2008-02-22 08:44:53 +00:00
Sven Neumann a6a653c7b0 access the pixels tile-by-tile instead of row-by-row.
2008-02-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-draw-page.c (draw_page_cairo): access the
	pixels tile-by-tile instead of row-by-row.


svn path=/trunk/; revision=24942
2008-02-22 08:34:42 +00:00
Sven Neumann c2af4a13fd fixed the same bug in another place
svn path=/trunk/; revision=24939
2008-02-22 07:43:21 +00:00
Sven Neumann 5c5d221cf5 fixed call to gimp_drawable_mask_intersect() which was causing a crash as
2008-02-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/wind.c (render_wind): fixed call to
	gimp_drawable_mask_intersect() which was causing a crash as
	reported in bug #516369.


svn path=/trunk/; revision=24937
2008-02-22 07:38:38 +00:00
Sven Neumann 3e6a6d1a4d code cleanup.
2008-02-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-preview.[ch]: code cleanup.

svn path=/trunk/; revision=24932
2008-02-21 11:24:12 +00:00
Sven Neumann 40375e8a7a provide feedback when hovering over the preview.
2008-02-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-preview.c: provide feedback when hovering
	over the preview.


svn path=/trunk/; revision=24931
2008-02-21 08:54:24 +00:00
Sven Neumann 346b42612f changed drawing so that strokes are not scaled.
2008-02-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-preview.c 
(gimp_print_preview_expose_event):
	changed drawing so that strokes are not scaled.


svn path=/trunk/; revision=24930
2008-02-21 08:11:32 +00:00
Sven Neumann 634b180023 code cleanup. Always draw the preview.
2008-02-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-preview.c 
(gimp_print_preview_expose_event):
	code cleanup. Always draw the preview.



svn path=/trunk/; revision=24926
2008-02-19 19:56:41 +00:00
William Skaggs e824a1e36a Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/jpeg/jpeg-exif.c: correctly record dimensions when
	saving an image.  Fixes bug #517077.

svn path=/trunk/; revision=24924
2008-02-19 19:37:05 +00:00