1. 19 May, 2004 6 commits
  2. 18 May, 2004 19 commits
    • Marco Ciampa's avatar
      Updated italian translation · 7b77ffc1
      Marco Ciampa authored
      7b77ffc1
    • Sven Neumann's avatar
      updated. · 8ff2d5d0
      Sven Neumann authored
      2004-05-19  Sven Neumann  <sven@gimp.org>
      
      	* POTFILES.in: updated.
      8ff2d5d0
    • Sven Neumann's avatar
      added some stock icons. · 7af78258
      Sven Neumann authored
      2004-05-19  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/channel_mixer.c: added some stock icons.
      
      	* plug-ins/common/edge.c
      	* plug-ins/common/emboss.c
      	* plug-ins/common/engrave.c
      	* plug-ins/common/exchange.c: HIG-ified.
      
      	* plug-ins/common/sel_gauss.c: tiny changes for a more consistent
      	HIG-ification.
      7af78258
    • Michael Natterer's avatar
      made plugin_icon_register() an underscore-prefixed function which needs to · 540aa5ce
      Michael Natterer authored
      2004-05-19  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/plug_in.pdb: made plugin_icon_register() an
      	underscore-prefixed function which needs to be wrapped.
      
      	* libgimp/gimpplugin_pdb.[ch]: regenerated.
      
      	* libgimp/Makefile.am
      	* libgimp/gimp.h
      	* libgimp/gimpplugin.[ch]: new files containing
      	gimp_plugin_icon_register() which has no "icon_data_length"
      	parameter and determines it from the passed icon data.
      
      	* libgimp/gimp.def: added gimp_plugin_icon_register.
      
      	* plug-ins/common/plugindetails.c
      	* plug-ins/common/screenshot.c
      	* plug-ins/common/uniteditor.c
      	* plug-ins/print/print.c: don't pass the icon_data_length.
      540aa5ce
    • Sven Neumann's avatar
      plug-ins/common/checkerboard.c plug-ins/common/colorify.c · 1ea45f10
      Sven Neumann authored
      2004-05-18  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/checkerboard.c
      	* plug-ins/common/colorify.c
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/compose.c
      	* plug-ins/common/convmatrix.c
      	* plug-ins/common/csource.c
      	* plug-ins/common/cubism.c
      	* plug-ins/common/decompose.c
      	* plug-ins/common/deinterlace.c
      	* plug-ins/common/depthmerge.c
      	* plug-ins/common/despeckle.c
      	* plug-ins/common/destripe.c
      	* plug-ins/common/diffraction.c
      	* plug-ins/common/displace.c: HIG-ified.
      1ea45f10
    • Michael Natterer's avatar
      Allow plug-ins to register menu icons. Fixes bug #120500. · 3fb934b2
      Michael Natterer authored
      2004-05-18  Michael Natterer  <mitch@gimp.org>
      
      	Allow plug-ins to register menu icons. Fixes bug #120500.
      
      	* app/core/core-enums.[ch]: added enum GimpIconType which can
      	be one of { STOCK_ID, IMAGE_FILE, INLINE_PIXBUF }.
      
      	* app/config/gimpconfigwriter.[ch] (gimp_config_writer_data)
      	* app/config/gimpscanner.[ch] (gimp_scanner_parse_data): new
      	functions which write/parse raw binary data. Needed for storing
      	inline pixbufs in pluginrc.
      
      	* app/config/gimpconfigwriter.[ch] (gimp_config_writer_identifier):
      	new function which writes out an unquoted and unescaped string.
      
      	* app/plug-in/plug-in-proc.[ch] (struct PlugInProcDef): added
      	new members "icon_type", "icon_data_length" and "icon_data".
      	Reordered members so file_proc specific stuff is at the end.
      
      	(plug_in_proc_def_get_stock_id)
      	(plug_in_proc_def_get_pixbuf): new functions to access the
      	procedure's icon.
      
      	* app/plug-in/plug-in-rc.c: save/restore the registered icons.
      
      	* app/actions/file-dialog-actions.c
      	* app/actions/plug-in-actions.c: set the action's stock ID from
      	the procedure's stock ID.
      
      	* app/widgets/gimppluginaction.c
      	(gimp_plug_in_action_connect_proxy): if the procedure provides a
      	pixbuf, set it as icon for the menu item.
      
      	* app/menus/file-dialog-menu.[ch]
      	* app/menus/file-open-menu.c
      	* app/menus/file-save-menu.c
      	* app/xcf/xcf.c: changed accordingly.
      
      	* tools/pdbgen/pdb/plug_in.pdb (plugin_icon_register): new PDB
      	function which can be called during query().
      
      	* tools/pdbgen/enums.pl
      	* app/pdb/internal_procs.c
      	* app/pdb/plug_in_cmds.c
      	* libgimp/gimpenums.h
      	* libgimp/gimpplugin_pdb.c
      	* libgimp/gimpplugin_pdb.h
      	* plug-ins/pygimp/gimpenums.py
      	* plug-ins/script-fu/script-fu-constants.c: regenerated.
      
      	* plug-ins/common/plugindetails.c
      	* plug-ins/common/uniteditor.c
      	* plug-ins/print/print.c: register stock_id icons.
      
      	* plug-ins/common/screenshot.c: register an inline_pixbuf icon for
      	testing purposes (used emblem-camera.png from gnome-icon-theme).
      
      	* app/actions/dialogs-actions.c
      	* app/actions/file-actions.c: unrelated: added some more icons
      	to menu items.
      3fb934b2
    • Maurits Rijk's avatar
    • Sven Neumann's avatar
      plug-ins/common/blur.c plug-ins/common/borderaverage.c · 0cc32e99
      Sven Neumann authored
      2004-05-18  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/blur.c
      	* plug-ins/common/borderaverage.c
      	* plug-ins/common/bumpmap.c
      	* plug-ins/common/ccanalyze.c: HIG-ified.
      0cc32e99
    • Sven Neumann's avatar
      libgimpwidgets/tmpl/gimphelpui.sgml regenerated. · 63133b30
      Sven Neumann authored
      2004-05-18  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/tmpl/gimphelpui.sgml
      	* libgimpwidgets/tmpl/gimpsizeentry.sgml: regenerated.
      63133b30
    • Sven Neumann's avatar
      return the created label widget so that it can for example be put into a · b298b90c
      Sven Neumann authored
      2004-05-18  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpsizeentry.[ch] (gimp_size_entry_attach_label):
      	return the created label widget so that it can for example be put
      	into a GtkSizeGroup.
      
      	* plug-ins/libgimpoldpreview/gimpoldpreview.[ch]: removed the
      	optional "Preview" frame. Always put the preview into a sunken
      	frame.
      
      	* plug-ins/common/AlienMap2.c
      	* plug-ins/common/blinds.c
      	* plug-ins/common/flarefx.c
      	* plug-ins/common/glasstile.c
      	* plug-ins/common/grid.c
      	* plug-ins/common/illusion.c
      	* plug-ins/common/jigsaw.c
      	* plug-ins/common/max_rgb.c
      	* plug-ins/common/nlfilt.c
      	* plug-ins/common/noisify.c
      	* plug-ins/common/nova.c
      	* plug-ins/common/plasma.c
      	* plug-ins/common/polar.c
      	* plug-ins/common/waves.c
      	* plug-ins/common/wind.c: changed accordingly, HIG-ified.
      b298b90c
    • Nate Summers's avatar
      oops, forgot a <CR> · 7ccf507f
      Nate Summers authored
      7ccf507f
    • Nate Summers's avatar
      Clarified end-user visible features. Made sundry small grammar and... · 9a07faff
      Nate Summers authored
      Clarified end-user visible features.  Made sundry small grammar and consistancy fixes.  Reorganized list of changes slightly.
      9a07faff
    • Sven Neumann's avatar
      plug-ins/common/aa.c plug-ins/common/align_layers.c · d32d2a01
      Sven Neumann authored
      2004-05-18  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/aa.c
      	* plug-ins/common/align_layers.c
      	* plug-ins/common/animationplay.c
      	* plug-ins/common/apply_lens.c: HIG-ified.
      d32d2a01
    • Michael Natterer's avatar
      made the "visible" property serializable. · 6f1f65d5
      Michael Natterer authored
      2004-05-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimptoolinfo.c: made the "visible" property serializable.
      
      	* app/tools/gimp-tools.c: store the tools' order and visibility
      	in a new config file called "toolrc".
      6f1f65d5
    • Sven Neumann's avatar
      ported to GtkFileChooser. · 1dce1705
      Sven Neumann authored
      2004-05-18  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/gimpressionist/brush.c: ported to GtkFileChooser.
      
      	* plug-ins/gimpressionist/gimpressionist.h
      	* plug-ins/gimpressionist/ppmtool.[ch]: sprinkled some const
      	qualifiers.
      1dce1705
    • Sven Neumann's avatar
      plug-ins/common/curve_bend.c ported to GtkFileChooser and HIG-ified. · 6dded125
      Sven Neumann authored
      2004-05-18  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/curve_bend.c
      	* plug-ins/ifscompose/ifscompose.c: ported to GtkFileChooser and
      	HIG-ified.
      6dded125
    • Sven Neumann's avatar
      plug-ins/common/channel_mixer.c ported to GtkFileChooser and HIG-ified. · 617e0cc3
      Sven Neumann authored
      2004-05-18  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/channel_mixer.c
      	* plug-ins/common/gqbist.c: ported to GtkFileChooser and
      	HIG-ified.
      
      	* plug-ins/common/spheredesigner.c: ditto, but needs more love.
      617e0cc3
    • Michael Natterer's avatar
      new function which returns a newly allocated string which is the menu · 3ccb4bed
      Michael Natterer authored
      2004-05-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-in-proc.[ch] (plug_in_proc_def_get_label): new
      	function which returns a newly allocated string which is the menu
      	item's name stripped of mnemonics an ellipses.
      
      	* app/actions/plug-in-actions.c (plug_in_actions_update)
      	* app/plug-in/plug-in.c (plug_in_get_undo_desc): use the function
      	instead of implementing the same twice slightly different.
      3ccb4bed
    • Dmitry Mastrukov's avatar
  3. 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
  4. 16 May, 2004 1 commit
  5. 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
  6. 14 May, 2004 3 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