1. 14 Dec, 2002 2 commits
    • Michael Natterer's avatar
      Changed menubar showing/hiding to work like rulers and statusbar: · f03b6b6d
      Michael Natterer authored
      2002-12-14  Michael Natterer  <mitch@gimp.org>
      
      	Changed menubar showing/hiding to work like rulers and statusbar:
      
      	* app/config/gimpconfig-blurbs.h
      	* app/config/gimpdisplayconfig.[ch]: renamed "menu_bar_per_display"
      	to "show_menubar". Removed GIMP_PARAM_RESTART flag.
      
      	* app/display/gimpdisplayshell.[ch]: chaged shell->item_factory to
      	shell->menubar_factory plus shell->popup_factory and always create
      	both of them. Added "gboolean update_popup" to
      	gimp_display_shell_set_menu_sensitivity() and call it recursively
      	with update_popup == TRUE if the display it is called for is the
      	active one.
      
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell-callbacks.c: changed accordinly.
      
      	* app/gui/gui.c: ditto. Set the menu sensitivity of new displays.
      
      	* app/gui/menus.c: added "<Image>/View/Toggle Menubar" menu item.
      	Moved some factory initialization code from gimpdisplayshell.c
      	here.
      
      	* app/gui/view-commands.[ch]: added
      	view_toggle_menubar_cmd_callback(). Update the menu sensitivity
      	manually in all callbacks which don't call gimp_image_flush().
      
      	* app/gui/preferences-dialog.c (prefs_dialog_new): moved the "Show
      	Menubar" toggle to the "Appearance" frame of the "Image Windows"
      	page. Added an own frame for the display zoom/scaling settings.
      
      	(preferences_dialog_create): Attach config_copy and config_orig
      	using g_object_set_data_full() instead of just g_object_set_data()
      	plus a g_object_weak_ref().
      
      	(prefs_default_resolution_callback): set the resolution for both
      	fields of the "size_sizeentry" instead of setting it for "x"
      	twice.
      f03b6b6d
    • Maurits Rijk's avatar
      Fixes for #92750 and #97771. Removed use off deprecated GtkText. Replaced... · e390f9a4
      Maurits Rijk authored
      Fixes for #92750 and #97771. Removed use off deprecated GtkText. Replaced arrow_up and arrow_down by stock icons.
      e390f9a4
  2. 13 Dec, 2002 8 commits
  3. 12 Dec, 2002 3 commits
  4. 11 Dec, 2002 2 commits
  5. 10 Dec, 2002 3 commits
    • Michael Natterer's avatar
      The unbelievable happened: a menu bar per display (optionally) · b1ebd9cd
      Michael Natterer authored
      2002-12-10  Michael Natterer  <mitch@gimp.org>
      
      	The unbelievable happened: a menu bar per display (optionally)
      
      	* app/widgets/gimpitemfactory.[ch]: Added the possibility to have
      	more than one item factory per <Prefix>. Added
      	gimp_item_factories_set_foobar() variants of all functions which
      	set menu item properties (label, sensitive, ...). Removed
      	the #ifndef ENABLE_NLS code since that's no longer possible.
      
      	* app/widgets/gimptoolbox.c: made it robust againt the <Image>
      	factory not existing at the time of toolbox creation.
      
      	* app/config/gimpconfig-blurbs.h
      	* app/config/gimpdisplayconfig.[ch]: added boolean
      	"menu_bar_per_display" property.
      
      	* app/gui/preferences-dialog.c: added a toggle for the new option.
      
      	* app/gui/menus.[ch]: added menus_get_new_image_factory() as
      	temporary solution. Will add a GimpMenuFactory which creates the
      	item factories soon.
      
      	* app/display/gimpdisplayshell.c: add the menu bar if requested.
      	Changed widget packing slightly for the menu bar case.
      
      	* app/display/gimpdisplayshell-callbacks.c: changed accordingly.
      	Currently there is no right-click popup menu when we have a menu
      	bar. This will change soon.
      
      	* app/gui/file-dialog-utils.c
      	* app/gui/gui.c: use gimp_item_factories_set_foo().
      
      	* app/gui/channels-commands.c
      	* app/gui/dialogs-commands.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/drawable-commands.c
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/image-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/plug-in-commands.c
      	* app/gui/select-commands.c
      	* app/gui/tools-commands.c
      	* app/gui/vectors-commands.c
      	* app/gui/view-commands.c: per-display item factories pass the
      	GimpDisplay as user_data to callbacks, not a Gimp. Changed all
      	return_if_no_foo() macros to handle both cases.
      
      	Cleaned up the plug-in menu stuff:
      
      	* app/plug-in/plug-in-types.h: removed PlugInMenuEntry type.
      
      	* app/plug-in/plug-ins.[ch]: added plug_ins_proc_def_add() as
      	counterpart to plug_ins_proc_def_remove(). Added
      	plug_ins_locale_domain() as counterpart to plug_ins_help_path().
      	Remember the locale domains just as the help paths. Changed
      	plug-in initialization so that their menus can be created multiple
      	times.
      
      	* app/plug-in/plug-in.[ch]: use plug_ins_proc_def_add() instead of
      	doing it manually.
      
      	* app/gui/plug-in-menus.[ch]: added plug_in_menus_init() which
      	just registers the locale domains. Changed plug_in_make_menu() to
      	take a list of proc_defs, not plug_ins_defs so it can be used
      	after plug-in query.
      b1ebd9cd
    • Michael Natterer's avatar
      fixed typo, use "gimp->no_interface" instead of simply "no_interface" in · cd858c5a
      Michael Natterer authored
      2002-12-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/app_procs.c: fixed typo, use "gimp->no_interface" instead of
      	simply "no_interface" in the "exit" handler.
      cd858c5a
    • Maurits Rijk's avatar
      More changes to fix #81963 · f8243352
      Maurits Rijk authored
      f8243352
  6. 08 Dec, 2002 1 commit
  7. 06 Dec, 2002 2 commits
  8. 05 Dec, 2002 2 commits
    • Michael Natterer's avatar
      Cleaned up the exit process: · b2c3f018
      Michael Natterer authored
      2002-12-05  Michael Natterer  <mitch@gimp.org>
      
      	Cleaned up the exit process:
      
      	* app/core/gimp.[ch]: added an "exit" signal which carries a
      	"gboolean kill_it" parameter and has a boolean return value.
      	Added gimp_boolean_handled_accumulator() so the emission of "exit"
      	can be stopped by returning TRUE from a callback.  Removed
      	gimp_shutdown() from the public API and made it "exit"'s default
      	implementation. Addec gimp_exit() to emit the signal.
      
      	* app/core/gimpmarshal.list: added BOOLEAN__BOOLEAN marshaller.
      
      	* app/gui/gui.[ch]: Replaced public functions gui_shutdown() and
      	gui_exit() by "exit" callbacks. g_signal_connect_after() the
      	latter so the shutdown order is correct.
      
      	* app/app_procs.[ch]: removed app_exit() and connect to "exit".
      	Split the exit stuff into normal and connect_after callbacks as
      	above.
      
      	* app/batch.c
      	* app/gui/file-commands.c
      	* tools/pdbgen/pdb/misc.pdb
      	* app/widgets/gimptoolbox.c: call gimp_exit() instead of
      	app_exit(). Don't #include "app_procs.h".
      
      	* app/pdb/misc_cmds.c: regenerated.
      b2c3f018
    • Sven Neumann's avatar
      use the same string as in gimpbrushpipe.c to reduce the number of · bb7ff29e
      Sven Neumann authored
      2002-12-05  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpbrushpipe.c: use the same string as in
      	gimpbrushpipe.c to reduce the number of translatable strings.
      bb7ff29e
  9. 04 Dec, 2002 3 commits
    • Sven Neumann's avatar
      removed useless assignments. · 8a678c09
      Sven Neumann authored
      2002-12-04  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-render.c (render_image_tile_fault):
      	removed useless assignments.
      
      	* plug-ins/common/aa.c: removed wrong assertions that caused the
      	plug-in to crash on images with odd width or height (#100344).
      	Added support for RGB images as well as alpha channel while I was
      	on it.
      8a678c09
    • Christian Rose's avatar
      Updated Swedish translation. · 7e87f779
      Christian Rose authored
      2002-12-04  Christian Rose  <menthos@menthos.com>
      
      	* sv.po: Updated Swedish translation.
      7e87f779
    • Michael Natterer's avatar
      added -DGIMP_APP_GLUE_COMPILATION to AM_CPPFLAGS. · d79ac249
      Michael Natterer authored
      2002-12-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am: added -DGIMP_APP_GLUE_COMPILATION to
      	AM_CPPFLAGS.
      
      	* app/appenv.h
      	* app/batch.h
      	* app/errors.h: #error if it is not defined to keep these files
      	from being included from anywhere else.
      
      	* app/app_procs.h: added just a #warning because some places still
      	need "the_gimp" and app_exit().
      
      	* app/libgimp_glue.h: #ifdef the #error the same way as the other
      	headers do.
      d79ac249
  10. 03 Dec, 2002 11 commits
    • Michael Natterer's avatar
      renamed gdisplays_reconnect() to gimp_displays_reconnect() and added a · 9775e144
      Michael Natterer authored
      2002-12-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplay-foreach.[ch]: renamed
      	gdisplays_reconnect() to gimp_displays_reconnect() and added a
      	"Gimp" parameter.
      
      	* app/gui/file-commands.c
      	* tools/pdbgen/pdb/display.pdb: changed accordingly.
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/palette_select.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb: some irrelevant
      	code cleanups to make them look the same.
      
      	* tools/pdbgen/pdb/message.pdb: changed $desc from "Interface"
      	to "Message procedures".
      
      	* tools/pdbgen/pdb/transform_tools.pdb: changed $desc from
      	"Tool procedures" to "Transform Tool procedures".
      
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/display_cmds.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/palette_select_cmds.c
      	* app/pdb/pattern_select_cmds.c: regenerated.
      9775e144
    • Michael Natterer's avatar
      named the menu separator "/fg-bg-separator", not just "/---". · 9eb748ad
      Michael Natterer authored
      2002-12-03  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpcolorbutton.c: named the menu separator
      	"/fg-bg-separator", not just "/---".
      
      	* app/widgets/gimpcolorpanel.[ch]: added a GimpContext pointer to
      	get FG/BG from. Don't use "the_gimp" and don't include
      	"app_procs.h".  Added gimp_color_panel_set_context(). Hide the
      	FG/BG menu entries if we have no context.
      
      	* app/gui/channels-commands.c
      	* app/gui/preferences-dialog.c
      	* app/gui/qmask-commands.c
      	* app/display/gimpdisplayshell.c: set the color_panel's context.
      9eb748ad
    • Sven Neumann's avatar
      made it a lot less deprecated. · 99df95f2
      Sven Neumann authored
      2002-12-03  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/ifscompose/ifscompose.c: made it a lot less deprecated.
      99df95f2
    • Sven Neumann's avatar
      removed broken code that used to update the preview when the user releases · 0ecb40fa
      Sven Neumann authored
      2002-12-03  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/ifscompose/ifscompose.c: removed broken code that used
      	to update the preview when the user releases the button after
      	moving a slider. Instead set the range to UPDATE_DELAYED and
      	update the preview on "value_changed". Fixes bug #97350.
      0ecb40fa
    • Sven Neumann's avatar
      tools/pdbgen/pdb/display.pdb applied a modified version of a patch from · 2193d83a
      Sven Neumann authored
      2002-12-03  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/display.pdb
      	* tools/pdbgen/pdb/layer.pdb: applied a modified version of a
      	patch from Wolfgang Hofer <hof@gimp.org> that adds two new PDB
      	functions needed for GAP: gimp_displays_reconnect() and
      	gimp_layer_new_from_drawable() (bug #77508).
      
      	* app/pdb/display_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/layer_cmds.c
      	* libgimp/gimpdisplay_pdb.[ch]
      	* libgimp/gimplayer_pdb.[ch]: regenerated.
      2193d83a
    • Sven Neumann's avatar
      check for gdisp != NULL to avoid to crash when being called from · 1c60f4e0
      Sven Neumann authored
      2002-12-03  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/tool_manager.c (tool_manager_control_active): check
      	for gdisp != NULL to avoid to crash when being called from
      	indexed_ok_callback().
      1c60f4e0
    • Christian Rose's avatar
      Updated Swedish translation. · d88c1181
      Christian Rose authored
      2002-12-03  Christian Rose  <menthos@menthos.com>
      
      	* sv.po: Updated Swedish translation.
      d88c1181
    • Sven Neumann's avatar
      updated gtk-doc URL · f1f83ef5
      Sven Neumann authored
      f1f83ef5
    • Sven Neumann's avatar
      applied a patch from Akkana that adds short descriptions to all libgimp · e206bb21
      Sven Neumann authored
      2002-12-03  Sven Neumann  <sven@gimp.org>
      
              * libgimp/tmpl/*.sgml: applied a patch from Akkana that adds short
              descriptions to all libgimp pages (#100187).
      e206bb21
    • Sven Neumann's avatar
      079f44ac
    • Sven Neumann's avatar
      do as the gtk+ folks did and replace the gtk-doc version check with an · 707ece73
      Sven Neumann authored
      2002-12-03  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: do as the gtk+ folks did and replace the gtk-doc
      	version check with an all-sh version (#99216).
      707ece73
  11. 02 Dec, 2002 3 commits