1. 18 May, 2004 11 commits
  2. 17 May, 2004 9 commits
    • Sven Neumann's avatar
      plug-ins/common/CEL.c ported to GtkFileChooser and HIG-ified. · a590fa39
      Sven Neumann authored
      2004-05-17  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/CEL.c
      	* plug-ins/common/CML_explorer.c: ported to GtkFileChooser and
      	HIG-ified.
      a590fa39
    • Sven Neumann's avatar
      HIG-ified (more or less). · c78c7ea4
      Sven Neumann authored
      2004-05-17  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/AlienMap2.c: HIG-ified (more or less).
      c78c7ea4
    • 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().
      cf3533ba
    • Michael Natterer's avatar
      added icons to the Save, Load, Rename and Delete submenus. · bd95efd5
      Michael Natterer authored
      2004-05-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/tool-options-actions.c: added icons to the Save,
      	Load, Rename and Delete submenus.
      bd95efd5
    • Michael Natterer's avatar
      don't forget to set the sensitivity of "edit-named-copy". · 8b023cdd
      Michael Natterer authored
      2004-05-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/edit-actions.c (edit_actions_update): don't forget
      	to set the sensitivity of "edit-named-copy".
      8b023cdd
    • Marco Ciampa's avatar
      Updated italian translation · 5f2f6230
      Marco Ciampa authored
      5f2f6230
    • Sven Neumann's avatar
      initialize the image unit to GIMP_UNIT_PIXEL. · d7c6becd
      Sven Neumann authored
      2004-05-17  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage.c (gimp_image_init): initialize the image
      	unit to GIMP_UNIT_PIXEL.
      
      	* app/pdb/image_cmds.c
      	* tools/pdbgen/pdb/image.pdb: allow GIMP_UNIT_PIXEL to be used
      	in the gimp_image_set_unit() PDB call.
      d7c6becd
    • Marco Ciampa's avatar
      866a6842
    • Marco Ciampa's avatar
      Updated italian translation · aee971b7
      Marco Ciampa authored
      aee971b7
  3. 16 May, 2004 1 commit
  4. 15 May, 2004 2 commits
    • Sven Neumann's avatar
      fixed position of vertical line indicating the picked color. Patch from · 2dcc7ccd
      Sven Neumann authored
      2004-05-15  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpcurvestool.c: fixed position of vertical line
      	indicating the picked color. Patch from William Skaggs and
      	Søren Wedel Nielsen; fixes bug #142506.
      2dcc7ccd
    • Michael Natterer's avatar
      changed warnings to include the invalid menu path. Added check that makes · 4b6adc4c
      Michael Natterer authored
      2004-05-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-in-params.c (plug_in_proc_args_check): changed
      	warnings to include the invalid menu path. Added check that makes
      	sure menu paths are either "<Prefix>" or "<Prefix>/foo" but *not*
      	"<Prefix>foo".
      
      	* app/actions/plug-in-actions.c: added function
      	plug_in_actions_check_translation() which validates both the
      	original and translated menu paths and spits detailed error
      	messages if any of them is broken. Made action creation simpler
      	(?) and more robust.
      
      	* app/menus/plug-in-menus.c: argh, the translated menu path must
      	be a sorting criteria *only*. Fixed the whole stuff to always use
      	the original menu path because translation is done entirely by
      	plug-in-actions.c. Fixes bad crashes for all locales. Added
      	boolean return value to plug_in_menus_build_path() and don't try
      	to create the menu item in an invalid location if creating the
      	submenus failed.
      4b6adc4c
  5. 14 May, 2004 7 commits
    • Sven Neumann's avatar
      added gimp_register_file_handler_mime(). · 727f8a43
      Sven Neumann authored
      2004-05-14  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/libgimp-sections.txt: added
      	gimp_register_file_handler_mime().
      
      	* libgimp/tmpl/gimpfileops.sgml: regenerated.
      727f8a43
    • Sven Neumann's avatar
      check if the file procedure registered a menu path at all. The menu should · ad89332f
      Sven Neumann authored
      2004-05-14  Sven Neumann  <sven@gimp.org>
      
      	* app/menus/file-dialog-menu.c: check if the file procedure
      	registered a menu path at all. The menu should probably be created
      	from the registered menu path, not from gimp->[load|save]_procs.
      
      	* app/plug-in/plug-in-proc.[ch]
      	* app/plug-in/plug-ins.c: removed broken code that used to sort
      	the file procedures.
      
      	* plug-ins/common/CEL.c
      	* plug-ins/common/bz2.c
      	* plug-ins/common/gz.c
      	* plug-ins/common/pcx.c
      	* plug-ins/common/pix.c
      	* plug-ins/common/sunras.c
      	* plug-ins/sgi/sgi.c
      	* plug-ins/xjt/xjt.c: register a mimetype, set a translatable
      	action name (mostly taken from shared-mime-info) and register to
      	the <Load> and <Save> menus using gimp_plugin_menu_register().
      ad89332f
    • Michael Natterer's avatar
      app/pdb/fileops_cmds.c regenerated. · 91cd15b5
      Michael Natterer authored
      2004-05-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/pdb/fileops_cmds.c
      	* libgimp/gimpfileops_pdb.c: regenerated.
      91cd15b5
    • Michael Natterer's avatar
      don't make "select-invert" insensitive if there is no selection. · 8252e774
      Michael Natterer authored
      2004-05-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/select-actions.c (select_actions_update): don't
      	make "select-invert" insensitive if there is no selection.
      8252e774
    • Marco Ciampa's avatar
      Updated italian translation · 1aa04995
      Marco Ciampa authored
      1aa04995
    • Sven Neumann's avatar
      plug-ins/common/aa.c plug-ins/common/gbr.c plug-ins/common/gih.c · d7704172
      Sven Neumann authored
      2004-05-14  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/aa.c
      	* plug-ins/common/gbr.c
      	* plug-ins/common/gih.c
      	* plug-ins/common/gtm.c
      	* plug-ins/common/header.c
      	* plug-ins/common/pat.c
      	* plug-ins/common/pnm.c
      	* plug-ins/common/psp.c
      	* plug-ins/fits/fits.c
      	* plug-ins/gfli/gfli.c: register a mimetype, set a translatable
      	action name (mostly taken from shared-mime-info) and register to
      	the <Load> and <Save> menus using gimp_plugin_menu_register().
      d7704172
    • Sven Neumann's avatar
      added new PDB function gimp_register_file_handler_mime() that allows to · 97fe81b4
      Sven Neumann authored
      2004-05-14  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/fileops.pdb: added new PDB function
      	gimp_register_file_handler_mime() that allows to associate a MIME
      	type with a file procecdurre.
      
      	* app/pdb/fileops_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpfileops_pdb.[ch]: regenerated.
      
      	* app/plug-in/plug-in-proc.[ch]
      	* app/plug-in/plug-in-rc.c
      	* app/plug-in/plug-ins.[ch]: store a mimetype with file procedures.
      
      	* app/actions/file-commands.c
      	* app/core/gimpdocumentlist.[ch]
      	* app/core/gimpimagefile.[ch]
      	* app/file/file-open.[ch]
      	* app/file/file-save.c: set the thumbnail's mimetype from the file
      	procedure used to load/save the image.
      
      	* app/xcf/xcf.c
      	* plug-ins/bmp/bmp.c
      	* plug-ins/common/csource.c
      	* plug-ins/common/dicom.c
      	* plug-ins/common/gif.c
      	* plug-ins/common/gifload.c
      	* plug-ins/common/jpeg.c
      	* plug-ins/common/mng.c
      	* plug-ins/common/png.c
      	* plug-ins/common/postscript.c
      	* plug-ins/common/psd.c
      	* plug-ins/common/psd_save.c
      	* plug-ins/common/sunras.c
      	* plug-ins/common/svg.c
      	* plug-ins/common/tga.c
      	* plug-ins/common/tiff.c
      	* plug-ins/common/wmf.c
      	* plug-ins/common/xbm.c
      	* plug-ins/common/xpm.c
      	* plug-ins/common/xwd.c
      	* plug-ins/faxg3/faxg3.c
      	* plug-ins/winicon/main.c: register a mimetype, set a translatable
      	action name (taken from shared-mime-info) and register to the <Load>
      	and <Save> menus using gimp_plugin_menu_register().
      97fe81b4
  6. 13 May, 2004 10 commits
    • Sven Neumann's avatar
      tools/pdbgen/lib.pl added new procedure variable 'since' that allows to · 373db07d
      Sven Neumann authored
      2004-05-13  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/lib.pl
      	* tools/pdbgen/pdbgen.pl: added new procedure variable 'since'
      	that allows to specify when a new function was added. Use that
      	info to generate an appropriate gtk-doc comment.
      
      	* tools/pdbgen/pdb/plug_in.pdb: set since = '2.2' for the new
      	function gimp_plugin_menu_register().
      
      	* libgimp/gimpplugin_pdb.c: regenerated.
      373db07d
    • Michael Natterer's avatar
      added "name" attributes to all submenus. · b8739d59
      Michael Natterer authored
      2004-05-13  Michael Natterer  <mitch@gimp.org>
      
      	* menus/tool-options-menu.xml: added "name" attributes to all
      	submenus.
      
      	* app/menus/tool-options-menu.c: use the menu names instead of the
      	overly long action names.
      
      	* app/actions/colormap-editor-commands.c
      	* app/actions/tool-options-commands.c: added some callback
      	implementations.
      
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimptooloptionseditor.c: removed the callbacks here
      	and use action buttons.
      
      	* app/actions/actions.c
      	* app/actions/colormap-editor-actions.c
      	* app/actions/edit-actions.c: code review / cleanup.
      b8739d59
    • Michael Natterer's avatar
      don't try to lookup detailed "notify::foo" signal specs. · b5ebbaaf
      Michael Natterer authored
      2004-05-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpcontainer.c (gimp_container_add_handler): don't
      	try to lookup detailed "notify::foo" signal specs.
      b5ebbaaf
    • Michael Natterer's avatar
      if in list mode, add an "eye" column which toggles tool visibility. · aa0c18ea
      Michael Natterer authored
      2004-05-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimptoolview.[ch]: if in list mode, add an "eye"
      	column which toggles tool visibility.
      aa0c18ea
    • Michael Natterer's avatar
      don't use action_data_get_context() to update the "tools" action group · 57d09bed
      Michael Natterer authored
      2004-05-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/tools-actions.c (tools_actions_update): don't use
      	action_data_get_context() to update the "tools" action group
      	because it may return NULL. Use gimp_get_user_context() instead
      	because the active tool is global regardless of the action group's
      	context. Fixes accidential tool hiding when closing the last
      	display.
      57d09bed
    • Sven Neumann's avatar
      oops. · 81dcecc9
      Sven Neumann authored
      2004-05-13  Sven Neumann  <sven@gimp.org>
      
      	* libgimpthumb/gimpthumbnail.c (gimp_thumbnail_save_thumb): oops.
      81dcecc9
    • Michael Natterer's avatar
      Added GimpViewable infrastructure which enables migrating from TempBuf to · 68c6e937
      Michael Natterer authored
      2004-05-13  Michael Natterer  <mitch@gimp.org>
      
      	Added GimpViewable infrastructure which enables migrating from
      	TempBuf to GdkPixbuf for both providing and getting previews:
      
      	* app/core/gimpviewable.[ch]: added new virtual functions
      	GimpViewable::get_pixbuf() and GimpViewable::get_new_pixbuf()
      	which are implemented exactly as get_preview() and
      	get_new_preview() except that get_new_pixbuf() has a default
      	implementation which creates the pixbuf from a TempBuf.
      
      	Renamed public functions _get_preview_pixbuf() and
      	_get_new_preview_pixbuf() to _get_pixbuf() and _get_new_pixbuf().
      
      	Added gimp_viewable_get_dummy_pixbuf() and use it from
      	gimp_viewable_get_dummy_preview().
      
      	* app/core/gimpimagefile.c (gimp_imagefile_save_thumb)
      	* app/display/gimpdisplayshell.c (gimp_display_shell_update_icon)
      	* app/gui/resize-dialog.c (resize_dialog_new): changed accordingly.
      68c6e937
    • Sven Neumann's avatar
      regenerated. · c2e13dec
      Sven Neumann authored
      2004-05-13  Sven Neumann  <sven@gimp.org>
      
      	* libgimpthumb/tmpl/gimpthumbnail.sgml: regenerated.
      c2e13dec
    • Sven Neumann's avatar
      added mime-type support. · 1bc64120
      Sven Neumann authored
      2004-05-13  Sven Neumann  <sven@gimp.org>
      
      	* libgimpthumb/gimpthumbnail.[ch]: added mime-type support.
      1bc64120
    • Michael Natterer's avatar
      added file-menu.[ch] and file-dialog-menu.[ch] · efcade0a
      Michael Natterer authored
      2004-05-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/menus/Makefile.am: added file-menu.[ch] and
      	file-dialog-menu.[ch]
      
      	* app/menus/menus.[ch]: removed menus_open_recent_add()...
      
      	* app/menus/file-menu.[ch]: ...and added it here as file_menu_setup().
      
      	* app/menus/image-menu.c
      	* app/menus/toolbox-menu.c: changed accordingly.
      
      	* app/menus/file-dialog-menu.[ch]: added factored out code from the
      	file-open and file-save menus as file_dialog_menu_setup().
      
      	* app/menus/file-open-menu.c
      	* app/menus/file-save-menu.c: call file_dialog_menu_setup().
      efcade0a