1. 28 Sep, 2004 12 commits
  2. 27 Sep, 2004 8 commits
    • Sven Neumann's avatar
      added a hack to get rid of the border drawn around thumbnails in the "Open · cfd2c9c3
      Sven Neumann authored
      2004-09-28  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpaction.c (gimp_action_set_proxy): added a hack
      	to get rid of the border drawn around thumbnails in the "Open Recent"
      	menu.
      cfd2c9c3
    • Sven Neumann's avatar
      add a shortcut to the filechooser that points to the user's folder. · d725502c
      Sven Neumann authored
      2004-09-28  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpimagemaptool.c (gimp_image_map_tool_settings_dialog):
      	add a shortcut to the filechooser that points to the user's folder.
      
      	* app/actions/vectors-commands.c: added a file filter to the SVG
      	import dialog.
      d725502c
    • Sven Neumann's avatar
      added some padding for the shadow frame to avoid scaling the thumbnail. · fadd9ca0
      Sven Neumann authored
      2004-09-27  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpthumbbox.c (gimp_thumb_box_new): added some
      	padding for the shadow frame to avoid scaling the thumbnail.
      fadd9ca0
    • Sven Neumann's avatar
      quick fix for large previews · e29c3cd2
      Sven Neumann authored
      e29c3cd2
    • Sven Neumann's avatar
      themes/Default/images/Makefile.am added a stock icon that shows a simple · 0527d023
      Sven Neumann authored
      2004-09-27  Sven Neumann  <sven@gimp.org>
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-frame-64.png: added a stock icon
      	that shows a simple drop shadow but could be exchanged for other
      	image decorations.
      
      	* libgimpwidgets/gimpstock.[ch]: register the new icon.
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpviewrenderer-frame.[ch]: new file that holds some
      	ugly code to draw a frame around a preview pixbuf.
      
      	* app/widgets/gimpviewrenderer.[ch]: the frame pixbuf is attached
      	to the GimpViewRenderer class so it can be shared by all renderers.
      
      	* app/widgets/gimpviewrendererimagefile.c: use the new functionality
      	to draw a nice frame around imagefile previews.
      
      	* app/widgets/gimpcontainerbox.c: draw imagefile preview w/o a border.
      0527d023
    • Michael Natterer's avatar
      cleanup. · 24f8d7e7
      Michael Natterer authored
      2004-09-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/data-commands.c: cleanup.
      
      	* app/actions/vectors-commands.c
      	* app/display/gimpdisplayshell.c
      	* tools/pdbgen/pdb/paint_tools.pdb: removed unused #includes.
      
      	* app/text/gimptext-bitmap.c
      	* app/text/gimptext-parasite.c
      	* app/text/gimptext-vectors.c
      	* app/text/gimptext-xlfd.c
      	* app/text/gimptext.c
      	* app/text/gimptextlayer-xcf.c: include "text-types.h" instead
      	of "text/text-types.h".
      
      	* app/widgets/gimppatternselect.c: create a GimpPatternFactoryView
      	instead of GimpDataFactoryView.
      
      	* app/pdb/paint_tools_cmds.c: regenerated.
      24f8d7e7
    • Michael Natterer's avatar
      app/actions/brushes-actions.c app/actions/gradients-actions.c · 96a27b59
      Michael Natterer authored
      2004-09-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/brushes-actions.c
      	* app/actions/gradients-actions.c
      	* app/actions/palettes-actions.c
      	* app/actions/patterns-actions.c: made the "foo-edit" actions
      	GimpStringActions and pass the identifier of the editor dialog
      	to the callback.
      
      	* app/actions/data-commands.[ch] (data_edit_data_cmd_callback):
      	show the editor dialog here instead of calling view->edit_func().
      
      	* app/dialogs/dialogs-constructors.[ch]: removed the brush,
      	gradient and palette edit_funcs.
      
      	* app/widgets/widgets-types.h: removed typedef GimpDataEditFunc.
      
      	* app/widgets/gimpdatafactoryview.[ch]: removed the edit_func
      	member and parameters and create the edit button unconditionally.
      
      	* app/widgets/gimpbrushfactoryview.[ch]
      	* app/widgets/gimppatternfactoryview.[ch]: changed accordingly.
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpdataselect.[ch]: removed this class, it's not
      	needed any longer.
      
      	* app/widgets/gimpbrushselect.[ch]
      	* app/widgets/gimpgradientselect.[ch]
      	* app/widgets/gimppaletteselect.[ch]
      	* app/widgets/gimppatternselect.[ch]: derive them from GimpPdbDialog
      	and follow the edit_func removal.
      
      	* app/gui/gui-vtable.c (gui_pdb_dialog_new): removed edit_func
      	stuff.
      
      	* app/widgets/gimpcontainereditor.c: minor unrelated cleanup.
      96a27b59
    • Michael Natterer's avatar
      renamed some constructors for consistency and added a (useless) template · f097d886
      Michael Natterer authored
      2004-09-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/dialogs/dialogs-constrcutors.[ch]: renamed some constructors
      	for consistency and added a (useless) template grid.
      
      	* app/dialogs/dialogs.c: make the arrays of GimpDialogFactoryEntries
      	more readable by using macros to define them.
      f097d886
  3. 26 Sep, 2004 9 commits
    • Sven Neumann's avatar
      removed conversion to TempBuf. Instead implement · ab269fc6
      Sven Neumann authored
      2004-09-27  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimagefile.c: removed conversion to TempBuf.
      	Instead implement GimpViewable::get_new_pixbuf by compositing the
      	thumbnail on a checkerboard.
      
      	* app/widgets/gimpviewrenderer.[ch]: renamed the no_view_pixbuf
      	struct member to pixbuf.
      	(gimp_view_renderer_real_render): try gimp_viewable_get_pixbuf()
      	and render the pixbuf before falling back to the TempBuf preview.
      	(gimp_view_renderer_render_pixbuf): new function that sets a
      	pixbuf for the renderer and flushes the render_buffer.
      
      	* app/widgets/gimpviewrendererimagefile.c
      	(gimp_view_renderer_imagefile_render): render the pixbuf.
      
      	* app/dialogs/dialogs-constructors.c: create the document history
      	dockable with a zero borderwidth.
      ab269fc6
    • Sven Neumann's avatar
      use the GIMP_CHECK_SIZE_SM define, not the enum value · 75a59c68
      Sven Neumann authored
      2004-09-27  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/fileops.pdb (file_load_thumbnail_invoker): use
      	the GIMP_CHECK_SIZE_SM define, not the enum value
      	GIMP_CHECK_SIZE_SMALL_CHECKS which is 0 (eeek!).
      
      	* app/pdb/fileops_cmds.c: regenerated.
      
      	* app/widgets/gimphelp.c (gimp_help_get_locales): minor cleanup.
      75a59c68
    • Michael Natterer's avatar
      added "data" property. · 692863b3
      Michael Natterer authored
      2004-09-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdataeditor.[ch]: added "data" property.
      
      	* app/widgets/gimpbrusheditor.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimppaletteeditor.c: pass the current data to
      	g_object_new() so we never end up with initially empty editors.
      692863b3
    • Michael Natterer's avatar
      added CONSTRUCT_ONLY "data-factory" property. Removed · db85b169
      Michael Natterer authored
      2004-09-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdataeditor.[ch]: added CONSTRUCT_ONLY
      	"data-factory" property. Removed gimp_data_editor_construct().
      
      	* app/widgets/gimpbrusheditor.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimppaletteeditor.c: pass the construct parameters
      	to g_object_new().
      db85b169
    • Sven Neumann's avatar
      changed label alignment to be more HIG conformant and consistent with the · 07e65b01
      Sven Neumann authored
      2004-09-26  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpcolorframe.c: changed label alignment to be more
      	HIG conformant and consistent with the rest of the user interface.
      07e65b01
    • Michael Natterer's avatar
      added "name", "blurb", "stock_id" and "help_id" to struct · 6a50c270
      Michael Natterer authored
      2004-09-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdialogfactory.[ch]: added "name", "blurb",
      	"stock_id" and "help_id" to struct GimpDialogFactoryEntry and to
      	gimp_dialog_factory_dialog_register(). Added typedef
      	GimpDialogConstructor which takes a GimpDialogFactoryEntry in
      	addition to the parameters GimpDialogNewFunc takes. Added a
      	constructor function pointer to GimpDialogFactory which defaults
      	to a function that just returns entry->new_func(). Use that
      	constructor instead of entry->new_func() for creating
      	dialogs. Added public API gimp_dialog_factory_set_constructor().
      
      	* app/dialogs/dialogs.c: register name, blurb, stock_id and
      	help_id for all dockables so all the dialog info lives in one huge
      	ugly table now. For the global_toolbox_factory and the
      	global_dock_factory, set a constructor which creates a dockable
      	around the widget returned by entry->new_func().
      
      	* app/dialogs/dialogs-constructors.[ch]: don't create the dockable
      	in each dialog constructor. Removes tons of code and reduces most
      	constructors to a "return gimp_foo_new(...)" one-liner. Got rid of
      	all static variables, they were from a time when GimpDialogFactory
      	was unable to manage singletons.
      
      	* app/widgets/gimpbrusheditor.[ch]
      	* app/widgets/gimpgradienteditor.[ch]
      	* app/widgets/gimppaletteeditor.[ch]: return GtkWidget, not
      	GimpDataEditor from gimp_foo_editor_new().
      
      	* app/widgets/gimpdataeditor.c: minor cleanups.
      6a50c270
    • Michael Natterer's avatar
      moved stuff from new() to init(). · f6a205f8
      Michael Natterer authored
      2004-09-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcolordialog.c: moved stuff from new() to init().
      f6a205f8
    • Michael Natterer's avatar
      Ported GimpNavigationView to use actions for its buttons: · b4ea222c
      Michael Natterer authored
      2004-09-26  Michael Natterer  <mitch@gimp.org>
      
      	Ported GimpNavigationView to use actions for its buttons:
      
      	* app/menus/menus.c (menus_init): register a <GimpNaviagaionEditor>
      	UI manager containing the "view" action group.
      
      	* app/actions/actions.c (action_data_get_foo): handle "data" being
      	a GimpNavigationEditor.
      
      	* app/actions/view-actions.c (view_actions): added tooltips for
      	the actions used in the editor.
      
      	(view_actions_update): use action_data_get_display() instead of
      	checking the type of "data" manually.
      
      	* app/widgets/gimpeditor.c (gimp_editor_add_action_button): use
      	a GtkToggleButton instead of GimpButton for GtkToggleActions.
      
      	* app/display/gimpnavigationeditor.[ch]: added a GimpMenuFactory
      	parameter to the public constructor and removed all other
      	parameters. Simplified gimp_navigation_editor_new_private() and
      	use gimp_editor_add_action_button() instead of just add_button()
      	for creating the buttons. Made gimp_navigation_view_set_shell()
      	private. Update the UI manager when the shell zooms or scrolls.
      
      	* app/dialogs/dialogs-constructors.c (dialogs_navigation_view_new):
      	pass the menu_factory to gimp_navigation_editor_new().
      
      	Removed #includes which are not needed any more.
      b4ea222c
    • David Odin's avatar
      use the same preview as in all other plug-ins. · 5c6e0c8e
      David Odin authored
      * plug-ins/common/exchange.c: use the same preview as in all other plug-ins.
      5c6e0c8e
  4. 25 Sep, 2004 11 commits
    • Sven Neumann's avatar
      removed C++ style comment. · dac7b80d
      Sven Neumann authored
      2004-09-25  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/imagemap/imap_stock.c: removed C++ style comment.
      dac7b80d
    • Maurits Rijk's avatar
      a00fa4b0
    • Sven Neumann's avatar
      removed trailing whitespace. · 1b58ab56
      Sven Neumann authored
      2004-09-25  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpviewrenderer.h: removed trailing whitespace.
      1b58ab56
    • Sven Neumann's avatar
      shut up CVS · ceadeff6
      Sven Neumann authored
      ceadeff6
    • Maurits Rijk's avatar
      plug-ins/imagemap/imap_stock.[ch] plug-ins/imagemap/Makefile.am get rid of · dc6d00fe
      Maurits Rijk authored
      2004-09-25  Maurits Rijk  <m.rijk@chello.nl>
      
      	* plug-ins/imagemap/imap_stock.[ch]
      	* plug-ins/imagemap/Makefile.am
      	* plug-ins/imagemap/*.xpm: get rid of all .xpm images
      
      	* configure.in
      	* plug-ins/imagemap/images/*: and add them as .png here
      
      	* plug-ins/imagemap/imap_browse.c: remove unused include.
      dc6d00fe
    • Sven Neumann's avatar
      changed mnemonic so that you can close an image w/o saving it by using · 5bf8abfa
      Sven Neumann authored
      2004-09-25  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-close.c: changed mnemonic so that
      	you can close an image w/o saving it by using Ctrl-W Alt-W.
      5bf8abfa
    • Michael Natterer's avatar
      added comment about not changing the silly "Qmask" string because it is · 5aeac72e
      Michael Natterer authored
      2004-09-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage-qmask.h: added comment about not changing the
      	silly "Qmask" string because it is used to identify the Quick Mask
      	in the XCF.
      
      	* app/core/gimpchannel.c: implement GimpViewable::get_description()
      	and return "Quick Mask" if it's the Quick Mask.
      
      	* app/actions/qmask-actions.c
      	* app/actions/qmask-commands.c
      	* app/core/core-enums.[ch]
      	* app/core/gimpimage-qmask.c
      	* app/display/gimpdisplayshell.c: s/QuickMask/Quick Mask/.
      5aeac72e
    • David Odin's avatar
      Added a preview and #if'ed out some unreachable code. · b1f789d6
      David Odin authored
      * plug-ins/common/engrave.c: Added a preview and #if'ed out some
        unreachable code.
      b1f789d6
    • Michael Natterer's avatar
      added new vitrual function GimpPickableInterface::get_image() · ad1c2ca0
      Michael Natterer authored
      2004-09-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimppickable.[ch]: added new vitrual function
      	GimpPickableInterface::get_image()
      
      	* app/core/gimpdrawable.c
      	* app/core/gimpimagemap.c
      	* app/core/gimpprojection.[ch]: implement it.
      ad1c2ca0
    • Michael Natterer's avatar
      app/widgets/gimpcolormapeditor.[ch] app/widgets/gimphistogrameditor.[ch] · 28f7c94d
      Michael Natterer authored
      2004-09-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcolormapeditor.[ch]
      	* app/widgets/gimphistogrameditor.[ch]
      	* app/widgets/gimpselectioneditor.[ch]: removed redundant "gimage"
      	parameters from public constructors. They are all GimpImageEditor
      	widgets which get their image via gimp_docked_set_context() and
      	gimp_image_editor_set_image() later anyway. Fixes uglyness as well
      	as problems where the editors had an image but no context, causing
      	strange behavior in their foo_actions_update() functions.
      
      	* app/dialogs/dialogs-constructors.c: changed accordingly. Removed
      	redundant calls to gimp_dockable_set_context() on newly created
      	dockables because they will get a context when added to their
      	containers.
      28f7c94d
    • Michael Natterer's avatar
      moved stuff from gimp_colormap_editor_new() to · ed35eedb
      Michael Natterer authored
      2004-09-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcolormapeditor.c: moved stuff from
      	gimp_colormap_editor_new() to
      	gimp_colormap_editor_init(). Untabified.
      ed35eedb