1. 18 Mar, 2008 2 commits
    • Michael Natterer's avatar
      add new options object for the "no image" display appearance. · bd636468
      Michael Natterer authored
      2008-03-18  Michael Natterer  <mitch@gimp.org>
      	* app/display/gimpdisplayoptions.[ch]: add new options object
      	for the "no image" display appearance.
      	* app/display/gimpdisplayshell.[ch]: keep one of them around.
      	* app/display/gimpdisplayshell-appearance.[ch]: use the options
      	object when the display is empty. Add guards against no image
      	to some functions. Add gimp_display_shell_appearance_update()
      	which sets all options according to the current display state
      	(normal, fullscreen, no image).
      	* app/actions/view-actions.c: don't allow to configure the GUI
      	of the empty display.
      	* app/display/gimpdisplayshell-callbacks.c: use the new appearance
      	update function instead of doing it all here.
      	* app/display/gimpdisplayshell-close.c
      	* app/gui/gui-vtable.c: update the appearance when clearing or
      	filling the display.
      	* app/display/gimpdisplayshell-selection.c: forgot some guards
      	against empty displays.
      svn path=/trunk/; revision=25114
    • Michael Natterer's avatar
      First draft of the "no image open" window, which is implemented as a · cee3baea
      Michael Natterer authored
      2008-03-18  Michael Natterer  <mitch@gimp.org>
      	First draft of the "no image open" window, which is implemented as
      	a display without image (a view with NULL model). Didn't change
      	the display's appearance yet so I can first make sure the display
      	without image works properly in all details before hiding these
      	* app/core/gimp-gui.[ch]: add "gimp" parameter to display_create()
      	and allow "image" to be NULL.
      	* app/core/gimpcontext.c (gimp_context_real_set_display): a
      	display's image can be NULL now.
      	* app/display/gimpdisplay.[ch]: add Gimp and GimpDisplayConfig
      	members.  Add Gimp parameter to gimp_display_shell_new(). Changed
      	gimp_display_reconnect() to gimp_display_set_image() and allow to
      	set a NULL image.
      	* app/gui/gui-vtable.c (gui_display_create): if there is a single
      	display without an image, call gimp_display_set_image() on that
      	display instead of creating a new one.
      	* app/display/gimpdisplayshell-close.c: if the last display is
      	closed, don't close it but make it empty. Factored out that code
      	to gimp_display_shell_really_close().
      	* app/display/gimpdisplayshell-dnd.c: when dropping uris on an
      	empty display, open the first one into that display and the other
      	ones as layers of the newly opened image. This is consistent with
      	dropping on an existing image but maybe needs some discussion.
      	* app/display/gimpdisplayshell-callbacks.c: bail out early in the
      	tool event callback so tools never have to deal with empty
      	displays. In expose(), draw the drop zone on the empty display.
      	* app/display/gimpdisplayshell-title.c: set the empty display's
      	title to "Gimp - Drop Files".
      	* app/display/gimpdisplay-foreach.c
      	* app/display/gimpdisplay-handlers.c
      	* app/display/gimpdisplayshell-appearance.c
      	* app/display/gimpdisplayshell-autoscroll.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-cursor.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/display/gimpdisplayshell-draw.c
      	* app/display/gimpdisplayshell-filter-dialog.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-layer-select.c
      	* app/display/gimpdisplayshell-preview.c
      	* app/display/gimpdisplayshell-render.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-scroll.c
      	* app/display/gimpdisplayshell-selection.c
      	* app/display/gimpdisplayshell-title.c
      	* app/display/gimpdisplayshell.c
      	* app/display/gimpnavigationeditor.c
      	* app/display/gimpstatusbar.c: use display->gimp and
      	display->config instead of going via the image. Guard against
      	empty displays in some few places (most places can't be
      	called). Where needed, use the canvas' dimensions instead of the
      	image's dimensions so scroll offsets and scrollbars still have
      	sane values instead of the last image's ones.
      	* app/actions/actions.c (action_data_get_gimp)
      	(action_data_get_context): use display->gimp instead of
      	* app/actions/edit-commands.c (edit_paste_cmd_callback): redirect
      	to "paste as new" if there is an empty display.
      	* app/actions/tools-commands.c (tools_select_cmd_callback): don't
      	initialize the new tool on an empty display.
      	* app/actions/view-actions.c (view_actions_update): changed lots
      	of sensitivity settings to be insensitive when there is no image
      	(instead of no display).
      	* app/actions/view-commands.c: use the display's config object
      	instead of gimp's.
      svn path=/trunk/; revision=25113
  2. 28 Dec, 2007 1 commit
    • Sven Neumann's avatar
      addec const qualifiers to GimpRGB parameters. · b194e6fb
      Sven Neumann authored
      2007-12-28  Sven Neumann  <sven@gimp.org>
      	* libgimpwidgets/gimpcairo-utils.[ch]: addec const qualifiers to
      	GimpRGB parameters.
      	* app/widgets/gimprender.[ch]: removed global variables for
      	checkerboard colors and introduced functions to get the
      	checkerboard colors as pointers to GimpRGB structs.
      	* app/actions/view-actions.c
      	* app/display/gimpdisplayshell-appearance.c
      	* app/widgets/gimpviewrenderer.c
      	* app/widgets/gimpcolormapeditor.c: changed accordingly.
      svn path=/trunk/; revision=24451
  3. 25 Dec, 2007 1 commit
    • Michael Natterer's avatar
      app/core/gimpimage-guides.[ch] add accessors for the lists of guides and · 6074f7e2
      Michael Natterer authored
      2007-12-25  Michael Natterer  <mitch@gimp.org>
      	* app/core/gimpimage-guides.[ch]
      	* app/core/gimpimage-sample-points.[ch]: add accessors for the lists
      	of guides and sample points.
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-flip.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage-rotate.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage-snap.c
      	* app/core/gimpimage.c
      	* app/display/gimpdisplayshell-appearance.c
      	* app/display/gimpdisplayshell-draw.c
      	* app/display/gimpdisplayshell.c
      	* app/widgets/gimpsamplepointeditor.c
      	* app/xcf/xcf-save.c: use the new accessors.
      svn path=/trunk/; revision=24434
  4. 13 Dec, 2007 1 commit
    • Sven Neumann's avatar
      export the light and dark check color so that places that just need this · daf03994
      Sven Neumann authored
      2007-12-13  Sven Neumann  <sven@gimp.org>
      	* app/widgets/gimprender.[ch]: export the light and dark check
      	color so that places that just need this information don't have to
      	access the gimp_render_blend_{dark,light}_check arrays.
      	* app/actions/view-actions.c
      	* app/display/gimpdisplayshell-appearance.c
      	* app/widgets/gimpcolormapeditor.c: changed accordingly.
      svn path=/trunk/; revision=24351
  5. 28 May, 2007 1 commit
    • Michael Natterer's avatar
      Don't leave the user without progress bar just because the display's · 2fe95848
      Michael Natterer authored
      2007-05-28  Michael Natterer  <mitch@gimp.org>
      	Don't leave the user without progress bar just because the
      	display's statusbar is invisible:
      	* app/display/gimpstatusbar.[ch]: if the statusbar is invisible
      	when a progress wants to be shown, temporarily show it, recording
      	the fact in the new boolean "progress_shown" member. Added new API
      	gimp_statusbar_get/set_visible() which is aware of the new
      	temporary visibility state.
      	* app/display/gimpdisplayshell-appearance.c
      	* app/display/gimpdisplayshell-progress.c
      	(gimp_display_shell_progress_message): use the new API instead of
      	showing/hiding the widget directly.
      svn path=/trunk/; revision=22642
  6. 12 Dec, 2006 1 commit
    • Sven Neumann's avatar
      slightly increased size of the quick-mask and zoom-mode buttons. Also · d0e118dc
      Sven Neumann authored
      2006-12-12  Sven Neumann  <sven@gimp.org>
      	* app/display/gimpdisplayshell.c (gimp_display_shell_new):
      	slightly increased size of the quick-mask and zoom-mode buttons.
      	Also changed the style to not displace the icon when the buttons
      	are pressed.
      	* app/display/gimpdisplayshell.[ch]
      	* app/display/gimpdisplayshell-appearance.c: changed "origin_button"
      	to "origin". Don't draw it as a button but use an event box just
      	like we do for the navigation icon in the lower right corner.
      	* app/display/gimpdisplayshell-title.c
      	(gimp_display_shell_format_title): use the viewable description
      	for the drawable's name. We don't want to see "Qmask" in the
      	* app/widgets/gimpwidgets-utils.c (gimp_button_menu_position): fix
      	for the case where button is not really a GtkButton but has it's
      	own window.
      	* app/widgets/gimphelp-ids.h: changed help ID, removed unused one.
      	* libgimpwidgets/gimpstock.c
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-quick-mask-off-12.png
      	* themes/Default/images/stock-quick-mask-off-16.png
      	* themes/Default/images/stock-quick-mask-on-12.png
      	* themes/Default/images/stock-quick-mask-on-16.png: cropped empty
      	space from the quick-mask icon.
  7. 09 Dec, 2006 1 commit
  8. 04 Sep, 2006 1 commit
    • Sven Neumann's avatar
      hide the internal API. · 3b92ec74
      Sven Neumann authored
      2006-09-04  Sven Neumann  <sven@gimp.org>
      	* app/display/gimpdisplayshell-selection.[ch]: hide the internal
      	* app/display/gimpdisplayshell-appearance.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell.[ch]
      	* app/tools/gimpcolortool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpmovetool.c: changed accordingly.
      	* app/config/gimpdisplayconfig.c
      	* app/dialogs/preferences-dialog.c: increased the default
      	ants speed.
  9. 28 Mar, 2006 2 commits
  10. 19 Sep, 2005 1 commit
    • Michael Natterer's avatar
      Did a global s/qmask/quick-mask/: · 1adf3d71
      Michael Natterer authored
      2005-09-19  Michael Natterer  <mitch@gimp.org>
      	Did a global s/qmask/quick-mask/:
      	* app/actions/qmask-actions.[ch]
      	* app/actions/qmask-commands.[ch]
      	* app/core/gimpimage-qmask.[ch]
      	* menus/qmask-menu.xml
      	* themes/Default/images/stock-qmask-off-16.png
      	* themes/Default/images/stock-qmask-on-16.png: removed.
      	* app/actions/quick-mask-actions.[ch]
      	* app/actions/quick-mask-commands.[ch]
      	* app/core/gimpimage-quick-mask.[ch]
      	* menus/quick-mask-menu.xml
      	* themes/Default/images/stock-quick-mask-off-16.png
      	* themes/Default/images/stock-quick-mask-on-16.png: added.
      	* app/actions/Makefile.am
      	* app/actions/actions.c
      	* app/core/Makefile.am
      	* app/core/core-enums.[ch]
      	* app/core/gimpchannel.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-undo.c
      	* app/core/gimpimage.[ch]
      	* app/core/gimpundo.[ch]
      	* app/display/gimpdisplayshell-appearance.c
      	* app/display/gimpdisplayshell-callbacks.[ch]
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell.[ch]
      	* app/menus/menus.c
      	* app/widgets/gimphelp-ids.h
      	* libgimpwidgets/gimpstock.[ch]
      	* menus/Makefile.am
      	* menus/image-menu.xml.in
      	* themes/Default/images/Makefile.am: changed accordingly.
  11. 19 Jul, 2005 1 commit
    • Michael Natterer's avatar
      app/widgets/Makefile.am new files keeping the render acceleration check · 19ea2a9d
      Michael Natterer authored
      2005-07-19  Michael Natterer  <mitch@gimp.org>
      	* app/widgets/Makefile.am
      	* app/widgets/gimprender.[ch]: new files keeping the render
      	acceleration check buffers.
      	* app/display/gimpdisplayshell-render.[ch]: removed them here.
      	* app/gui/gui.c: initialize/shutdown the new buffers.
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpviewrenderer.c
      	* app/widgets/gimpviewrenderergradient.c
      	* app/actions/view-actions.c
      	* app/display/gimpdisplayshell-appearance.c
      	* app/display/gimpdisplayshell-draw.c
      	* app/display/gimpdisplayshell.c: use the new stuff. Removes
      	lots of broken widgets -> display dependencies.
  12. 18 May, 2005 1 commit
  13. 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.
  14. 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.
  15. 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.
    • 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
      	* 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.
  16. 01 Dec, 2004 1 commit
    • Michael Natterer's avatar
      app/display/gimpdisplayshell-appearance.c app/display/gimpdisplayshell.c · 841efd0e
      Michael Natterer authored
      2004-12-01  Michael Natterer  <mitch@gimp.org>
      	* app/display/gimpdisplayshell-appearance.c
      	* app/display/gimpdisplayshell.c
      	* app/widgets/gimpdockable.c
      	* app/widgets/gimptexteditor.c
      	* app/widgets/gimptoolbox.c: check if gimp_ui_manager_ui_get()
      	actually returns something. Prevents crashes caused by missing
      	ui manager xml files. Fixes bug #159346.
  17. 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
      	* 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.
  18. 13 Jun, 2004 1 commit
    • Philip Lafleur's avatar
      Fixed incorrect logic that caused perfect-but-slow pointer tracking to be · afb3f5c1
      Philip Lafleur authored
      2004-06-12  Philip Lafleur  <plafleur@cvs.gnome.org>
      	* app/display/gimpdisplayshell-callbacks.c: Fixed incorrect logic that
      	caused perfect-but-slow pointer tracking to be used in tools that
      	don't request exact mode.
      	* app/display/Makefile.am:
      	* app/display/gimpdisplayshell-appearance.[ch]:
      	* app/display/gimpdisplayshell-callbacks.c:
      	* app/display/gimpdisplayshell.[ch]:
      	* app/display/gimpdisplayshell-preview.[ch]: added
      	* app/tools/gimpperspectivetool.c:
      	* app/tools/gimprotatetool.c:
      	* app/tools/gimpscaletool.c:
      	* app/tools/gimpsheartool.c:
      	* app/tools/gimptransformoptions.[ch]:
      	* app/tools/gimptransformtool.[ch]: Implemented live transformation
      	previews, available through tool options. Fixes bug #108172.
  19. 17 May, 2004 1 commit
    • Michael Natterer's avatar
      put the image popup menu into a dummy menubar to work around the silly · cf3533ba
      Michael Natterer authored
      2004-05-17  Michael Natterer  <mitch@gimp.org>
      	* menus/menus.xsl: put the image popup menu into a dummy menubar
      	to work around the silly GtkUIManager restriction that popup menus
      	can't have tearoff items.
      	* app/menus/menus.c
      	* app/menus/image-menu.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/gui/gui-vtable.c
      	* app/menus/plug-in-menus.c: changed accordingly.
      	* app/gui/gui.c (gui_restore_after_callback): connect to
      	"notify::tearoff-menus" of GimpGuiConfig and reconfigure the
      	global image UI manager accordingly.
      	* app/config/gimpguiconfig.c: removed GIMP_PARAM_RESTART from the
      	"tearoff-menus" property because GtkUIManager can change this on
      	the fly.
      	* app/display/gimpdisplayshell.[ch]: added the menubar to the
      	GimpDisplayShell struct. Some cleanup in gimp_display_shell_new().
      	* app/display/gimpdisplayshell-appearance.c
      	(gimp_display_shell_set_show_menubar): use shell->menubar instead
      	of asking the UI manager.
      	* app/widgets/gimpuimanager.[ch]: changed gimp_ui_manager_ui_get()
      	to transparently load the XML files even if a sub-widget was
      	requested. Reordered parameters of gimp_ui_manager_ui_popup().
      	Lots of internal cleanups.
      	* app/widgets/gimpdockable.c
      	* app/widgets/gimptooloptionseditor.c: simplified accordingly.
      	* app/widgets/gimpeditor.[ch]: added new function
      	gimp_editor_popup_menu() which takes a GimpMenuPositionFunc and
      	updates/shows the editor's menu.
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpcomponenteditor.c
      	* app/widgets/gimpcontainereditor.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimperrorconsole.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimppaletteeditor.c: use gimp_editor_popup_menu().
      	* app/widgets/gimptoolbox.c: moved all code from
      	gimp_toolbox_new() to GObject::constructor().
  20. 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
      	* 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/
      	* 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.
  21. 11 Nov, 2003 1 commit
    • Michael Natterer's avatar
      update shell->popup_factory only if this is the active display or we will · 78bf44dd
      Michael Natterer authored
      2003-11-11  Michael Natterer  <mitch@gimp.org>
      	* app/display/gimpdisplayshell-appearance.c: update
      	shell->popup_factory only if this is the active display or we will
      	change another display's options when creating a new display.
      	Fixes bug #126668.
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/gui/view-commands.c
      	* app/tools/gimpimagemaptool.c: do the same here. Can't really
      	happen in these places but it's more correct to have the check
      	for the active display.
      	* app/display/gimpdisplay.c (gimp_display_flush_whenever): get the
      	active display from the user_context, not the current_context.
      	* app/gui/image-menu.c (image_menu_update): removed unused code.
  22. 10 Nov, 2003 1 commit
    • Sven Neumann's avatar
      app/display/gimpcanvas.[ch] moved GC from the the draw tool to GimpCanvas. · 058764f4
      Sven Neumann authored
      2003-11-10  Sven Neumann  <sven@gimp.org>
      	* app/display/gimpcanvas.[ch]
      	* app/tools/gimpdrawtool.[ch]: moved GC from the the draw tool to
      	GimpCanvas. Added wrappers around GDK drawing functions and do all
      	canvas drawing by means of these new functions.
      	* app/display/gimpdisplayshell-appearance.c
      	* app/display/gimpdisplayshell-render.c
      	* app/display/gimpdisplayshell.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpfuzzyselecttool.c: draw using the new GimpCanvas
  23. 23 Oct, 2003 2 commits
  24. 22 Oct, 2003 1 commit
    • Sven Neumann's avatar
      app/display/Makefile.am new files that implement a GimpConfig object with · e3480536
      Sven Neumann authored
      2003-10-22  Sven Neumann  <sven@gimp.org>
      	* app/display/Makefile.am
      	* app/display/gimpdisplayoptions.[ch]: new files that implement
      	a GimpConfig object with GimpDisplayShell and GimpCanvas options.
      	Actually two classes, one for the normal view, a derived one with
      	different default values for fullscreen mode.
      	* app/display/display-enums.[ch]: renamed GimpDisplayPadding enum
      	to GimpCanvasPadding.
      	* app/config/config-types.h: added the GimpDisplayOptions typedef.
      	* app/config/gimprc-blurbs.h
      	* app/config/gimpdisplayconfig.[ch]: replaced a bunch of properties
      	with two instances of GimpDisplayOptions.
      	* app/display/gimpdisplayshell.[ch]: replaced the
      	GimpDisplayShellAppearance struct with GimpDisplayOptions.
      	* app/display/gimpdisplayshell-appearance.[ch]
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-handlers.[ch]
      	* app/gui/image-menu.c: changed accordingly.
      	* app/gui/preferences-dialog.c: added a convenience function that
      	creates a view on a GimpDisplayOptions object. Not all values are
      	configurable here yet.
      	* docs/gimprc-1.3.5.in
      	* etc/gimprc: regenerated to document the gimprc format changes.
  25. 17 Jul, 2003 1 commit
    • Michael Natterer's avatar
      app/config/gimprc-blurbs.h added separate properties for the fullscreen · bc77f1e3
      Michael Natterer authored
      2003-07-18  Michael Natterer  <mitch@gimp.org>
      	* app/config/gimprc-blurbs.h
      	* app/config/gimpdisplayconfig.[ch]: added separate properties for
      	the fullscreen appearance of the display (menubar, rulers,
      	scrollbars, statusbar and padding). Default to everything
      	invisible and black padding.
      	* app/display/gimpdisplayshell.[ch]: renamed struct
      	GimpDisplayShellVisibility to GimpDisplayShellAppearance and added
      	the canvas padding stuff.
      	* app/display/gimpdisplayshell-appearance.[ch]: made
      	gimp_display_shell_set_padding() fullscreen-aware. Added
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/gui/image-menu.c: changed addordingly.
      	* app/gui/preferences-dialog.c: added the new options and moved
      	the display appearance stuff to its own page. Minor cleanups.
  26. 23 Jun, 2003 1 commit
    • Henrik Brix Andersen's avatar
      Added a per image configurable grid. · edd5c339
      Henrik Brix Andersen authored
      This fixes bug #65198
      * app/core/Makefile.am
      * app/core/core-types.h:
      * app/core/gimpgrid.[ch]: added new class GimpGrid.
      * app/core/core-enums.[ch]: added new enum GimpGridType.
      * app/core/gimpimage-guides.[ch]: removed the gimp_image_snap_*()
      * app/core/gimpimage-snap.[ch]: ...and added them here since they
      are no longer guide specific.
      * app/core/gimpimage-undo-push.[ch]: added
      * app/display/gimpdisplayshell-handlers.c:
      * app/core/gimpimage.[ch]: added grid member to _GimpImage. Added
      new signal "grid_changed", added gimp_image_grid_changed(),
      gimp_image_get_grid() and gimp_image_set_grid().
      * app/display/gimpdisplayshell-appearance.[ch]: added
      gimp_display_shell_set_snap_to_grid() and
      * app/display/gimpdisplayshell-callbacks.c: added call to
      * app/display/gimpdisplayshell.[ch]: added grid member to
      _GimpDisplayShellVisibility, added snap_to_grid and grid_dialog
      members to _GimpDisplayShell, added
      gimp_display_shell_draw_grid(), modified
      gimp_display_shell_snap_coords() to use the new
      gimp_image_snap_*() functions.
      * app/gui/image-menu.c: added grid entries to
      * app/gui/view-commands.[ch]: added
      view_toggle_grid_cmd_callback() and
      * app/gui/Makefile.am
      * app/gui/grid-dialog.[ch]: added a grid dialog.
  27. 10 Jun, 2003 1 commit
    • Sven Neumann's avatar
      added utility function gimp_rgb_get_gdk_color(), documented · addba61b
      Sven Neumann authored
      2003-06-10  Sven Neumann  <sven@gimp.org>
      	* app/widgets/gimpwidgets-utils.[ch]: added utility function
      	gimp_rgb_get_gdk_color(), documented gimp_get_screen_resolution().
      	* app/widgets/gimppreviewrenderer.c
      	* app/display/gimpdisplayshell-appearance.c
      	(gimp_display_shell_set_padding): use the new function.
  28. 20 May, 2003 1 commit
    • Sven Neumann's avatar
      app/display/gimpdisplayshell.[ch] removed padding_gc from the · dc0aff0c
      Sven Neumann authored
      2003-05-20  Sven Neumann  <sven@gimp.org>
      	* app/display/gimpdisplayshell.[ch]
      	* app/display/gimpdisplayshell-callbacks.c: removed padding_gc from
      	the GimpDisplayShell struct. Don't draw the padding color manually.
      	* app/display/gimpdisplayshell-appearance.c
      	(gimp_display_shell_set_padding): set the canvas background color
      	using gdk_window_set_background().
  29. 20 Mar, 2003 1 commit
    • Michael Natterer's avatar
      removed gdisp->draw_guides and gdisp->snap_to_guides. · 906c5a9f
      Michael Natterer authored
      2003-03-20  Michael Natterer  <mitch@gimp.org>
      	* app/display/gimpdisplay.[ch]: removed gdisp->draw_guides
      	and gdisp->snap_to_guides.
      	* app/display/gimpdisplayshell.[ch]: added shell->snap_to_guides.
      	Added the state of guide, selection and active_layer visibility to
      	the GimpDisplayShellVisibility struct so they can be configured
      	separately for fullscreen mode. Update the popup_factory in
      	gimp_display_shell_real_scaled() only if this is the active
      	* app/display/gimpdisplayshell-appearance.[ch]: added accessors
      	for selection, active_layer and guide visibility.
      	* app/display/gimpdisplayshell-selection.[ch]: changed
      	accordingly.  Changed the selection and active_layer toggle
      	functions to *_set_hidden().
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/gui/image-menu.c
      	* app/gui/view-commands.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpmovetool.c: changed accordingly.
      	* app/gui/gui.c (gui_display_new): update the menubar_factory
      	*after* making the new display the active one.
  30. 11 Mar, 2003 1 commit
    • Michael Natterer's avatar
      app/display/Makefile.am new files implementing canvas padding, fullscreen · b36590e6
      Michael Natterer authored
      2003-03-11  Michael Natterer  <mitch@gimp.org>
      	* app/display/Makefile.am
      	* app/display/gimpdisplayshell-appearance.[ch]: new files
      	implementing canvas padding, fullscreen toggling and utility
      	functions to show/hide GimpDisplayShell components (menubar,
      	statusbar, ...) Added the possibility to show/hide the scrollbars.
      	* app/display/gimpdisplayshell.[ch]: added struct
      	GimpDisplayShellVisibility which stores the GUI components'
      	visibility. Added two such structs to the GimpDisplayShell struct:
      	one for normal mode and one for fullscreen mode. Default to
      	"everything invisible" for fullscreen.  Fixes bug #74383.
      	* app/display/gimpdisplayshell-callbacks.c: fiddle with the
      	two visibility structs when toggling fullscreen.
      	* app/display/gimpdisplayshell-handlers.c: #include
      	* app/gui/image-menu.c
      	* app/gui/view-commands.[ch]: added a "Show Scrollbars" menu entry,
      	use the new widget show/hide utility functions.