1. 10 May, 2004 8 commits
    • Michael Natterer's avatar
      More GimpContainerView chopping: · 3adc0816
      Michael Natterer authored
      2004-05-10  Michael Natterer  <mitch@gimp.org>
      
      	More GimpContainerView chopping:
      
      	* app/widgets/gimpcontainerview.[ch]: added
      	GimpContainerViewPrivate struct (which is currently puclic :-) and
      	removed all members from the GimpContainerView struct. Added
      	accessors for "context", "container" and "preview_size /
      	preview_border_width". Added macro to get the private struct
      	(*not* via G_TYPE_INSTANCE_GET_PRIVATE because that's unavailable
      	for interfaces).
      
      	* app/widgets/gimpbrushfactoryview.c
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpcontainerbox.c
      	* app/widgets/gimpcontainereditor.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainerpopup.c
      	* app/widgets/gimpcontainertreeview-dnd.c
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimpdatafactoryview.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimpfontview.c
      	* app/widgets/gimpimageview.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpsessioninfo.c
      	* app/widgets/gimptemplateview.c
      	* app/widgets/gimptoolview.c
      	* app/actions/brushes-actions.c
      	* app/actions/buffers-actions.c
      	* app/actions/dockable-actions.c
      	* app/actions/dockable-commands.c
      	* app/actions/documents-actions.c
      	* app/actions/fonts-actions.c
      	* app/actions/gradients-actions.c
      	* app/actions/gradients-commands.c
      	* app/actions/images-actions.c
      	* app/actions/palettes-actions.c
      	* app/actions/palettes-commands.c
      	* app/actions/patterns-actions.c
      	* app/actions/templates-actions.c
      	* app/actions/tools-actions.c
      	* app/actions/tools-commands.c: changed accordingly.
      3adc0816
    • Sven Neumann's avatar
      the menu's called "Layer", not "Layers" (bug #142279, spotted by Branko · c1dc358d
      Sven Neumann authored
      2004-05-10  Sven Neumann  <sven@gimp.org>
      
      	* gimp-tips.xml.in: the menu's called "Layer", not "Layers" (bug
      	#142279, spotted by Branko Collin).
      c1dc358d
    • Sven Neumann's avatar
      app/tools/gimpmagnifyoptions.[ch] applied a patch from William Skaggs that · 486ccb33
      Sven Neumann authored
      2004-05-10  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpmagnifyoptions.[ch]
      	* app/tools/gimpmagnifytool.c: applied a patch from William Skaggs
      	that changes a misleading option label. Fixes bug #137508.
      486ccb33
    • Marco Ciampa's avatar
      Updated italian translation · 6a4733b8
      Marco Ciampa authored
      6a4733b8
    • Sven Neumann's avatar
      removed the display scale from the default image title because it's now · bceb09a8
      Sven Neumann authored
      2004-05-10  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpdisplayconfig.c (DEFAULT_IMAGE_TITLE_FORMAT):
      	removed the display scale from the default image title because
      	it's now displayed in the statusbar. Show the image pixel size
      	instead.
      
      	* app/gui/preferences-dialog.c: include a preset for the title
      	format string that shows the image size (bug #141720).
      bceb09a8
    • Michael Natterer's avatar
      Prepare for making an interface out of GimpContainerView: · d8d2c84d
      Michael Natterer authored
      2004-05-10  Michael Natterer  <mitch@gimp.org>
      
      	Prepare for making an interface out of GimpContainerView:
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpcontainerbox.[ch]: new GimpContainerView
      	subclass which implements GimpDocked interface and contains the
      	vbox-with-scrolled-window stuff common to GimpContainerGridView
      	and GimpContainerTreeView.
      
      	* app/widgets/gimpcontainerview.[ch]: removed that functionality
      	here.
      
      	* app/widgets/gimpcontainergridview.[ch]
      	* app/widgets/gimpcontainertreeview.[ch]: derive them from
      	GimpContainerBox.
      
      	* app/gui/brush-select.c
      	* app/gui/font-select.c
      	* app/gui/gradient-select.c
      	* app/gui/palette-select.c
      	* app/gui/pattern-select.c
      	* app/widgets/gimpcontainerpopup.c: changed accordingly.
      d8d2c84d
    • Sven Neumann's avatar
      added a stock icon for "view-zoom-1-1". · a08d648a
      Sven Neumann authored
      2004-05-10  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/view-actions.c: added a stock icon for "view-zoom-1-1".
      
      	* app/widgets/gimpunitcombobox.[ch]: added functions to get and
      	set the active unit.
      
      	* app/widgets/gimpunitstore.c (gimp_unit_store_tree_model_get_value):
      	need to special case GIMP_UNIT_PIXEL.
      
      	* app/display/Makefile.am
      	* app/display/display-types.h
      	* app/display/gimpscalecombobox.[ch]: new widget to be used in the
      	display's statusbar.
      
      	* app/display/gimpdisplayshell-cursor.[ch]: always display the
      	cursor position, not only if the cursor is inside the image. Added
      	new function gimp_display_shell_clear_cursor() to clear the cursor
      	label.
      
      	* app/display/gimpdisplayshell-callbacks.c: changed accordingly.
      
      	* app/display/gimpstatusbar.[ch]
      	* app/display/gimpdisplayshell.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-scale.c: do not explicitely resize
      	the statusbar cursor label, connect to GimpDisplayShell::scaled
      	instead. Added a GimpScaleComboBox to the status bar.
      a08d648a
    • Michael Natterer's avatar
      Started making the toolbox configurable. Addresses bug #105764. Not · da0de087
      Michael Natterer authored
      2004-05-10  Michael Natterer  <mitch@gimp.org>
      
      	Started making the toolbox configurable.
      	Addresses bug #105764. Not finished yet.
      
      	* app/core/gimptoolinfo.[ch]: renamed "in_toolbox" to "visible"
      	and made it a GObject property.
      
      	* app/tools/gimp-tools.[ch]: added new function
      	gimp_tools_get_default_order() which returns a GList of tool
      	identifiers.
      
      	* app/actions/tools-actions.c
      	* app/actions/tools-commands.[ch]: added actions & callbacks for
      	toggling the "visible" boolean and for resetting all tools.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimptoolview.[ch]: new widget which allows to
      	toggle a tool's visibility and to reorder the tools.
      
      	* app/widgets/gimptoolbox.[ch]: removed member "GtkWidget *trash"
      	and pack all tool buttons into the same wrap box. Connect to
      	"reoder" of the tool container and to "notify::visible" of all
      	tool infos and update the toolbox accordingly.
      
      	* app/gui/dialogs-constructors.c: create a GimpToolView for the
      	tools list/grid.
      
      	* app/menus/menus.c: register a <Tools> menu for the dialog above.
      
      	* menus/Makefile.am
      	* menus/tools-menu.xml: added the menu.
      da0de087
  2. 09 May, 2004 3 commits
  3. 08 May, 2004 3 commits
  4. 07 May, 2004 11 commits
    • Sven Neumann's avatar
      added 1 pixel horizontal padding around the label. · 7a8a956e
      Sven Neumann authored
      2004-05-08  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpstatusbar.c (gimp_statusbar_resize_cursor):
      	added 1 pixel horizontal padding around the label.
      7a8a956e
    • Sven Neumann's avatar
      renamed struct member combo to unit_combo. Place the combobox into the · 4722267d
      Sven Neumann authored
      2004-05-08  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpstatusbar.[ch]: renamed struct member combo to
      	unit_combo. Place the combobox into the cursor frame.
      4722267d
    • Sven Neumann's avatar
      app/widgets/Makefile.am app/widgets/widgets-types.h · ebdd4fb7
      Sven Neumann authored
      2004-05-08  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpunitcombobox.[ch]
      	* app/widgets/gimpunitstore.[ch]: added a prototype of a unit menu
      	based on GtkComboBox. Will move this to libgimpwidgets later...
      
      	* app/display/gimpstatusbar.[ch]: use the new GimpUnitComboBox and
      	GimpUnitStore.
      
      	* themes/Default/gtkrc
      	* themes/Small/gtkrc: hardcode the appearance of the
      	GimpUnitComboBox. It uses a hack that doesn't work in list mode.
      ebdd4fb7
    • Sven Neumann's avatar
      added a const qualifier. · 8e6d919c
      Sven Neumann authored
      2004-05-07  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage-colormap.[ch]: added a const qualifier.
      
      	Changed how the image unit and dot-for-dot mode is handled. Might
      	break things and certainly needs more changes (mainly in tools):
      
      	* app/core/gimptemplate.c: allow GIMP_UNIT_PIXEL as image unit.
      
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-title.c
      	* app/display/gimpstatusbar.c: always use the image unit for the
      	rulers and to display lengths.
      
      	* app/widgets/gimptemplateeditor.c: redone GimpTemplateEditor
      	based on a dialog mockup from Jimmac and Tigert.
      
      	* app/core/core-enums.[ch]: changed some descriptions used by the
      	template editor.
      8e6d919c
    • Marco Ciampa's avatar
      Updated italian translation · 159de014
      Marco Ciampa authored
      159de014
    • Michael Natterer's avatar
      plug-ins/common/AlienMap2.c plug-ins/common/CML_explorer.c · 6a11e376
      Michael Natterer authored
      2004-05-07  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/common/AlienMap2.c
      	* plug-ins/common/CML_explorer.c
      	* plug-ins/common/animationplay.c
      	* plug-ins/common/despeckle.c
      	* plug-ins/fp/fp.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/script-fu/script-fu.c
      	* plug-ins/twain/twain.c: forgot some gimp_plugin_menu_register().
      6a11e376
    • Michael Natterer's avatar
      updated a bit after menu registration cleanup. · 37b5a4d0
      Michael Natterer authored
      2004-05-07  Michael Natterer  <mitch@gimp.org>
      
      	* de.po: updated a bit after menu registration cleanup.
      37b5a4d0
    • Michael Natterer's avatar
      removed plug-ins/fp/fp_gtk.c · 46499db3
      Michael Natterer authored
      2004-05-07  Michael Natterer  <mitch@gimp.org>
      
      	* POTFILES.in: removed plug-ins/fp/fp_gtk.c
      46499db3
    • Michael Natterer's avatar
      plug-ins/FractalExplorer/FractalExplorer.c · bbeef1a8
      Michael Natterer authored
      2004-05-07  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/FractalExplorer/FractalExplorer.c
      	* plug-ins/Lighting/lighting_main.c
      	* plug-ins/MapObject/mapobject_main.c
      	* plug-ins/dbbrowser/dbbrowser.c
      	* plug-ins/flame/flame.c
      	* plug-ins/gimpressionist/gimp.c
      	* plug-ins/ifscompose/ifscompose.c
      	* plug-ins/imagemap/imap_main.c
      	* plug-ins/maze/maze.c
      	* plug-ins/pagecurl/pagecurl.c
      	* plug-ins/print/print.c
      	* plug-ins/rcm/rcm.c
      	* plug-ins/winsnap/winsnap.c
      	* plug-ins/common/[g-z]*.c: use gimp_plugin_menu_register(). Some
      	formatting cleanups in some query() functions.
      bbeef1a8
    • Michael Natterer's avatar
      removed member "accelerator". It was never set and this is the · 9b7196a0
      Michael Natterer authored
      2004-05-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-in-proc.[ch]: removed member "accelerator".
      	It was never set and this is the conceptually wrong place to store
      	it anyway.
      
      	* app/actions/file-dialog-actions.c
      	* app/actions/plug-in-actions.c
      	* app/plug-in/plug-in-message.c
      	* app/xcf/xcf.c: changed accordingly.
      
      	* tools/pdbgen/pdb/plug_in.pdb (plugins_query): always return NULL
      	as accelerator. Cleaned up the function a bit and made it aware of
      	proc_def->menu_label added below.
      
      	* app/pdb/plug_in_cmds.c: regenerated.
      9b7196a0
    • Michael Natterer's avatar
      Changed plug-in menu registration again to allow passing just the menu · ca179a77
      Michael Natterer authored
      2004-05-07  Michael Natterer  <mitch@gimp.org>
      
      	Changed plug-in menu registration again to allow passing just the
      	menu item's label (not the full path) in gimp_install_procedure()
      	and only the path (excluding the item's label) in
      	gimp_plugin_menu_register(). Matches the internal action system
      	better and makes translating the menu paths much easier.
      
      	(Of yourse it's still possible to use the old syntax for backward
      	compatibility).
      
      	* app/plug-in/plug-in-proc.[ch]: added "gchar *menu_label".
      
      	* app/plug-in/plug-in-params.[ch]: added new functions
      	plug_in_param_defs_check() and plug_in_proc_args_check() which
      	check if a procedure's parameters match its menu location
      	(e.g. <Image> needs RUN-MODE, IMAGE, DRAWABLE).
      
      	* app/plug-in/plug-in-message.c (plug_in_handle_proc_install): if
      	registering an old-style (full) menu_path, use
      	plug_in_param_defs_check(), set proc_def->menu_label otherwise.
      
      	* tools/pdbgen/pdb/plug_in.pdb (plugin_menu_register): use
      	plug_in_proc_args_check() on the passed menu_path and make sugre
      	old and new style menu registration are not mixed.
      
      	* app/pdb/plug_in_cmds.c: regenerated.
      
      	* app/plug-in/plug-in-rc.c: save/restore "menu_label".
      
      	* app/actions/file-dialog-actions.c
      	* app/actions/plug-in-actions.c
      	* app/menus/plug-in-menus.c: changed action/menu creation
      	accordingly. Some hacks needed to allow both old and new style
      	menu_label/menu_paths.
      
      	* app/plug-in/plug-in.c
      	* app/widgets/gimpfiledialog.c
      	* app/xcf/xcf.c: changed accordingly.
      
      	* plug-ins/common/align_layers.c
      	* plug-ins/common/animationplay.c
      	* plug-ins/common/animoptimize.c
      	* plug-ins/common/apply_lens.c
      	* plug-ins/common/autocrop.c
      	* plug-ins/common/autostretch_hsv.c
      	* plug-ins/common/blinds.c
      	* plug-ins/common/blur.c
      	* plug-ins/common/borderaverage.c
      	* plug-ins/common/bumpmap.c
      	* plug-ins/common/c_astretch.c
      	* plug-ins/common/ccanalyze.c
      	* plug-ins/common/channel_mixer.c
      	* plug-ins/common/checkerboard.c
      	* plug-ins/common/color_enhance.c
      	* plug-ins/common/colorify.c
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/compose.c
      	* plug-ins/common/convmatrix.c
      	* plug-ins/common/cubism.c
      	* plug-ins/common/curve_bend.c
      	* plug-ins/common/decompose.c
      	* plug-ins/common/deinterlace.c
      	* plug-ins/common/depthmerge.c
      	* plug-ins/common/destripe.c
      	* plug-ins/common/diffraction.c
      	* plug-ins/common/displace.c
      	* plug-ins/common/edge.c
      	* plug-ins/common/emboss.c
      	* plug-ins/common/engrave.c
      	* plug-ins/common/exchange.c
      	* plug-ins/common/film.c
      	* plug-ins/common/flarefx.c
      	* plug-ins/common/fractaltrace.c
      	* plug-ins/common/screenshot.c: ported the first few plug-ins
      	to the new registration scheme.
      ca179a77
  5. 06 May, 2004 15 commits
    • Marco Ciampa's avatar
      Updated italian translation · 4844990e
      Marco Ciampa authored
      4844990e
    • Manish Singh's avatar
      Regenerated · 99da6e2e
      Manish Singh authored
      99da6e2e
    • Manish Singh's avatar
      make libgimp* headers always included before any app headers. · 61a3b048
      Manish Singh authored
      2004-05-06  Manish Singh  <yosh@gimp.org>
      
              * tools/pdbgen/pdb/app.pl: make libgimp* headers always included
              before any app headers.
      
              * tools/pdbgen/pdb/paint_tools.pdb: Fix silly "Dodgebure" typo.
      
              * app/pdb/*_cmds.c: regenerated.
      61a3b048
    • Maurits Rijk's avatar
    • Sven Neumann's avatar
      app/core/gimpdrawable-preview.c added sanity so we don't just plain crash · 2e76c29d
      Sven Neumann authored
      2004-05-06  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdrawable-preview.c
      	* app/core/gimpimage-projection.c: added sanity so we don't just
      	plain crash when an indexed image doesn't have a colormap.
      
      	* plug-ins/common/png.c: keep at least one entry in the colormap.
      	Fixes bug #142029.
      2e76c29d
    • Maurits Rijk's avatar
      Clean-up of filter pack plug-in · 4549d5a9
      Maurits Rijk authored
      4549d5a9
    • Marco Ciampa's avatar
      Updated italian translation · c4bd3139
      Marco Ciampa authored
      c4bd3139
    • Sven Neumann's avatar
      fixed the fix · 480d8664
      Sven Neumann authored
      480d8664
    • Sven Neumann's avatar
      center the about dialog on the monitor, not on the screen. Fixes window · eb79e15e
      Sven Neumann authored
      2004-05-06  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/about-dialog.c: center the about dialog on the monitor,
      	not on the screen. Fixes window position on xinerama setups.
      eb79e15e
    • Michael Natterer's avatar
      added gimp_plugin_menu_register(). · ab2ff561
      Michael Natterer authored
      2004-05-06  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/libgimp-sections.txt: added gimp_plugin_menu_register().
      
      	* devel-docs/libgimp/tmpl/gimpplugin.sgml: regenerated.
      ab2ff561
    • Michael Natterer's avatar
      renamed gimp_plugin_menu_add() to gimp_plugin_menu_register() for · de791034
      Michael Natterer authored
      2004-05-06  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/plug_in.pdb: renamed gimp_plugin_menu_add() to
      	gimp_plugin_menu_register() for consistency with other
      	gimp_plugin_foo_register() functions which can be called during
      	query().
      
      	* app/pdb/plug_in_cmds.c
      	* libgimp/gimpplugin_pdb.[ch]: regenerated.
      
      	* plug-ins/common/ccanalyze.c
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/screenshot.c
      	* plug-ins/winsnap/winsnap.c: changed accordingly.
      de791034
    • Michael Natterer's avatar
      Enabled multiple menu entries per plug-in procedure: · 7b943b64
      Michael Natterer authored
      2004-05-06  Michael Natterer  <mitch@gimp.org>
      
      	Enabled multiple menu entries per plug-in procedure:
      
      	* app/plug-in/plug-in-proc.[ch]: changed "gchar *menu_path" to
      	"GList *menu_paths".
      
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-in-rc.c
      	* app/plug-in/plug-in.c
      	* app/plug-in/plug-ins.c
      	* app/menus/menus.c
      	* app/widgets/gimpfiledialog.c
      	* app/xcf/xcf.c: changed accordingly.
      
      	* app/actions/file-dialog-actions.c
      	* app/actions/plug-in-actions.c: create an action for the first
      	element of proc_def->menu_paths.
      
      	* app/gui/gui-vtable.c
      	* app/menus/plug-in-menus.[ch]: create proxy widgets for each
      	element of proc_def->menu_paths.
      
      	* tools/pdbgen/pdb/plug_in.pdb: added new function
      	gimp_plugin_menu_add() which can be called during query() and adds
      	a menu path to a procedure registered by the calling plugin.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/plug_in_cmds.c
      	* libgimp/gimpplugin_pdb.[ch]: regenerated.
      
      	* menus/image-menu.xml.in
      	* menus/toolbox-menu.xml.in: added lots of <placeholder>s for
      	logical groups (like Image/Resize, Image/Scale, Image/Crop
      	etc.). Added empty placeholder File/Send for stuff like print and
      	mail. Added an "Acquire" menu under <Image>/File
      
      	* plug-ins/common/mail.c
      	* plug-ins/print/print.c
      	* plug-ins/common/winprint.c: register under File/Send.
      
      	* plug-ins/common/screenshot.c
      	* plug-ins/winsnap/winsnap.c: also register under
      	<Image>/File/Acquire.
      
      	* plug-ins/common/autocrop.c
      	* plug-ins/common/ccanalyze.c
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/threshold_alpha.c
      	* plug-ins/common/zealouscrop.c: register additional menu entries
      	under placeholders in the "Image" and "Layer" menus. This is not
      	meant to be final but just a hint to keep in mind when
      	reorganizing the plug-in menus.
      7b943b64
    • Sven Neumann's avatar
      ooops, should recompile before committing · 0582f559
      Sven Neumann authored
      0582f559
    • Sven Neumann's avatar
      cleaned up variable names and external API. Still quite a mess. · 8008d532
      Sven Neumann authored
      2004-05-06  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/resize-dialog.[ch]: cleaned up variable names and
      	external API. Still quite a mess.
      
      	* app/Makefile.am
      	* app/actions/image-commands.c
      	* app/actions/layers-commands.c: changed accordingly.
      8008d532
    • Sven Neumann's avatar
      no need for including gimp-intl.h. · 5ef73e87
      Sven Neumann authored
      2004-05-06  Sven Neumann  <sven@gimp.org>
      
      	* app/menus/menus.c: no need for including gimp-intl.h.
      5ef73e87