1. 10 Jan, 2003 10 commits
    • Michael Natterer's avatar
      Move away from creating all item_factories statically in menus_init() but · 8d86ec25
      Michael Natterer authored
      2003-01-10  Michael Natterer  <mitch@gimp.org>
      
      	Move away from creating all item_factories statically in
      	menus_init() but create a new one for each place where one is
      	needed:
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpmenufactory.[ch]: new factory which creates and
      	configures the GimpItemFactories it knows about on-the-fly.
      
      	* app/widgets/gimpitemfactory.[ch]: added
      	gimp_item_factory_update() which calls the "update_func". Added
      	"gboolean update_on_popup" so item_factories can be configured to
      	require manual updates (used for the <Image> factory).
      
      	* app/gui/menus.[ch]: create a "global_menu_factory" and register
      	all menus we have with it. Added various setup functions which
      	do stuff like adding the "Open Recent" menu or reorder plug-in
      	menu entries. Removed the debugging stuff...
      
      	* app/gui/Makefile.am
      	* app/gui/debug-commands.[ch]: ...and added it here.
      
      	* app/gui/gui.c: create the <Toolbox>, the popup-<Image> and the
      	<Paths> factories here because they are still global.
      
      	* app/gui/plug-in-menus.[ch]: changed the "image_factory"
      	parameters to "item_factory" and create/update the entries for the
      	passed item_factory only. Makes the whole stuff much more
      	straightforward.
      
      	* app/plug-in/plug-ins.c: don't call plug_in_make_menu().
      
      	* app/display/gimpdisplay.[ch]
      	* app/display/gimpdisplayshell.[ch]: added "menu_factory" and
      	"popup_factory" parameters to gimp_display_new() and
      	gimp_display_shell_new(). Create the menubar_factory and the
      	qmask_factory dynamically. Pass the shell, not a Gimp to the QMask
      	callbacks. Changed gimp_display_shell_set_menu_sensitivity() to
      	gimp_display_shell_menu_update() and don't call it directly (it's
      	a GimpItemFactory update_func now). Call gimp_item_factory_update()
      	on the resp. factories instead.
      
      	* app/gui/qmask-commands.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/tools/gimpimagemaptool.c: changed accordingly.
      
      	* app/widgets/gimpbrusheditor.c
      	* app/widgets/gimpbrushfactoryview.[ch]
      	* app/widgets/gimpbufferview.[ch]
      	* app/widgets/gimpcolormapeditor.[ch]
      	* app/widgets/gimpcontainereditor.[ch]
      	* app/widgets/gimpdataeditor.[ch]
      	* app/widgets/gimpdatafactoryview.[ch]
      	* app/widgets/gimpdialogfactory.[ch]
      	* app/widgets/gimpdock.c
      	* app/widgets/gimpdockbook.[ch]
      	* app/widgets/gimpdocumentview.[ch]
      	* app/widgets/gimpgradienteditor.[ch]
      	* app/widgets/gimpimageview.[ch]
      	* app/widgets/gimpitemlistview.[ch]
      	* app/widgets/gimppaletteeditor.[ch]: pass around lots of
      	GimpMenuFactory pointers and menu_identifiers so all views can
      	create their item_factories themselves. Unref the factories when
      	they are no longer needed because they belong to the views now.
      
      	* app/gui/dialogs-commands.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/dialogs.c
      	* app/gui/brush-select.c
      	* app/gui/gradient-select.c
      	* app/gui/palette-select.c
      	* app/gui/pattern-select.c: changed accordingly.
      
      	* app/gui/file-dialog-utils.[ch] (file_dialog_new): require
      	menu_factory and menu_identifier parameters.
      
      	* app/gui/file-open-dialog.[ch]
      	* app/gui/file-save-dialog.[ch]: removed file_*_dialog_menu_init()
      	(they went to menus.c as setup_funcs). Added file_*_dialog_set_type()
      	and moved the <Load> and <Save> factory callbacks to file-commands.c
      
      	* app/gui/file-commands.[ch]: changed accordingly.
      
      	* app/gui/view-commands.c: changed the statusbar, menubar, rulers
      	and guides callbacks to do their job only if the setting has
      	actually changed. Don't update whole item factories afterwards.
      	Instead, just change the state of the items that actually need
      	update.
      
      	Unrelated:
      
      	* app/core/gimpchannel.c (gimp_channel_init): set "bounds_known"
      	and friends to FALSE since we don't know that the new channel will
      	be empty (fixes QMask and probably other stuff).
      
      	* app/gui/image-commands.c
      	* app/gui/vectors-commands.c: cleanup.
      8d86ec25
    • Dom Lachowicz's avatar
      2a6d3edd
    • Christian Rose's avatar
      Updated Swedish translation. · 31cc0629
      Christian Rose authored
      2003-01-10  Christian Rose  <menthos@menthos.com>
      
      	* sv.po: Updated Swedish translation.
      31cc0629
    • Sven Neumann's avatar
      fixed my last commit. · 5894ea34
      Sven Neumann authored
      2003-01-10  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpstock.c (gimp_stock_init): fixed my last commit.
      5894ea34
    • Maurits Rijk's avatar
      Fix for #96611 · bfd02e4d
      Maurits Rijk authored
      bfd02e4d
    • Michael Natterer's avatar
      create a new GimpVectors object if the tool has none. Cleanup. · 415f54d1
      Michael Natterer authored
      2003-01-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpvectortool.c (gimp_vector_tool_button_press):
      	create a new GimpVectors object if the tool has none. Cleanup.
      415f54d1
    • Sven Neumann's avatar
      added inline pics for the renamed icons · 13b8bf53
      Sven Neumann authored
      13b8bf53
    • Sven Neumann's avatar
      prefixed ALL, NONE, GROW and SHRINK with SELECTION_ since they should only · a4630504
      Sven Neumann authored
      2003-01-10  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpstock.[ch]: prefixed ALL, NONE, GROW and
      	SHRINK with SELECTION_ since they should only be used for in a
      	selection context. Register a few icons in dialog size as well.
      
      	* app/gui/menus.c
      	* app/widgets/gimpselectioneditor.c: changed accordingly.
      
      	* themes/Default/images: renamed icons accordingly.
      
      	* plug-ins/common/uniteditor.c: use stock items.
      a4630504
    • Jan Morén's avatar
      Updated Swedish translation. · e4a4952d
      Jan Morén authored
      2003-01-10  Jan Morén  <jan.moren@lucs.lu.se>
      
               * sv.po: Updated Swedish translation.
      e4a4952d
    • Daniel Yacob's avatar
      Updating Amharic translation. · 9929157c
      Daniel Yacob authored
      9929157c
  2. 09 Jan, 2003 11 commits
  3. 08 Jan, 2003 10 commits
  4. 07 Jan, 2003 9 commits
    • Manish Singh's avatar
      add gimpmemsizeentry.h to HEADERS (Fixes #102789) · d6cae835
      Manish Singh authored
      2003-01-07  Manish Singh  <yosh@gimp.org>
      
              * libgimpwidgets/Makefile.am: add gimpmemsizeentry.h to HEADERS
              (Fixes #102789)
      d6cae835
    • Jan Morén's avatar
      Updated Swedish translation. · cf5df668
      Jan Morén authored
      2003-01-07  Jan Morén  <jan.moren@lucs.lu.se>
      
               * sv.po: Updated Swedish translation.
      cf5df668
    • Sven Neumann's avatar
      don't try to initialize the showtooltips member in the selvals struct; · 455d7bb2
      Sven Neumann authored
      2003-01-07  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/gfig/gfig.c: don't try to initialize the showtooltips
      	member in the selvals struct; it's gone.
      455d7bb2
    • Christian Rose's avatar
      Updated Swedish translation. · f3e73843
      Christian Rose authored
      2003-01-07  Christian Rose  <menthos@menthos.com>
      
      	* sv.po: Updated Swedish translation.
      f3e73843
    • Michael Natterer's avatar
      Fixed bug #13296: · 3e83578b
      Michael Natterer authored
      2003-01-07  Michael Natterer  <mitch@gimp.org>
      
      	Fixed bug #13296:
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_shrink_wrap):
      	don't do evil stuff but simply call gtk_window_resize(). Gtk+ will
      	automatically place the window onscreen if it would be invisible
      	after resizing.
      
      	* app/display/gimpdisplayshell-callbacks.c
      	(gimp_display_shell_canvas_configure): don't call
      	gimp_dislpay_shell_scale_resize() to avoid recursion but do the
      	two needed calls manually.
      3e83578b
    • Michael Natterer's avatar
      removed. ignore gimpcompat.h · cce6105e
      Michael Natterer authored
      2003-01-07  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/tmpl/gimpcompat.sgml: removed.
      	* libgimp/Makefile.am: ignore gimpcompat.h
      
      	* libgimp/libgimp-sections.txt
      	* libgimp/tmpl/gimp.sgml
      	* libgimpbase/tmpl/gimpprotocol.sgml
      	* libgimpwidgets/libgimpwidgets-sections.txt
      	* libgimpwidgets/tmpl/gimphelpui.sgml: updated after the
      	gimp_help_*() changes.
      cce6105e
    • Michael Natterer's avatar
      removed gimp_help_init() and gimp_help_free(). Added _gimp_help_init() · bbc13c51
      Michael Natterer authored
      2003-01-07  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimphelpui.[ch]: removed gimp_help_init() and
      	gimp_help_free(). Added _gimp_help_init() instead.
      
      	* libgimpwidgets/gimpwidgets.def: changed accordingly.
      
      	* libgimpwidgets/gimpwidgets.c (gimp_widgets_init): call
      	_gimp_help_init() so it doesn't need to be done in all plug-ins
      	manually.
      
      	* libgimp/gimpcompat.h: added gimp_help_init() and gimp_help_free()
      	here as COMPAT_CRUFT.
      
      	* app/gui/gui.c
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/Lighting/lighting_ui.c
      	* plug-ins/MapObject/mapobject_ui.c
      	* plug-ins/common/AlienMap.c
      	* plug-ins/common/AlienMap2.c
      	* plug-ins/common/CML_explorer.c
      	* plug-ins/common/blur.c
      	* plug-ins/common/curve_bend.c
      	* plug-ins/common/gtm.c
      	* plug-ins/common/illusion.c
      	* plug-ins/common/jigsaw.c
      	* plug-ins/common/plasma.c
      	* plug-ins/common/polar.c
      	* plug-ins/common/ps.c
      	* plug-ins/common/randomize.c
      	* plug-ins/common/sinus.c
      	* plug-ins/common/snoise.c
      	* plug-ins/common/sparkle.c
      	* plug-ins/common/uniteditor.c
      	* plug-ins/common/warp.c
      	* plug-ins/common/wind.c
      	* plug-ins/gap/gap_arr_dialog.c
      	* plug-ins/gap/gap_mov_dialog.c
      	* plug-ins/gap/gap_navigator_dialog.c
      	* plug-ins/gdyntext/gdyntext_ui.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/gimpressionist/gimpressionist.c
      	* plug-ins/maze/maze_face.c
      	* plug-ins/print/gimp_main_window.c
      	* plug-ins/sel2path/sel2path.c: removed the calls to
      	gimp_help_init() and gimp_help_free().
      
      	Fixed bug #81017:
      
      	* libgimpbase/gimpprotocol.[ch]: added "guint8 show_tool_tips"
      	to the GPConfig message. Increased the protocol version number.
      
      	* app/plug-in/plug-in.c: pass the value of gui_config->show_tool_tips.
      
      	* libgimp/gimp.[ch]: added gimp_show_tool_tips() to get the value
      	which was passed in the GPConfig message.
      
      	* libgimp/gimpui.c (gimp_ui_init): disable the tooltips
      	if show_tool_tips is FALSE.
      
      	* plug-ins/MapObject/mapobject_main.[ch]
      	* plug-ins/MapObject/mapobject_ui.c
      	* plug-ins/common/jigsaw.c
      	* plug-ins/gap/gap_navigator_dialog.c
      	* plug-ins/gfig/gfig.c: removed all plug-in specific GUI for
      	enabling/disabling tooltips.
      bbc13c51
    • Daniel Yacob's avatar
      Updated Amharic translation. · 3a36d127
      Daniel Yacob authored
      3a36d127
    • Sven Neumann's avatar
      plug_ins/common/Makefile.am added back spheredesigner so it gets some · 9c36d3e8
      Sven Neumann authored
      2003-01-07  Sven Neumann  <sven@gimp.org>
      
      	* plug_ins/common/Makefile.am
      	* plug_ins/common/plugin_defs.pl: added back spheredesigner so it
      	gets some testing again. Needs a good bunch of UI cleanup.
      
      	* plug-ins/common/spheredesigner.c (loadit): use
      	locale-independent functions to parse doubles.
      9c36d3e8