1. 07 Feb, 2007 1 commit
    • Sven Neumann's avatar
      app/actions/view-actions.c app/actions/view-commands.[ch] · ea4ed72e
      Sven Neumann authored
      2007-02-07  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/view-actions.c
      	* app/actions/view-commands.[ch]
      	* app/display/gimpdisplayshell.[ch]
      	* app/display/gimpdisplayshell-scale.[ch]
      	* app/widgets/gimphelp-ids.h
      	* menus/image-menu.xml.in: applied patch from Robert Helgesson 
      that
      	adds "Revert Zoom" functionality (bug #338168).
      
      
      svn path=/trunk/; revision=21855
      ea4ed72e
  2. 09 Dec, 2006 1 commit
  3. 15 Oct, 2006 1 commit
    • Michael Natterer's avatar
      Applied slightly modified patch from Martin Nordholts which implements · 8354a781
      Michael Natterer authored
      2006-10-15  Michael Natterer  <mitch@gimp.org>
      
      	Applied slightly modified patch from Martin Nordholts which
      	implements more fine-grained steps for actions. Fixes bug #165612.
      
      	* app/actions/actions-types.h: add additional values to
      	enum GimpActionSelectType.
      
      	* app/actions/actions.[ch] (action_select_value)
      	(action_select_property): handle them here and added "small_inc"
      	and "delta_factor" parameters.
      
      	* app/actions/context-actions.c: added small and percent actions
      	for the brush radius.
      
      	* app/actions/context-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/tools-commands.c
      	* app/actions/view-commands.c: pass small and percent increase
      	values to the action_select_foo() functions.
      
      	* app/actions/context-commands.c (context_brush_radius_cmd_callback):
      	make sure we don't end up with 1.1, 2.1 etc brush radius values.
      8354a781
  4. 01 Sep, 2006 1 commit
    • Michael Natterer's avatar
      added GimpContext parameters and create the GimpView with that context. · a6dbb78d
      Michael Natterer authored
      2006-09-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpviewabledialog.[ch]: added GimpContext
      	parameters and create the GimpView with that context.
      
      	* app/widgets/gimpcolordialog.[ch]
      	* app/dialogs/convert-dialog.[ch]
      	* app/dialogs/desaturate-dialog.[ch]
      	* app/dialogs/grid-dialog.[ch]
      	* app/dialogs/image-properties-dialog.[ch]
      	* app/dialogs/layer-add-mask-dialog.[ch]
      	* app/dialogs/offset-dialog.[ch]
      	* app/dialogs/print-size-dialog.[ch]
      	* app/dialogs/resize-dialog.[ch]
      	* app/dialogs/scale-dialog.[ch]
      	* app/dialogs/stroke-dialog.[ch]
      	* app/dialogs/template-options-dialog.[ch]
      	* app/dialogs/vectors-options-dialog.[ch]: added GimpContext
      	parameters here too and pass them to gimp_viewable_dialog_new().
      
      	* app/actions/colormap-editor-commands.c
      	* app/actions/drawable-commands.c
      	* app/actions/gradient-editor-commands.c
      	* app/actions/image-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/palette-editor-commands.c
      	* app/actions/select-commands.c
      	* app/actions/vectors-commands.c
      	* app/actions/view-commands.c
      	* app/dialogs/channel-options-dialog.c
      	* app/dialogs/dialogs-constructors.c
      	* app/dialogs/image-merge-layers-dialog.c
      	* app/dialogs/image-scale-dialog.c
      	* app/dialogs/layer-options-dialog.c
      	* app/display/gimpdisplayshell-filter-dialog.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectortool.c
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimpcontrollereditor.c
      	* app/widgets/gimpcontrollerlist.c
      	* app/widgets/gimptoolbox-color-area.c: pass contexts to above
      	dialog constructors.
      a6dbb78d
  5. 28 Mar, 2006 2 commits
  6. 17 Nov, 2005 1 commit
    • Michael Natterer's avatar
      connect to GdkDisplayManager and automatically add/remove move-to-screen · 8b6b8f41
      Michael Natterer authored
      2005-11-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/window-actions.[ch]: connect to GdkDisplayManager
      	and automatically add/remove move-to-screen actions when
      	displays are opened/closed.
      
      	* app/menus/window-menu.c: added similar code here to add/remove
      	menu items for the above actions.
      
      	* app/actions/Makefile.am
      	* app/actions/window-commands.[ch]: new files containing window
      	close and move-to-screen callbacks. There is no need to implement
      	these twice for GimpDock and GimpDisplay.
      
      	* app/actions/dock-commands.[ch]
      	* app/actions/view-commands.[ch]: remove the callbacks here.
      
      	* app/actions/dock-actions.c
      	* app/actions/view-actions.c: changed accordingly.
      8b6b8f41
  7. 25 Sep, 2005 2 commits
    • Sven Neumann's avatar
      libgimpwidgets/gimpwidgets.def added gimp_zoom_model_zoom() and changed · 1f0aff2b
      Sven Neumann authored
      2005-09-25  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpwidgets.def
      	* libgimpwidgets/gimpzoommodel.[ch]: added gimp_zoom_model_zoom()
      	and changed gimp_zoom_model_get_fraction() to take a model instead
      	of the zoom factor.
      
      	* app/display/gimpdisplayshell.[ch]: use a GimpZoomModel for the
      	display scale factor.
      
      	* app/actions/image-commands.c
      	* app/actions/view-actions.c
      	* app/actions/view-commands.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-title.c
      	* app/display/gimpnavigationeditor.c
      	* app/display/gimpstatusbar.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpmagnifytool.c: changed accordingly.
      1f0aff2b
    • Sven Neumann's avatar
      added more values to the GimpZoomType enum. · 13ebb1ca
      Sven Neumann authored
      2005-09-25  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpwidgetsenums.h: added more values to the
      	GimpZoomType enum.
      
      	* libgimpwidgets/gimpzoommodel.c (gimp_zoom_model_zoom_step):
      	handle the new enum values.
      
      	* app/actions/view-commands.c (view_zoom_cmd_callback) use the new
      	values.
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_new): cosmetics.
      13ebb1ca
  8. 24 Sep, 2005 2 commits
    • Michael Natterer's avatar
      app/actions/view-actions.c de-uglify callback names for "new" and "close". · 0e36f721
      Michael Natterer authored
      2005-09-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/view-actions.c
      	* app/actions/view-commands.[ch]: de-uglify callback names for
      	"new" and "close".
      0e36f721
    • David Odin's avatar
      Moved the GimpZoomType enum from here... · f94f48f1
      David Odin authored
      * app/widgets/widgets-enums.h: Moved the GimpZoomType enum from	here...
      
      * libgimpwidgets/gimpwidgetsenums.h: ...to here.
      
      * app/widgets/widgets-enums.c
      * libgimpwidgets/gimpwidgetsenums.c: regenerated.
      
      * app/display/gimpdisplayshell-scale.[ch]: removed
        gimp_display_shell_scale_zoom_step and
        gimp_display_shell_scale_get_fraction from here...
      
      * libgimpwidgets/gimpzoommodel.[ch]: ... to here so we can use these
        utility functions in plug-ins and in the core.
        Also removed the step-size property since the zoom-model now use
        gimp_zoom_model_zoom_step.
      
      * app/actions/view-commands.c
      * app/display/gimpdisplayshell-title.c
      * app/display/gimpdisplayshell.c
      * app/tools/gimpmagnifytool.c: modified accordingly.
      
      * libgimp/gimpzoompreview.c: don't pass any argument to the
        gimp_zoom_model_new function.
      
      * libgimpwidgets/gimpwidgets.def: added gimp_zoom_model_zoom_step
        (gimp_zoom_model_get_fraction was already there)
      
      * devel-docs/app/app-sections.txt: removed
        gimp_display_shell_scale_zoom_step and
        gimp_display_shell_scale_get_fraction.
      f94f48f1
  9. 04 Apr, 2005 1 commit
    • Michael Natterer's avatar
      app/dialogs/Makefile.am removed. · ac8e7db9
      Michael Natterer authored
      2005-04-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/dialogs/Makefile.am
      	* app/dialogs/info-window.[ch]: removed.
      
      	* app/actions/view-actions.c
      	* app/actions/view-commands.[ch]
      	* menus/image-menu.xml.in: removed its action and menu stuff.
      
      	* app/display/gimpdisplayshell-cursor.c
      	* app/display/gimpdisplayshell-title.c
      	* app/display/gimpdisplayshell.[ch]: removed info window stuff.
      	This was the last display -> dialogs dependency.
      
      	* app/dialogs/dialogs.c: added ugly hack that references
      	info_dialog. Otherwise the still existing tools -> dialogs
      	dependency breaks the build.
      ac8e7db9
  10. 05 Mar, 2005 1 commit
    • Michael Natterer's avatar
      app/actions/view-actions.c app/actions/view-commands.[ch] · be6a9d2a
      Michael Natterer authored
      2005-03-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/view-actions.c
      	* app/actions/view-commands.[ch]
      	* app/config/gimprc-blurbs.h
      	* app/core/core-enums.[ch]
      	* app/core/gimp.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-undo-push.[ch]
      	* app/core/gimpimage.c
      	* app/display/gimpdisplayoptions.[ch]
      	* app/display/gimpdisplayshell-appearance.[ch]
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-draw.[ch]
      	* app/widgets/gimphelp-ids.h
      	* menus/image-menu.xml.in: reordered stuff to be in guides, grid,
      	sample points order. Some cleanup and indentation.
      be6a9d2a
  11. 04 Mar, 2005 1 commit
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · ea267753
      William Skaggs authored
      	* app/core/gimpimage-sample-points.c
      	* app/core/gimpimage-sample-points.h: new files
      
      	* app/actions/view-actions.c
      	* app/actions/view-commands.c
      	* app/actions/view-commands.h
      	* app/config/gimprc-blurbs.h
      	* app/core/Makefile.am
      	* app/core/core-enums.c
      	* app/core/core-enums.h
      	* app/core/core-types.h
      	* app/core/gimp.c
      	* app/core/gimp.h
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-flip.c
      	* app/core/gimpimage-rotate.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage-undo-push.c
      	* app/core/gimpimage-undo-push.h
      	* app/core/gimpimage.c
      	* app/core/gimpimage.h
      	* app/display/gimpdisplayoptions.c
      	* app/display/gimpdisplayoptions.h
      	* app/display/gimpdisplayshell-appearance.c
      	* app/display/gimpdisplayshell-appearance.h
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-draw.c
      	* app/display/gimpdisplayshell-draw.h
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell.c
      	* app/display/gimpdisplayshell.h
      	* app/widgets/gimphelp-ids.h
      	* menus/image-menu.xml.in: add support for a list of "sample
      	points" in each image, coded and handled very similarly to
      	guides, for use mainly in color correction.  See bug #137776.
      ea267753
  12. 28 Jan, 2005 1 commit
    • Michael Natterer's avatar
      app/actions/Makefile.am new files holding utility functions to create · b0f83a4b
      Michael Natterer authored
      2005-01-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/Makefile.am
      	* app/actions/window-actions.[ch]: new files holding utility
      	functions to create actions to move windows to other screens.
      
      	* app/actions/dock-actions.c
      	* app/actions/dock-commands.[ch]
      	* app/actions/view-actions.c
      	* app/actions/view-commands.[ch]: use the new actions instead of
      	the change screen dialog.
      
      	* app/menus/Makefile.am
      	* app/menus/window-menu.[ch]: new files which create menu items
      	for above actions.
      
      	* app/menus/dockable-menu.[ch]: new files using above window-menu
      	utility functions.
      
      	* app/menus/image-menu.c: use them here too.
      
      	* app/menus/menus.c: set a setup_func for the "<Dockable>"
      	UI manager.
      
      	* menus/dockable-menu.xml.in
      	* menus/image-menu.xml.in: changed accordingly.
      b0f83a4b
  13. 03 Jan, 2005 2 commits
    • Michael Natterer's avatar
      app/actions/view-actions.c app/actions/view-commands.[ch] · 4a0b9cb6
      Michael Natterer authored
      2005-01-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/view-actions.c
      	* app/actions/view-commands.[ch]
      	* app/display/gimpdisplayshell-appearance.[ch]
      	* menus/image-menu.xml.in: reordered actions, functions and menu
      	items so the "show" and "snap" actions are grouped.
      4a0b9cb6
    • Michael Natterer's avatar
      Implemented "Snap to Canvas Edges" (fixes bug #152971) and "Snap to Active · 150bea1e
      Michael Natterer authored
      2005-01-03  Michael Natterer  <mitch@gimp.org>
      
      	Implemented "Snap to Canvas Edges" (fixes bug #152971) and
      	"Snap to Active Path" (half way done):
      
      	* app/core/gimpimage-snap.[ch]: added boolean snap_to_canvas and
      	snap_to_vectors parameters (snap_to_vectors works fine when
      	snapping to a point, but is unimplemented for snapping to a
      	rectangle).
      
      	* app/display/gimpdisplayshell.[ch] (struct GimpDisplayShell):
      	added snap_to_canvas and snap_to_vectors booleans.
      
      	* app/display/gimpdisplayshell-appearance.[ch]: added API to
      	get/set them.
      
      	* app/actions/view-actions.c
      	* app/actions/view-commands.[ch]
      	* app/widgets/gimphelp-ids.h: added actions, callbacks and help IDs.
      
      	* menus/image-menu.xml.in: added them to Image->View.
      150bea1e
  14. 14 Nov, 2004 1 commit
    • Manish Singh's avatar
      Fix a bunch of warnings from Sparse: · 5d015810
      Manish Singh authored
      2004-11-13  Manish Singh  <yosh@gimp.org>
      
              Fix a bunch of warnings from Sparse:
      
              * app/actions/dockable-commands.c
              * app/actions/layers-actions.c
              * app/actions/view-commands.c
              * app/base/pixel-surround.c
              * app/config/gimpconfig-utils.c
              * app/config/gimpscanner.c
              * app/core/gimpbrushgenerated.c
              * app/core/gimpcontainer.c
              * app/core/gimpimage.c
              * app/dialogs/palette-import-dialog.c
              * app/file/gimprecentlist.c
              * app/plug-in/plug-in-params.c
              * app/text/gimptext-compat.c
              * app/text/gimptext-parasite.c
              * app/vectors/gimpbezierstroke.c
              * app/vectors/gimpstroke.c
              * app/widgets/gimpcellrendereraccel.c
              * app/widgets/gimpselectiondata.c
              * app/xcf/xcf.c
              * libgimp/gimp.c
              * libgimpthumb/gimpthumb-utils.c
              * libgimpthumb/gimpthumbnail.c
              * modules/cdisplay_proof.c
              * plug-ins/Lighting/lighting_ui.c
              * plug-ins/common/csource.c
              * plug-ins/common/glasstile.c
              * plug-ins/common/nova.c
              * plug-ins/common/pcx.c
              * plug-ins/common/pnm.c
              * plug-ins/common/randomize.c
              * plug-ins/common/screenshot.c
              * plug-ins/common/sel_gauss.c
              * plug-ins/common/spheredesigner.c
              * plug-ins/common/wind.c
              * plug-ins/gfig/gfig-dialog.c
              * plug-ins/gfig/gfig-dobject.c
              * plug-ins/gimpressionist/gimpressionist.c
              * plug-ins/ifscompose/ifscompose.c
              * plug-ins/print/gimp_main_window.c
              * plug-ins/print/print.c: Cleanup integer vs. pointer confusion.
      
              * app/base/temp-buf.c
              * app/dialogs/about-dialog.c
              * plug-ins/common/bumpmap.c
              * plug-ins/common/jigsaw.c
              * plug-ins/gfig/gfig-dobject.c: Cosmetic cleanups.
      
              * app/config/gimpconfig-deserialize.c
              * app/config/gimpconfig-path.c
              * app/config/gimpconfigwriter.c
              * app/core/gimpgradient.c
              * app/tools/gimpdrawtool.c
              * plug-ins/common/nlfilt.c
              * plug-ins/common/unsharp.c
              * plug-ins/common/zealouscrop.c: Define inline functions before they
              are used.
      
              * app/core/gimpdrawable-blend.c: PixelRegion definition was changed
              some time ago, but the initialization here didn't change. Fix it.
      
              * app/plug-in/plug-in-rc.c (plug_in_extra_deserialize): No need to
              assign token twice in a row.
      
              * libgimpbase/gimpdatafiles.c (gimp_datafiles_read_directories): No
              need to initialize file_data, since the code fills out all the fields.
      
              * plug-ins/common/CML_explorer.c
              * plug-ins/common/vpropagate.c: Declare function pointers fully.
      
              * plug-ins/common/grid.c (pix_composite): G_INLINE_FUNC isn't needed,
              we assume we can use the "inline" keyword always.
      
              * plug-ins/common/psd_save.c
              * plug-ins/common/vinvert.c
              * plug-ins/gfig/gfig-arc.c
              * plug-ins/gfig/gfig-bezier.c
              * plug-ins/gfig/gfig-circle.c
              * plug-ins/gfig/gfig-dialog.c
              * plug-ins/gfig/gfig-dobject.c
              * plug-ins/gfig/gfig-ellipse.c
              * plug-ins/gfig/gfig-line.c
              * plug-ins/gfig/gfig-poly.c
              * plug-ins/gfig/gfig-spiral.c
              * plug-ins/gfig/gfig-star.c
              * plug-ins/gfig/gfig.c
              * plug-ins/gimpressionist/orientmap.c
              * plug-ins/gimpressionist/placement.c
              * plug-ins/gimpressionist/sizemap.c
              * plug-ins/imagemap/imap_grid.c
              * plug-ins/imagemap/imap_main.c
              * plug-ins/imagemap/imap_preferences.c
              * plug-ins/imagemap/imap_settings.c
              * plug-ins/maze/maze.c
              * plug-ins/sel2path/curve.c
              * plug-ins/sel2path/fit.c
              * plug-ins/sel2path/pxl-outline.c
              * plug-ins/sel2path/spline.c
              * plug-ins/xjt/xjt.c: Functions with no args should be declared
              with (void).
      
              * plug-ins/common/retinex.c (MSRCR): Initialize max_preview to quiet
              the compiler.
      5d015810
  15. 23 Oct, 2004 1 commit
    • Michael Natterer's avatar
      don't g_return_if_fail() if there is no active drawable, just silently · fa79ae28
      Michael Natterer authored
      2004-10-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/file-commands.c (file_save_cmd_callback): don't
      	g_return_if_fail() if there is no active drawable, just silently
      	return.
      
      	* app/actions/image-commands.c: remember the last merge_type of
      	the "Merge Visible Layers" dialog.
      
      	* app/actions/layers-commands.c: remeber the last values of the
      	"Add Layer Mask" dialog.
      
      	* app/actions/select-commands.c: renamed a bunch of static
      	variables to be consistent with other variables used to remember
      	dialog values.
      
      	* app/actions/view-commands.c (view_fullscreen_cmd_callback): it's
      	useless to update the "view-fullscreen" actions here because the
      	"fullscreen" state of the shell changes asynchronously
      fa79ae28
  16. 19 Oct, 2004 1 commit
    • Michael Natterer's avatar
      app/dialogs/Makefile.am one more dialog split out of actions/. · 00401dcf
      Michael Natterer authored
      2004-10-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/dialogs/Makefile.am
      	* app/dialogs/vectors-options-dialog.[ch]: one more dialog split
      	out of actions/.
      
      	* app/actions/vectors-commands.c: removed it here. Merged more
      	utility functions into their only callers.
      
      	* app/actions/dockable-commands.c
      	* app/actions/edit-commands.c
      	* app/actions/file-commands.c
      	* app/actions/palettes-commands.c
      	* app/actions/tool-options-commands.c
      	* app/actions/view-commands.c: renamed "qbox" and "query_box"
      	variables to "dialog".
      00401dcf
  17. 07 Oct, 2004 2 commits
    • Simon Budig's avatar
      fill in the formula... :-) untabbified. · 236cd655
      Simon Budig authored
      2004-10-07  Simon Budig  <simon@gimp.org>
      
      	* app/actions/view-commands.c: fill in the formula...  :-)
      	untabbified.
      
      	* app/display/gimpdisplayshell-scale.c: Micro-Cleanup, untabbified.
      236cd655
    • Michael Natterer's avatar
      changed zoom actions to be GimpEnumActions using the GimpActionSelectType · 4117fa44
      Michael Natterer authored
      2004-10-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/view-actions.c: changed zoom actions to be
      	GimpEnumActions using the GimpActionSelectType enum. Enables
      	keyboard shortcuts for useless stuff like "zoom out a lot", and
      	makes them better accessible for external controllers.
      
      	* app/actions/view-commands.[ch]: renamed view_zoom_cmd_callback()
      	to view_zoom_explicit_cmd_callback(), removed the zoom_in and
      	zoom_out callbacks and added a new view_zoom_cmd_callback() for
      	the new GimpActionSelectType-based actions. The implementation of
      	the new zoom types is questionable but now there is a place where
      	nomis can fill in nice formulas...
      4117fa44
  18. 23 Sep, 2004 1 commit
    • Michael Natterer's avatar
      app/dialogs/Makefile.am removed... · ee5354e4
      Michael Natterer authored
      2004-09-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/dialogs/Makefile.am
      	* app/dialogs/color-dialog.[ch]: removed...
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpcolordialog.[ch]: ...and added as widget.
      
      	* app/core/gimpmarshal.list: new marshaller VOID__BOXED_ENUM.
      
      	* app/widgets/widgets-enums.[ch]: new enum GimpColorDialogState.
      
      	* app/widgets/gimpcolormapeditor.[ch]
      	* app/widgets/gimpcolorpanel.[ch]
      	* app/widgets/gimpgradienteditor.[ch]
      	* app/widgets/gimppaletteeditor.[ch]
      	* app/widgets/gimptoolbox-color-area.c
      	* app/actions/gradient-editor-commands.c
      	* app/actions/view-commands.c: ported to GimpColorDialog. Removes
      	a whole bunch of ugly widgets/ -> dialogs/ dependencies.
      ee5354e4
  19. 13 Sep, 2004 1 commit
    • Michael Natterer's avatar
      configure.in added new directory app/dialogs and link libappdialogs.c into · 7d065360
      Michael Natterer authored
      2004-09-13  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in
      	* app/Makefile.am: added new directory app/dialogs and link
      	libappdialogs.c into the gimp binary.
      
      	* app/gui/Makefile.am
      	* app/gui/gui-types.h
      	* app/gui/gui-vtable.c
      	* app/gui/gui.c
      
      	* app/gui/about-dialog.[ch]
      	* app/gui/authors.h
      	* app/gui/color-notebook.[ch]
      	* app/gui/convert-dialog.[ch]
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.[ch]
      	* app/gui/file-dialog-utils.[ch]
      	* app/gui/file-new-dialog.[ch]
      	* app/gui/file-open-dialog.[ch]
      	* app/gui/file-open-location-dialog.[ch]
      	* app/gui/file-save-dialog.[ch]
      	* app/gui/grid-dialog.[ch]
      	* app/gui/info-dialog.[ch]
      	* app/gui/info-window.[ch]
      	* app/gui/module-browser.[ch]
      	* app/gui/offset-dialog.[ch]
      	* app/gui/palette-import-dialog.[ch]
      	* app/gui/preferences-dialog.[ch]
      	* app/gui/quit-dialog.[ch]
      	* app/gui/resize-dialog.[ch]
      	* app/gui/resolution-calibrate-dialog.[ch]
      	* app/gui/stroke-dialog.[ch]
      	* app/gui/tips-dialog.[ch]
      	* app/gui/tips-parser.[ch]
      	* app/gui/user-install-dialog.[ch]: removed these files...
      
      	* app/dialogs/Makefile.am
      	* app/dialogs/dialogs-types.h
      
      	* app/dialogs/*.[ch]: ...and added them here. Changed some
      	filenames like module-browser -> module-dialog.
      
      	* app/app_procs.c
      	* app/actions/actions-types.h
      	* app/actions/actions.c
      	* app/actions/dialogs-actions.c
      	* app/actions/dialogs-commands.c
      	* app/actions/dockable-commands.c
      	* app/actions/drawable-commands.c
      	* app/actions/edit-commands.c
      	* app/actions/file-commands.c
      	* app/actions/gradient-editor-commands.c
      	* app/actions/image-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/palettes-commands.c
      	* app/actions/select-commands.c
      	* app/actions/templates-commands.c
      	* app/actions/templates-commands.h
      	* app/actions/vectors-commands.c
      	* app/actions/view-commands.c
      	* app/display/gimpdisplayshell-cursor.c
      	* app/display/gimpdisplayshell-title.c
      	* app/display/gimpdisplayshell.[ch]
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimptransformtool.[ch]
      	* app/tools/gimpvectortool.c
      	* app/widgets/gimpcolormapeditor.[ch]
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimpgradienteditor.[ch]
      	* app/widgets/gimppaletteeditor.[ch]
      	* app/widgets/gimptoolbox-color-area.c
      	* menus/toolbox-menu.xml.in
      	* tools/authorsgen/authorsgen.pl: changed accordingly.
      7d065360
  20. 14 Jul, 2004 1 commit
    • Michael Natterer's avatar
      app/display/Makefile.am new files for gimp_display_shell_close() and its · 2226ddf7
      Michael Natterer authored
      2004-07-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/Makefile.am
      	* app/display/gimpdisplayshell-close.[ch]: new files for
      	gimp_display_shell_close() and its dialog & callback.
      
      	* app/display/gimpdisplayshell.[ch]: removed from here.
      
      	* app/actions/view-actions.c (view_close_view_cmd_callback):
      	changed accordingly.
      2226ddf7
  21. 07 Jul, 2004 1 commit
  22. 22 Jun, 2004 1 commit
    • Michael Natterer's avatar
      app/actions/view-actions.c added actions & callbacks to configure the · 9fe8e849
      Michael Natterer authored
      2004-06-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/view-actions.c
      	* app/actions/view-commands.[ch]: added actions & callbacks to
      	configure the canvas padding color.
      
      	* app/widgets/gimphelp-ids.h
      	* menus/image-menu.xml.in: added the actions' help IDs and menu entries.
      
      	* app/display/display-enums.h: added /*< skip >*/'ed enum value
      	GIMP_CANVAS_PADDING_MODE_RESET.
      
      	* app/display/gimpdisplayshell-appearance.c
      	* app/display/gimpdisplayshell-callbacks.[ch]
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell.[ch]: removed the canvas padding
      	button and its popup menu (fixes bug #142996). Instead, added a
      	toggle button which allows to zoom the image when the window is
      	resized (as known from sodipodi, except it doesn't work as nice
      	yet :-) improvements to the algorithm are welcome).
      	Cleaned up the GimpDisplayShell struct a bit and renamed some
      	of its members.
      
      	* libgimpwidgets/gimpstock.[ch]
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-zoom-follow-window-12.png: added new
      	icon for the new display toggle button.
      9fe8e849
  23. 20 Jun, 2004 1 commit
    • Philip Lafleur's avatar
      Changed "Zoom to Fit Window" command to "Fit Image in Window" and added · c7364a64
      Philip Lafleur authored
      2004-06-20  Philip Lafleur  <plafleur@cvs.gnome.org>
      
      	* app/display/gimpdisplayshell-scale.[ch]:
      	* app/display/gimpnavigationview.[ch]:
      	* app/actions/view-actions.c:
      	* app/actions/view-commands.[ch]:
      	* app/widgets/gimphelp-ids.h:
      	* menus/image-menu.xml.in: Changed "Zoom to Fit Window" command
      	to "Fit Image in Window" and added another command, "Fit Image
      	to Window", that zooms according to the opposite dimension. Fixes
      	bug #144597.
      c7364a64
  24. 07 Jun, 2004 1 commit
  25. 01 Jun, 2004 1 commit
    • Sven Neumann's avatar
      tools/pdbgen/pdb/image.pdb app/pdb/image_cmds.c reverted changes I did to · c509204b
      Sven Neumann authored
      2004-06-01  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/image.pdb
      	* app/pdb/image_cmds.c
      	* app/core/gimpimage.[ch]: reverted changes I did to the image
      	unit earlier. As in 2.0, it will continue to not accept pixels.
      	This makes the PDB API and the XCF format compatible again and
      	fixes bug #142961 (and to some extent bug #137704).
      
      	* app/core/Makefile.am
      	* app/core/gimpimage-unit.[ch]: removed these files. The
      	convenience accessors defined here aren't commonly used any
      	longer.
      
      	* app/display/gimpdisplay.[ch]
      	* app/display/gimpdisplayshell.[ch]: added a unit parameter to
      	gimp_display_new(). Made "unit" and "scale" properties of
      	GimpDisplayShell.
      
      	* app/actions/image-commands.c
      	* app/actions/images-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/select-commands.c
      	* app/actions/view-commands.c
      	* app/core/gimp-edit.c
      	* app/core/gimp.[ch]
      	* app/core/gimptemplate.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-title.c
      	* app/display/gimpstatusbar.c
      	* app/file/file-open.c
      	* app/gui/gui-vtable.c
      	* app/gui/info-window.c
      	* app/gui/offset-dialog.c
      	* app/gui/resize-dialog.[ch]
      	* app/pdb/display_cmds.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/vectors/gimpvectors-export.c
      	* app/widgets/gimptoolbox-dnd.c
      	* tools/pdbgen/pdb/display.pdb: changed accordingly. Use the
      	display unit where the image unit was used before.
      c509204b
  26. 05 May, 2004 1 commit
    • Michael Natterer's avatar
      app/actions/file-actions.c remove "file-close" action and callback... · 96ba0235
      Michael Natterer authored
      2004-05-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/file-actions.c
      	* app/actions/file-commands.[ch]: remove "file-close" action and
      	callback...
      
      	* app/actions/view-actions.c
      	* app/actions/view-commands.[ch]: ...and added it here as
      	"view-close" because that's what it does.
      
      	* app/actions/qmask-actions.c
      	* app/actions/qmask-commands.c: s/QMask/QuickMask/g
      
      	* app/gui/menus.c: add the "channels" action group to the <Image>
      	and <Dock> UI managers, renamed UI manager <Dialogs> to
      	<Dockable>.
      
      	* app/widgets/gimpdockbook.c: s/<Dialogs>/<Dockable>/.
      
      	* menus/image-menu.xml.in: s/file-close/view-close/, added
      	separators at the end of most menus, moved the bottom group of the
      	"View" menu after the zoom group.
      96ba0235
  27. 03 May, 2004 2 commits
    • Michael Natterer's avatar
      app/actions/actions.h. added the various return_if_no_foo() macros here. · 3590757d
      Michael Natterer authored
      2004-05-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/actions.h. added the various return_if_no_foo()
      	macros here.
      
      	* app/actions/channels-commands.c
      	* app/actions/dialogs-commands.c
      	* app/actions/drawable-commands.c
      	* app/actions/edit-commands.c
      	* app/actions/file-commands.c
      	* app/actions/image-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/qmask-commands.c
      	* app/actions/select-commands.c
      	* app/actions/vectors-commands.c
      	* app/actions/view-commands.c: removed them here. Some cleanup.
      3590757d
    • Michael Natterer's avatar
      added some utility functions to get a Gimp, GimpImage, GimpDisplay and · d745841e
      Michael Natterer authored
      2004-05-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/actions.[ch]: added some utility functions to get a
      	Gimp, GimpImage, GimpDisplay and GtkWidget from the "data" pointer
      	passed to action callbacks.
      
      	* app/actions/channels-actions.c
      	* app/actions/channels-commands.c
      	* app/actions/drawable-actions.c
      	* app/actions/drawable-commands.c
      	* app/actions/edit-actions.c
      	* app/actions/edit-commands.c
      	* app/actions/file-actions.c
      	* app/actions/file-commands.c
      	* app/actions/help-commands.c
      	* app/actions/image-actions.c
      	* app/actions/image-commands.c
      	* app/actions/layers-actions.c
      	* app/actions/layers-commands.c
      	* app/actions/plug-in-actions.c
      	* app/actions/plug-in-commands.c
      	* app/actions/qmask-actions.c
      	* app/actions/qmask-commands.c
      	* app/actions/select-actions.c
      	* app/actions/select-commands.c
      	* app/actions/tools-commands.c
      	* app/actions/vectors-actions.c
      	* app/actions/vectors-commands.c
      	* app/actions/view-commands.c: use the new functions instead of
      	duplicating insane macros and if() constructs over and over again.
      d745841e
  28. 29 Apr, 2004 1 commit
    • Michael Natterer's avatar
      Switch from GtkItemFactory to GtkUIManager. The migration is almost · 46542801
      Michael Natterer authored
      2004-04-29  Michael Natterer  <mitch@gimp.org>
      
      	Switch from GtkItemFactory to GtkUIManager. The migration is
      	almost complete, still stuff missing/incomplete, definitely added
      	a bunch of new bugs...
      
      	* app/actions/*-commands.[ch]: converted all callback from
      	GtkItemFactory callbacks to GtkAction callbacks.
      
      	* app/actions/debug-actions.c
      	* app/actions/gradient-editor-actions.c
      	* app/actions/help-actions.c
      	* app/actions/plug-in-actions.c
      	* app/actions/qmask-actions.c
      	* app/actions/tool-options-actions.c: various fixes.
      
      	* app/display/gimpdisplay.[ch]
      	* app/display/gimpdisplayshell-appearance.[ch]
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell.[ch]: move everything from
      	GtkItemFactory to GtkUIManager.
      
      	* app/gui/dialogs.[ch]: added new function dialogs_get_toolbox().
      	Needed because the action callbacks don't have a widget parameter
      	and sometimes we need a parent window for showing dialogs.
      
      	* app/gui/Makefile.am
      	* app/gui/brushes-menu.[ch]
      	* app/gui/buffers-menu.[ch]
      	* app/gui/channels-menu.[ch]
      	* app/gui/colormap-editor-menu.[ch]
      	* app/gui/dialogs-menu.[ch]
      	* app/gui/documents-menu.[ch]
      	* app/gui/error-console-menu.[ch]
      	* app/gui/fonts-menu.[ch]
      	* app/gui/gradient-editor-menu.[ch]
      	* app/gui/gradients-menu.[ch]
      	* app/gui/images-menu.[ch]
      	* app/gui/layers-menu.[ch]
      	* app/gui/palette-editor-menu.[ch]
      	* app/gui/palettes-menu.[ch]
      	* app/gui/patterns-menu.[ch]
      	* app/gui/qmask-menu.[ch]
      	* app/gui/templates-menu.[ch]
      	* app/gui/vectors-menu.[ch]: removed these files.
      
      	* app/gui/gui.c: create a global UI manager for the image popup
      	menu and the toolbox menubar.
      
      	* app/gui/menus.[ch]: removed all GtkItemFactory code.
      
      	* app/gui/image-menu.[ch]
      	* app/gui/toolbox-menu.[ch]: removed everything except the trivial
      	setup_funcs.
      
      	* app/gui/file-open-menu.c
      	* app/gui/file-save-menu.c
      	* app/gui/tool-options-menu.c: don't use the macros from menus.h
      	any more, they are gone.
      
      	* app/gui/gui-vtable.c
      	* app/gui/plug-in-menus.[ch]: create/destroy the dynamic plug-in
      	menu entries.
      
      	* app/tools/gimpimagemaptool.c: s/gimp_item_factory_update/
      	gimp_ui_manager_update/g
      
      	* app/widgets/gimpuimanager.[ch]: added API to get an action
      	group by name.
      
      	* app/widgets/gimpmenufactory.c: don't choke on the item_factory
      	entries being NULL.
      
      	* app/widgets/gimpactiongroup.c: make sure booleans set using
      	g_object_set() only have TRUE or FALSE values.
      
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpcomponenteditor.c
      	* app/widgets/gimpcontainereditor.[ch]
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimpdockable.[ch]
      	* app/widgets/gimpdocked.[ch]
      	* app/widgets/gimpeditor.[ch]
      	* app/widgets/gimperrorconsole.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimppaletteeditor.c
      	* app/widgets/gimptoolbox.c
      	* app/widgets/gimptooloptionseditor.c: removed all GtkItemFactory
      	code and enable the #if 0'ed UI manager stuff.
      
      	* menus/gradient-editor-menu.xml: fixed typos.
      
      	* menus/image-menu.xml: duplicate everything so we have both
      	an image menubar and an image popup menu. Badly cries for an
      	XSL processor.
      
      	* menus/toolbox-menu.xml: added an "Extensions" placeholder.
      46542801
  29. 20 Apr, 2004 1 commit
    • Michael Natterer's avatar
      removed... · 661f6dde
      Michael Natterer authored
      2004-04-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/*-commands.[ch]: removed...
      
      	* app/actions/*-commands.[ch]: ...and added here.
      
      	* app/gui/Makefile.am
      	* app/gui/*-menu.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/gui.c
      	* app/gui/menus.c
      	* app/actions/Makefile.am
      	* app/actions/*-actions.c: changed accordingly.
      
      	* app/actions/plug-in-actions.[ch]
      	* app/actions/tools-actions.[ch]: new files.
      
      	* app/Makefile.am: had to add more -u evilness because gui/
      	and actions/ have cyclic dependencies.
      
      	* menus/image-menu.xml: added some more items.
      661f6dde
  30. 31 Jan, 2004 1 commit
    • Michael Natterer's avatar
      Use the global <Image> accel_group in all docks except the toolbox (the · 3781c7fb
      Michael Natterer authored
      2004-01-31  Michael Natterer  <mitch@gimp.org>
      
      	Use the global <Image> accel_group in all docks except the
      	toolbox (the latter needs GTK+ 2.4's new menu features).
      	Addresses bug #119878:
      
      	* app/gui/buffers-commands.c
      	* app/gui/channels-commands.c
      	* app/gui/data-commands.c
      	* app/gui/documents-commands.c
      	* app/gui/drawable-commands.c
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/gradients-commands.c
      	* app/gui/image-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/plug-in-commands.c
      	* app/gui/select-commands.c
      	* app/gui/tool-options-commands.c
      	* app/gui/tools-commands.c
      	* app/gui/vectors-commands.c
      	* app/gui/view-commands.c: changed the various return_if_no_foo()
      	macros to also accept a GimpDock as user_data.
      
      	* app/gui/image-menu.c (image_menu_update): don't update the
      	display related menu items if they don't exist (see below).
      
      	* app/gui/gui.c (gui_display_changed): simplified.
      
      	* app/widgets/gimpimagedock.[ch]: create an "<Image>" item_factory
      	and attach its accel_group to the dock. Destroy all display
      	related menu items. Destroy the layer stack navigation items
      	because their default shortcuts interfere with tree and grid view
      	keybindings. Connect to "image_changed" of the dock's private
      	context and to "flush" of the image container to update the
      	item_factory's state.
      3781c7fb
  31. 29 Jan, 2004 1 commit
    • Simon Budig's avatar
      Store the zoom factor as float, not as a ratio. · 645a1ab6
      Simon Budig authored
      2004-01-29  Simon Budig  <simon@gimp.org>
      
      	* app/display/gimpdisplayshell.[ch]: Store the zoom factor as
      	float, not as a ratio.
      
      	* app/display/gimpdisplayshell-scale.[ch]: change the API to
      	expose the Float instead a weirdly encoded integer. Implement
      	functions to get a ratio from the scale factor. Implement a set
      	as presets as discussed on the mailinglist. Changed Zoom->Other
      	dialog to enable entering a float.
      
      	* app/display/gimpdisplayshell-title.c
      	* app/display/gimpnavigationview.c
      	* app/gui/image-menu.c
      	* app/gui/info-window.c
      	* app/tools/gimpmagnifytool.c: changed accordingly.
      
      	* app/core/gimp.[ch]
      	* app/display/gimpdisplay.[ch]
      	* app/gui/gui-vtable.c
      	* app/widgets/widgets-enums.h: Made the various display-creating
      	functions accept a float for the scale. Introduce a new
      	GimpZoomType: GIMP_ZOOM_TO. Generally adjust the API to use
      	floats instead of weird integers.
      
      	* app/core/gimp-edit.c
      	* app/core/gimptemplate.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/file/file-open.c
      	* app/gui/image-commands.c
      	* app/gui/view-commands.[ch]
      	* tools/pdbgen/pdb/display.pdb
      	* app/widgets/gimpimageview.c
      	* app/widgets/gimptoolbox-dnd.c: changed accordingly
      
      	* app/pdb/display_cmds.c: regenerated
      645a1ab6
  32. 25 Jan, 2004 1 commit
    • Sven Neumann's avatar
      don't update the fields here... · 8915bbad
      Sven Neumann authored
      2004-01-25  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/info-window.c (info_window_create): don't update the fields
      	here...
      
      	* app/gui/view-commands.c (view_info_window_cmd_callback): ... but
      	here when the info window is connected to the display shell. Patch
      	from Shlomi Fish; fixes bug #132329.
      
      	* app/gui/info-window.c (info_window_update_extended): fixed update
      	of info window in automatic mode. Bug #118084, patch by Shlomi Fish.
      
      	* autogen.sh: check for automake-1.8 also.
      
      	* HACKING: note that automake-1.8 should work as well.
      8915bbad
  33. 21 Jan, 2004 1 commit
    • Michael Natterer's avatar
      renamed info_dialog_popdown() to info_dialog_hide() and · 73d258eb
      Michael Natterer authored
      2004-01-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/info-dialog.[ch]: renamed info_dialog_popdown() to
      	info_dialog_hide() and info_dialog_popup() to info_dialog_present().
      	Added info_dialog_show() which just shows the dialog without
      	calling gtk_window_present().
      
      	* app/gui/info-window.c
      	* app/gui/view-commands.c
      	* app/tools/gimptransformtool.c: changed accordingly.
      
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c: use info_dialog_show() so the dialog
      	doesn't grab the focus away from the canvas. Fixes bug #132041.
      73d258eb
  34. 21 Nov, 2003 1 commit
    • Michael Natterer's avatar
      forgot to declare gimp_color_display_stack_clone(). · 32bc599d
      Michael Natterer authored
      2003-11-21  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpcolordisplaystack.h: forgot to declare
      	gimp_color_display_stack_clone().
      
      	* app/display/gimpdisplayshell.[ch]: replaced the GList of
      	GimpColorDisplays by a single GimpColorDisplayStack.
      
      	* app/display/gimpdisplayshell-render.c
      	(gimp_display_shell_render): changed accordingly.
      
      	* app/display/gimpdisplayshell-filter.[ch]: reduced API to a
      	single function, gimp_display_shell_filter_set(), which exchanges
      	the whole filter stack. Idle update the display on
      	GimpColorDisplayStack::update().
      
      	* app/display/gimpdisplayshell-filter-dialog.[ch]: changed
      	accordingly.  Return the created dialog instead of assigning
      	shell->filters_dialog.
      
      	* app/gui/view-commands.c (view_display_filters_cmd_callback): set
      	shell->filters_dialog here and raise it it if already
      	exists. Don't use the dialog factory to create it because it's a
      	transient dialog for the display which does not need to be session
      	managed.
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c: removed display filter dialog stuff.
      32bc599d