1. 13 Jun, 2004 1 commit
    • Michael Natterer's avatar
      added enum GimpCursorFormat which can be one of { BITMAP, PIXBUF, · 2498adc5
      Michael Natterer authored
      2004-06-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/widgets-enums.[ch]: added enum GimpCursorFormat
      	which can be one of { BITMAP, PIXBUF, PIXBUF-PREMULTIPLY } to
      	work around broken X servers.
      
      	* app/config/gimpguiconfig.[ch]
      	* app/config/gimprc-blurbs.h: added GimpGuiConfig::cursor-format.
      
      	* app/gui/preferences-dialog.c: added a GUI for the new option.
      
      	* app/widgets/gimpcursor.[ch]: added cursor_format parameter
      	to gimp_cursor_new() and _set().
      
      	* app/display/gimpdisplayshell-cursor.c
      	* app/tools/gimpcurvestool.c
      	* app/widgets/gimpdialogfactory.c: pass an appropriate cursor_mode.
      2498adc5
  2. 12 May, 2004 1 commit
    • Michael Natterer's avatar
      app/config/gimpconfig-deserialize.c app/config/gimpscanner.c · de7a9405
      Michael Natterer authored
      2004-05-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpscanner.c
      	* app/core/gimp-edit.c
      	* app/core/gimpchannel-combine.c
      	* app/core/gimpcontainer.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpdrawable-combine.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpgradient.c
      	* app/core/gimpimage-flip.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-projection.c
      	* app/core/gimpimage.c
      	* app/display/gimpdisplay-handlers.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpprogress.c
      	* app/gui/info-dialog.c
      	* app/gui/module-browser.c
      	* app/gui/offset-dialog.c
      	* app/plug-in/plug-in.c
      	* app/tools/gimpdrawtool.c
      	* app/tools/tool_manager.c
      	* app/widgets/gimpactiongroup.c
      	* app/widgets/gimpdialogfactory.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimpitemfactory.c
      	* app/widgets/gimppropwidgets.c
      	* app/widgets/gimpwidgets-utils.c
      	* app/xcf/xcf-save.c
      	* libgimp/gimpexport.c
      	* libgimpwidgets/gimphelpui.c
      	* libgimpwidgets/gimppixmap.c
      	* libgimpwidgets/gimpunitmenu.c: replaced G_GNUC_FUNCTION,
      	G_GNUC_PRETTY_FUNCTION, G_STRLOC and hardcoded function names in
      	g_warning()s by G_STRFUNC.
      de7a9405
  3. 13 Mar, 2004 1 commit
    • Michael Natterer's avatar
      made enum GimpDialogVisibilityState and GIMP_DIALOG_VISIBILITY_KEY public. · 6f1612db
      Michael Natterer authored
      2004-03-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdialogfactory.[ch]: made enum
      	GimpDialogVisibilityState and GIMP_DIALOG_VISIBILITY_KEY public.
      
      	* app/widgets/gimpsessioninfo.c (gimp_session_info_get_geometry):
      	only look at GTK_WIDGET_VISIBLE(info->widget) if the dialog's
      	visibility state is GIMP_DIALOG_VISIBILITY_UNKNOWN and map the
      	visibility state to info->open otherwise.
      
      	Fixes bug #137076.
      6f1612db
  4. 21 Dec, 2003 1 commit
  5. 24 Nov, 2003 1 commit
    • Michael Natterer's avatar
      Fixed intra-session position management for file dialogs and newly created · 964c83a8
      Michael Natterer authored
      2003-11-24  Michael Natterer  <mitch@gimp.org>
      
      	Fixed intra-session position management for file dialogs and newly
      	created docks:
      
      	* app/widgets/gimpdockable.c (gimp_dockable_detach)
      	* app/gui/file-dialog-utils.c (file_dialog_new): don't call
      	gtk_window_set_position() on session managed dialogs and docks.
      
      	* app/widgets/gimpdialogfactory.c (gimp_dialog_factory_add_dialog):
      	make sure new docks get GDK_HINT_USER_POS set so they remember
      	their positions across hide/show.
      
      	* app/widgets/gimpdock.c: removed unused disabled code.
      964c83a8
  6. 18 Nov, 2003 1 commit
    • Michael Natterer's avatar
      support '|'-separated lists of dialog identifiers and raise any of them if · 56863fac
      Michael Natterer authored
      2003-11-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdialogfactory.[ch]
      	(gimp_dialog_factory_dialog_raise): support '|'-separated lists of
      	dialog identifiers and raise any of them if it is already open, or
      	the first dialog in the list otherwise.
      
      	* app/gui/dialogs-commands.c (dialogs_create_dockable_cmd_callback):
      	removed the same functionality here.
      
      	* app/gui/edit-commands.c
      	* app/tools/gimppaintoptions-gui.c
      	* app/tools/gimptextoptions.c
      	* app/widgets/gimpdevicestatus.c
      	* app/widgets/gimptoolbox-indicator-area.c: pass lists of dialog
      	identifiers to gimp_dialog_factory_dialog_raise().
      56863fac
  7. 10 Nov, 2003 1 commit
  8. 08 Nov, 2003 1 commit
    • Michael Natterer's avatar
      To be multihead safe, each new window or menu needs to be associated with · b62f8e9a
      Michael Natterer authored
      2003-11-08  Michael Natterer  <mitch@gimp.org>
      
      	To be multihead safe, each new window or menu needs to be
      	associated with a GdkScreen or it will pop up on the default
      	screen.
      
      	* libgimpwidgets/gimpquerybox.[ch]
      	* app/display/gimpdisplayshell-layer-select.[ch]
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpitemfactory.[ch]
      	* app/widgets/gimpitemtreeview.[ch]
      	* app/widgets/gimptemplateview.[ch]
      	* app/widgets/gimptooldialog.[ch]
      	* app/widgets/gimpviewabledialog.[ch]
      	* app/gui/channels-commands.[ch]
      	* app/gui/color-notebook.[ch]
      	* app/gui/convert-dialog.[ch]
      	* app/gui/edit-commands.[ch]
      	* app/gui/grid-dialog.[ch]
      	* app/gui/image-commands.[ch]
      	* app/gui/info-dialog.[ch]
      	* app/gui/layers-commands.[ch]
      	* app/gui/offset-dialog.[ch]
      	* app/gui/resize-dialog.[ch]
      	* app/gui/stroke-dialog.[ch]
      	* app/gui/templates-commands.[ch]
      	* app/gui/vectors-commands.[ch]: added "GtkWidget *parent"
      	paramaters to all functions which create menus, popups or windows
      	and pass "parent" to gimp_dialog_new() or one of the various
      	wrappers around it. As a side effect, this fixes bug #61092.
      
      	* app/widgets/gimpdialogfactory.[ch]: added "GdkScreen *screen"
      	instead of "parent" here since there are no possible parent
      	windows on startup.
      
      	* app/display/gimpdisplayshell-callbacks.c
      	(gimp_display_shell_origin_button_press): added a quick hack to
      	send a display to another screen: click the origin button with the
      	middle mouse button.
      
      	* app/display/gimpdisplayshell.c
      	(gimp_display_shell_screen_changed): don't chain up
      	undonditionally (don't crash).
      
      	* libgimpwidgets/gimpdialog.c (gimp_dialog_new_valist): set the
      	dialog's screen from a non-GtkWidget parent widget. The rest of
      	non-window parent widget handling is still unimplemented.
      
      	* libgimpwidgets/gimpcolorbutton.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimpcomponenteditor.c
      	* app/widgets/gimpcontainereditor.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainerpopup.c
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimpdatafactoryview.c
      	* app/widgets/gimpdevicestatus.c
      	* app/widgets/gimpdockable.c
      	* app/widgets/gimpdrawabletreeview.c
      	* app/widgets/gimperrorconsole.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimppaletteeditor.c
      	* app/widgets/gimppreview-popup.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimpsessioninfo.c
      	* app/widgets/gimptoolbox-color-area.c
      	* app/widgets/gimptoolbox-indicator-area.c
      	* app/widgets/gimptoolbox.c
      	* app/widgets/gimptooloptionseditor.c
      	* app/widgets/gimpvectorstreeview.c
      	* app/widgets/gimpwidgets-utils.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpnavigationview.c
      	* app/gui/module-browser.c
      	* app/gui/dialogs-commands.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/drawable-commands.c
      	* app/gui/file-commands.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor-commands.c
      	* app/gui/gui-vtable.c
      	* app/gui/gui.c
      	* app/gui/info-window.c
      	* app/gui/palette-import-dialog.c
      	* app/gui/palettes-commands.c
      	* app/gui/qmask-commands.c
      	* app/gui/select-commands.c
      	* app/gui/tool-options-commands.c
      	* app/gui/view-commands.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimptransformtool.c
      	* plug-ins/FractalExplorer/FractalExplorer.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c: changed accordingly. Changed all
      	menu_position funcs to place the menu on the right screen.
      b62f8e9a
  9. 01 Nov, 2003 1 commit
    • Sven Neumann's avatar
      added a GdkDisplay parameter and added the convenience function · c40a8121
      Sven Neumann authored
      2003-11-01  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpcursor.[ch] (gimp_cursor_new): added a
      	GdkDisplay parameter and added the convenience function
      	gimp_cursor_set().
      
      	* app/display/gimpdisplayshell-cursor.c
      	* app/tools/gimpcurvestool.c
      	* app/widgets/gimpdialogfactory.c: changed accordingly.
      c40a8121
  10. 13 Oct, 2003 1 commit
    • Michael Natterer's avatar
      renamed gimp_dialog_factories_idle() and _unidle() to · 2b0c0513
      Michael Natterer authored
      2003-10-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdialogfactory.[ch]: renamed
      	gimp_dialog_factories_idle() and _unidle() to
      	gimp_dialog_factories_set_busy() and _unset_busy().
      	Added utility function gimp_dialog_factory_set_widget_data() and
      	public API gimp_dialog_factory_from_widget() so we don't need to
      	g_object_[set|get]_data() with magic keys all over the place.
      
      	* app/widgets/gimpsessioninfo.c
      	* app/gui/dialogs-commands.c
      	* app/gui/dialogs-menu.c
      	* app/gui/gui-vtable.c: changed accordingly.
      
      	* app/widgets/gimpsessioninfo.c: remember active page of all dock
      	notebooks in sessionrc.
      
      	* app/widgets/gimpsessioninfo.h: cleaned up the session info structs.
      2b0c0513
  11. 10 Oct, 2003 1 commit
    • Michael Natterer's avatar
      Cleaned up session management and changed the format of sessionrc in a way · 87480880
      Michael Natterer authored
      2003-10-10  Michael Natterer  <mitch@gimp.org>
      
      	Cleaned up session management and changed the format of sessionrc
      	in a way that allows extensions without changing the format during
      	the 2.0 cycle:
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpsessioninfo.[ch]: new files implementing the whole
      	GimpSessionInfo stuff (parsing, saving, restoring, utility functions).
      	Save / parse the position of GimpDock's panes (bug #122964).
      
      	* app/widgets/gimpdialogfactory.[ch]: removed saving, restoring
      	and session related utility functions and use the ones from
      	the new files above.
      
      	* app/gui/session.c: removed parsing and use the new stuff.
      
      	* app/widgets/gimpdock.[ch]: added new virtual functions
      	GimpDock::set_aux_info() and GimpDock::get_aux_info():
      
      	* app/widgets/gimpimagedock.c: implement them and handle the
      	"auto_follow_active" and "show_image_menu" properties.
      
      	* app/widgets/gimpdockable.[ch]: added the same virtual functions
      	to the GimpDockable class. Enables forward-compatible per-dockable
      	session management (bug #122964).
      
      	* app/gui/dialogs-commands.c
      	* app/gui/gui.c: changed accordingly.
      
      	* etc/sessionrc: ditto. Look at this file and update your own
      	sessionrc manually if you don't want to lose it.
      87480880
  12. 23 Sep, 2003 1 commit
    • Michael Natterer's avatar
      pass the menu_factory of the newly created dock to gimp_dockbook_new(), · a8ed5f6b
      Michael Natterer authored
      2003-09-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdialogfactory.c
      	(gimp_dialog_factories_restore_foreach): pass the menu_factory of
      	the newly created dock to gimp_dockbook_new(), not the one of the
      	dialog_factory we are restoring (doesn't matter since we have only
      	one global_menu_factory, but this code should still not do wrong
      	things)
      a8ed5f6b
  13. 09 Sep, 2003 1 commit
    • Sven Neumann's avatar
      app/display/gimpdisplayshell-callbacks.c app/display/gimpdisplayshell.c · 56438a7b
      Sven Neumann authored
      2003-09-09  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell.c
      	* app/display/gimpnavigationview.c
      	* app/gui/resolution-calibrate-dialog.c
      	* app/widgets/gimpcontainerpopup.c
      	* app/widgets/gimpdialogfactory.c
      	* app/widgets/gimpeditor.c
      	* app/widgets/gimppreview-popup.c
      	* app/widgets/gimpwidgets-utils.c: get the size from the current
      	screen, not always from the default one.
      
      	* plug-ins/common/wmf.c: ask GIMP for the monitor resolution instead
      	of taking the value from GDK.
      56438a7b
  14. 02 Sep, 2003 1 commit
  15. 09 Aug, 2003 1 commit
    • Sven Neumann's avatar
      added devel-docs/app. · 6ef4d95f
      Sven Neumann authored
      2003-08-09  Sven Neumann  <neo@bender>
      
      	* configure.in: added devel-docs/app.
      
      	* app/core/gimpitem.c
      	* app/widgets/gimpdialogfactory.c: more documentation fixes.
      
      2003-08-09  Sven Neumann  <sven@gimp.org>
      
      	* Makefile.am
      	* app: added a first version of docs for the application. The
      	templates are not yet in CVS and it's not built by default (and
      	probably never will be).
      6ef4d95f
  16. 08 Aug, 2003 1 commit
    • Sven Neumann's avatar
      app/config/gimpconfig-deserialize.c app/config/gimpconfig-serialize.c · 2dbb3880
      Sven Neumann authored
      2003-08-08  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-serialize.c
      	* app/config/gimpconfig.c
      	* app/config/gimprc.c
      	* app/core/gimpitem.[ch]
      	* app/display/gimpprogress.[ch]
      	* app/widgets/gimpdialogfactory.c
      	* app/widgets/gimpenummenu.c
      	* app/widgets/gimpfontselection.c
      	* app/widgets/gimpwidgets-utils.c: documentation fixes.
      2dbb3880
  17. 08 Jul, 2003 2 commits
    • Sven Neumann's avatar
      added a hack that ensures that the toolbox is always first in all · c1921c10
      Sven Neumann authored
      2003-07-08  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpdialogfactory.c: added a hack that ensures that
      	the toolbox is always first in all dialog_factories_foreach calls.
      	This way the toolbox appears first in sessionrc and first on screen.
      
      	* etc/sessionrc: updated the sample sessionrc, tweaked it a little.
      c1921c10
    • Michael Natterer's avatar
      Added configurable styles for dockable tabs (fixes bug #87376): · 6fabca2e
      Michael Natterer authored
      2003-07-08  Michael Natterer  <mitch@gimp.org>
      
      	Added configurable styles for dockable tabs (fixes bug #87376):
      
      	* app/widgets/widgets-enums.[ch]: added new enum GimpTabStyle
      	which can be one on { ICON, NAME, ICON_NAME, ICON_BLURB }.
      
      	* app/widgets/gimpdockable.[ch]: added a GimpTabStyle member to
      	the GimpDockable struct which defaults to GIMP_TAB_STYLE_ICON.
      	Renamed "short_name" to "name" and "name" to "blurb". Renamed
      	GimpDockableGetTabFunc to GimpDockableGetIconFunc. Implemented all
      	tab styles in gimp_dockable_real_get_tab_widget() and use the
      	"get_icon_func" only for creating the tab's icon, not the entire
      	tab widget.
      
      	* app/widgets/gimpdockbook.[ch]: changed accordingly. Create the
      	menu widgets and the DND icon using gimp_dockable_get_tab_widget()
      	with tab_style == GIMP_TAB_STYLE_ICON_BLURB instead of duplicating
      	tons of code. Made gimp_dockbook_get_tab_widget() public because
      	it's needed for exchanging tabs on-the-fly.
      
      	* app/widgets/gimpimagedock.c: changed accordingly.
      
      	* app/widgets/gimpdialogfactory.c: remember the dockables' tab
      	style in sessionrc.
      
      	* app/gui/dialogs-menu.c: added a submenu to select the tab style
      	for each dockable.
      
      	* app/gui/dialogs-commands.[ch]: new callback
      	dialogs_tab_style_cmd_callback().
      
      	* app/gui/dialogs-constructors.[ch]: added stock_ids to all
      	dockables, swapped the "name" and "blurb" parameters, reordered
      	functions, cleanup.
      
      	* app/gui/dialogs-menu.c
      	* app/gui/image-menu.c
      	* app/gui/toolbox-menu.c: use GIMP_STOCK_DEFAULT_COLORS for the
      	color editor dockable and renamed it to "FG/BG Color".
      6fabca2e
  18. 03 May, 2003 1 commit
    • Michael Natterer's avatar
      set GDK_HINT_USER_POS for all session managed dialogs, not only for those · 95f8fca1
      Michael Natterer authored
      2003-05-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdialogfactory.c: set GDK_HINT_USER_POS for all
      	session managed dialogs, not only for those which already have
      	saved session info. This way the dialogs keep their position
      	acrosss hide/show within the same session, even if they have never
      	been used before.
      
      	* app/gui/dialogs.c: added entries for the file open/save dialogs.
      	Fixed some entries.
      
      	* app/gui/file-dialog-utils.[ch]
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c: register the file dialogs with
      	the dialog factory.
      95f8fca1
  19. 02 May, 2003 1 commit
    • Michael Natterer's avatar
      added new function gimp_dialog_factory_add_foreign() which adds a dialog · fefaf61b
      Michael Natterer authored
      2003-05-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdialogfactory.[ch]: added new function
      	gimp_dialog_factory_add_foreign() which adds a dialog that was not
      	created by the factory itself. Its identifier however must be
      	registered with the factory. Connect to all toplevel dialogs'
      	"configure_event" and remember the resulting window geometry so we
      	get session management for *all* dialogs, not only for those which
      	were open on exit.
      
      	* app/gui/dialogs.c: added the "File New" dialog. Added foreign
      	entries (without constructor) for all dialogs opened by tools.
      
      	* app/gui/dialogs-constructors.[ch]: added a constructor for
      	the file_new dialog.
      
      	* app/gui/file-new-dialog.[ch]: renamed file_new_dialog_create()
      	to file_new_dialog_new() and removed the gimage and template
      	paramaters. Adder new function file_new_dialog_set() to set
      	gimage and template after creation.
      
      	* app/gui/file-commands.c
      	* app/gui/templates-commands.c: changed accordingly.
      
      	* app/tools/gimpimagemaptool.[ch]
      	* app/tools/gimptransformtool.[ch]: added
      	"const gchar *shell_identifier" to the tool structs. Register the
      	tool dialogs using gimp_dialog_factory_add_foreign().
      
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimpthresholdtool.c: set "shell_identifier" so the
      	dialogs become session managed. Fixes bug #61091.
      
      	* app/tools/gimpcroptool.c: register the crop dialog with the
      	dialog factory. Fixes bug #52849.
      
      	* app/tools/gimpcolorpickertool.c: ditto.
      
      	Unrelated:
      
      	* app/tools/gimptool.c: no need to cast the return value of
      	g_object_new().
      fefaf61b
  20. 10 Mar, 2003 1 commit
    • Sven Neumann's avatar
      removed gimp_scanner_parse_string_list() since the format it read wasn't · 3ab2e648
      Sven Neumann authored
      2003-03-10  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpscanner.[ch]: removed gimp_scanner_parse_string_list()
      	since the format it read wasn't proper s-expressions syntax.
      
      	* app/config/gimpconfigwriter.c: a couple of minor cleanups.
      
      	* app/gui/color-history.[ch]
      	* app/gui/session.c
      	* app/widgets/gimpdialogfactory.[ch]: use GimpConfigWriter to
      	write the sessionrc. Had to do some minor changes to the file
      	format.
      3ab2e648
  21. 11 Jan, 2003 1 commit
    • Michael Natterer's avatar
      app/widgets/gimpdialogfactory.c removed GDK_HINT_USER_POS and · 28da5054
      Michael Natterer authored
      2003-01-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdialogfactory.c
      	* app/widgets/gimptoolbox.c: removed GDK_HINT_USER_POS and
      	GDK_HINT_USER_SIZE again because they caused problems with
      	some window managers Instead, set the window's size with
      	gtk_window_parse_geometry().
      28da5054
  22. 10 Jan, 2003 1 commit
    • 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
  23. 05 Jan, 2003 1 commit
  24. 04 Jan, 2003 1 commit
    • Sven Neumann's avatar
      app/widgets/gimpbrushfactoryview.c app/widgets/gimpcontainereditor.c · 78b4a1df
      Sven Neumann authored
      2003-01-04  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpbrushfactoryview.c
      	* app/widgets/gimpcontainereditor.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainerlistview.c
      	* app/widgets/gimpcontainermenuimpl.c
      	* app/widgets/gimpcontainerview.c
      	* app/widgets/gimpdatafactoryview.c
      	* app/widgets/gimpitemlistview.c: check preview sizes to be
      	smaller than GIMP_PREVIEW_MAX_SIZE instead of using a hardcoded
      	and much too small value of 64.
      
      	* app/widgets/gimpdialogfactory.c: check that the preview size is
      	in range of the GimpPreviewSize enum when parsing the sessionrc.
      78b4a1df
  25. 03 Jan, 2003 1 commit
  26. 23 Nov, 2002 1 commit
    • Michael Natterer's avatar
      removed gimp_config_values_equal(). · 4ce4adf8
      Michael Natterer authored
      2002-11-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig-utils.[ch]: removed
      	gimp_config_values_equal().
      
      	* app/config/gimpconfig-serialize.c
      	* app/config/gimpconfig.c: use g_param_values_cmp() instead so
      	our registered compare methods are used.
      
      	* app/config/gimpdisplayconfig.[ch]: added "canvas_padding_mode"
      	and "canvas_padding_color" properties.
      
      	* app/display/display-enums.[ch]: added enum GimpDisplayPaddingMode
      	which can be one of { theme, light check, dark check, custom }.
      
      	* app/display/gimpdisplay.h
      	* app/display/gimpdisplay-handlers.c: removed cached monitor
      	resolution values...
      
      	* app/display/gimpdisplayshell.[ch]: ...and added them here. Added
      	padding state as in GimpDisplayConfig. Added utility function
      	gimp_display_shell_set_padding() which hides all the details.
      	Added the new padding modes to the padding color button's context
      	menu.
      
      	* app/display/gimpdisplayshell-callbacks.[ch]: don't fiddle
      	with colors manually but use gimp_display_shell_set_padding()
      	in realize() and in the color button callbacks.
      
      	* app/display/gimpdisplayshell-handlers.c: connect to
      	notify::monitor-[xy]resolution and
      	notify::canvas-padding-[mode|color] and update accordingly.
      
      	* app/widgets/gimppropwidgets.[ch]: added
      	gimp_prop_color_button_new().
      
      	* app/widgets/gimpdialogfactory.[ch]: added
      	gimp_dialog_factories_session_clear() (unimplemented).
      
      	* app/gui/preferences-dialog.c: added widgets for padding mode and
      	color. Removed some callbacks by connecting the functions they
      	called directly. Cleanup.
      4ce4adf8
  27. 25 Oct, 2002 1 commit
    • Michael Natterer's avatar
      app/display/gimpdisplayshell.c app/gui/about-dialog.c · b5d27fc4
      Michael Natterer authored
      2002-10-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell.c
      	* app/gui/about-dialog.c
      	* app/gui/convert-dialog.c
      	* app/gui/dialogs-commands.c
      	* app/gui/file-commands.c
      	* app/gui/palette-import-dialog.c
      	* app/tools/gimptexttool.c
      	* app/widgets/gimpdialogfactory.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimpwidgets-utils.c
      	* libgimpwidgets/gimpfileselection.c
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/FractalExplorer/FractalExplorer.c
      	* plug-ins/common/AlienMap.c
      	* plug-ins/common/AlienMap2.c
      	* plug-ins/common/spheredesigner.c
      	* plug-ins/flame/flame.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gimpressionist/general.c
      	* plug-ins/gimpressionist/gimpressionist.c: replaced all sorts of
      	gtk_widget_show()/gdk_window_rise() combinations by
      	gtk_window_present().
      b5d27fc4
  28. 27 Aug, 2002 1 commit
  29. 11 May, 2002 1 commit
    • Michael Natterer's avatar
      Added a comment to explain why the "correct" size calculation is commented · 5a024d97
      Michael Natterer authored
      2002-05-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcolormapeditor.c: Added a comment to explain why
      	the "correct" size calculation is commented out and put back the
      	old buffer size so we don't crash. Made the code robust against
      	whether we render only the color cells or the whole widget's
      	allocation->width.
      
      	* app/widgets/gimpdialogfactory.c: Don't try to #define DEBUG(...)
      	but wrap the whole g_print(...) statement in a debugging macro.
      5a024d97
  30. 10 May, 2002 1 commit
    • Hans Breuer's avatar
      add appconfig.lib. Statically link libgimptool/gimptool.lib. · 8522a847
      Hans Breuer authored
      2001-05-11  Hans Breuer  <hans@breuer.org>
      
      	* app/makefile.msc : add appconfig.lib. Statically
      	link libgimptool/gimptool.lib.
      
      	* app/main.c : use gimp_locale_directory()
      
      	* app/config/gimpconfig-utils.c : <string.h>
      
      	* app/config/makefile.msc : add gimpscanner
      
      	* app/core/gimpimagefile.c : some G_OS_WIN32 mess to get
      	mkdir() and chmod()
      
      	* app/display/gimpdisplayshell.c
      	  app/plug-in/plug-in-progrss.c
      	  app/tool/gimpcolorpickertool.c
      	  app/tool/gimpcroptool.c
      	  app/tool/gimpmeasuretool.c
      	  app/tool/gimpperspectivetool.c
      	  app/tool/gimprotatetool.c
      	  app/tool/gimpscaletool.c
      	  app/tool/gimpsheartool.c
      	  app/tool/gimptransformtool.c
      	  app/widgets/gimpcolormapeditor.c
      	  app/widgets/gimpcolorpanel.c
      	  app/widgets/gimptoolbox-color-area.c
      	add #ifdef __GNUC__ to avoid breaking on non standard
      	pragma #warning
      
      	* app/tools/makefile.msc : add gimptoolcontrol remove
      	tools-enum
      
      	* app/tools/tool_manager.c : need to include
      	libgimptool/gimptoolcontrol.h after core includes
      	otherwise we would compile without prototypes or
      	break miserably
      
      	* app/gui/plug-in-menus.c : replace LOCALEDIR with
      	gimp_locale_directory ()
      
      	* app/gui/preferences-dialog.c (prefs_notebook_append_page) :
      	only try to gdk_pixbuf_new_from_file() with a valid filename.
      	It should simply return NULL otherwise, but fails if the
      	filename is an empty string.
      
      	* app/paint-funcs/makefile.msc : add -FImsvc_recommended_pragmas.h
      
      	* app/widgets/gimpcolormapeditor.c : the 'row'
      	allocated needs to be 'xn * cellsize * 2' (to avoid
      	accessing unowned memory) not only width, which has
      	become allocation.width by someone commenting out
      	the correct size calculation
      
      	* app/widgets/gimpdialogfactory.c : varargs to macros
      	are GCCism or at least non standard. #define DEBUG
      	to g_print or nothing - without arguments - does fix
      	it somewhat dirty as the compiler needs to tolerate
      	the '(blah, foo, bar);' statement than
      
      	* app/widgets/makefile.msc : updated
      
      	* app/xcf/makefile.msc : add -FImsvc_recommended_pragmas.h
      
      	* etc/gimprc.win32 : use ';' to separate theme-path
      
      	* libgimpbase/gimpenv.c : #include <stdio.h>
      	for sprintf()
      
      	* app/widgets/gimpdnd.c (gimp_dnd_set_file_data) :
      	the passed in vals chunk is not always null-terminated
      	(at least not on win32). Use the length parameter too
      	to avoid reading junk filenames.
      
      	* libgimp/gimp.def : export gimp_image_get_name()
      
      	* libgimpbase/gimpbase.def : export gimp_locale_directory()
      	* libgimpbase/gimpenv.[ch] : added gimp_locale_directory ()
      
      	* libgimpbase/makefile.msc : define DATADIR and SYSCONFDIR
      	to empty string to let gimp find its files in the common
      	place (win32: relative to the top level gimp dir)
      
      	* plug-ins/common/pixelize.c : <string.h>
      
      	* plug-ins/flame/cmap.c : #include <glib.h> for g_random_int()
      
      	* plug-ins/makefile.msc : -FImsvc_recommended_pragams.h
      	and a little hack to give imagemap the prototypes it
      	desires without changing the lexed source
      
      	* themes/Default/images/makefile.msc : now added (see below)
      
      	* themes/Default/images/stock-button-reset.png : made it binary
      8522a847
  31. 16 Apr, 2002 1 commit
    • Michael Natterer's avatar
      register GimpImageType. · 4aa4803d
      Michael Natterer authored
      2002-04-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-enums.[ch]: register GimpImageType.
      
      	* app/core/gimpimagefile.[ch]: read and write more image properties
      	in thumbnails.
      
      	* app/gui/file-open-dialog.c: changed accordingly.
      
      	* app/widgets/gimpdialogfactory.c: disabled debugging output.
      
      	* app/widgets/gimpdocumentview.c: changed the "Refresh" button to
      	regenerate the preview on click and reload all previews on
      	shift+click.
      
      	* tools/pdbgen/enums.pl: regenerated.
      4aa4803d
  32. 14 Mar, 2002 1 commit
    • Michael Natterer's avatar
      g_strdup() the stock_id passed to gimp_tool_info_new() because the · b8798408
      Michael Natterer authored
      2002-03-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimptoolinfo.c: g_strdup() the stock_id passed to
      	gimp_tool_info_new() because the caller's memory may disappear
      	after registering the tool (tool modules).
      
      	Made a GimpDock out of the toolbox:
      
      	* app/gui/Makefile.am
      	* app/gui/color-area.[ch]
      	* app/gui/indicator-area.[ch]
      	* app/gui/toolbox.[ch]: removed...
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimptoolbox-color-area.[ch]
      	* app/widgets/gimptoolbox-indicator-area.[ch]
      	* app/widgets/gimptoolbox.[ch]: ...and added here.
      
      	* app/widgets/gimpdock.[ch]: don't set a minimal width. Added a
      	"destroy_if_empty" boolean so we can prevent destruction of the
      	toolbox if it's last dockable is removed. Added gimp_dock_construct()
      	which is called from GimpImageDock and GimpToolbox.
      
      	* app/widgets/gimpimagedock.[ch]: Default to not showing the image
      	menu, set a minimal width here, misc. minor cleanup.
      
      	* app/widgets/gimpdockbook.c: some more GIMP_IS_IMAGE_DOCK()
      	checks, fixed dnd widget creation.
      
      	* app/widgets/gimpdialogfactory.[ch]: changed
      	gimp_dialog_factories_toggle() to take just the toolbox_factory as
      	parameter. When restoring the session use the created dock's
      	dialog factory to create dockables, not the the factory we
      	created the dock from (for the toolbox).
      
      	* app/display/gimpdisplayshell-callbacks.c: changed accordingly.
      
      	* app/gui/dialogs.[ch]: create an own dialog factory for the toolbox
      	and set dialogs_toolbox_new() as it's new_dock_func.
      
      	* app/gui/dialogs-constructors.[ch]: changed dialogs_toolbox_get()
      	accordingly.
      
      	* app/gui/dialogs-commands.[ch]: added dialogs_show_toolbox(), ckeck
      	if a dock is really a GimpImageDock before casting.
      
      	* app/gui/gui.c
      	* app/gui/menus.c
      	* app/widgets/gimppaletteeditor.c: changed accordingly.
      
      	* app/gui/color-notebook.c
      	* app/gui/color-select.c
      	* app/gui/colormap-dialog.c
      	* app/gui/palette-editor-commands.c: removed useless inclusion of
      	"gui/color-area.h".
      
      	* themes/Default/gtkrc: set "gimp-dock-style" for GimpToolbox widgets.
      b8798408
  33. 11 Mar, 2002 1 commit
    • Michael Natterer's avatar
      added a GimpAnchorItemFunc and use it if it's set. · 3e695dd0
      Michael Natterer authored
      2002-03-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimplayerlistview.[ch]: added a GimpAnchorItemFunc
      	and use it if it's set.
      
      	* app/widgets/gimpitemlistview.c: removed the floating selection
      	special case hack from the remove_item callback.
      
      	* app/gui/layers-commands.[ch]: added layers_remove_layer() and
      	layers_anchor_layer(). Fixed sensitive setting of the "Anchor"
      	menu item.
      
      	* app/gui/dialogs-constructors.c: use the new functions when
      	constructing the layers dialog. Makes deleting and anchoring
      	floating selections from the layers dialog work without hacking
      	or code duplication.
      
      	* app/widgets/gimpdialogfactory.c: added comments about dialog
      	destruction in dispose().
      3e695dd0
  34. 10 Mar, 2002 2 commits
    • Michael Natterer's avatar
      removed type checking casts from macros which return parts of · 1f08f9d9
      Michael Natterer authored
      2002-03-10  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpwidgets.h: removed type checking casts from
      	macros which return parts of pseudo-widgets.
      
      	* app/widgets/gimpbrushfactoryview.c: changed accordingly.
      
      	* app/widgets/gimpdialogfactory.c: added a "dispose"
      	implementation used to destroy all dialogs the factory has
      	created.
      
      	* app/gui/toolbox.[ch]: removed toolbox_free(), removed the static
      	"toolbox_shell" variable, set the active tool correctly on
      	creation, don't show the window here (fixes session menagement),
      	take the vbox' spacing into account when calculating the window's
      	resize hints.
      
      	* app/gui/gui.c: don't include "toolbox.h", don't call
      	toolbox_free().
      
      	* app/widgets/gimpfontselection.c: set the width of the entry to
      	16 chars on creation so it doesn't fall back to it's insanely
      	large default width, minor stuff.
      
      	* app/tools/gimptexttool.c
      	* app/tools/selection_options.c: some more scale_entries.
      1f08f9d9
    • Michael Natterer's avatar
      app/gui/dialogs-constructors.[ch] app/gui/dialogs.c made the tool options · 8b8442e9
      Michael Natterer authored
      2002-03-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c
      	* app/gui/tool-options-dialog.[ch]: made the tool options dialog
      	dockable. Create a fancy tab for it which looks like the old
      	dialog header.
      
      	* app/gui/gui.c
      	* app/gui/menus.c
      	* app/gui/toolbox.c: changed accordingly.
      
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimperasertool.c: moved the tool toggling widgets to
      	the top.
      
      	* app/tools/paint_options.c: show the paint mode menu for all
      	paint tools but set it insensitive where it makes no sense.
      	Reduces flickering and makes the tools' similarity more obvious.
      
      	* app/widgets/gimpdataeditor.c: fixed segfault in
      	gimp_data_editor_set_data() (data may be NULL), don't pass NULL to
      	gtk_entry_set_text(), make the name entry insensitive if data ==
      	NULL.
      
      	* app/widgets/gimpdialogfactory.c: fixed longstanding bug which
      	made newly created docks steal the first session entry with a NULL
      	widget instead of the first _dock_ session entry with a NULL
      	widget. Added even more debugging output. Cleanup.
      
      	* app/widgets/gimpdockbook.c: made the tab/menu widget code more
      	general to cover the tool options tab.
      8b8442e9
  35. 25 Jan, 2002 1 commit
    • Michael Natterer's avatar
      CPPFLAGS: added -DGTK_DISABLE_DEPRECATED · 9dd403f7
      Michael Natterer authored
      2002-01-25  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: CPPFLAGS: added -DGTK_DISABLE_DEPRECATED
      
      	* libgimpwidgets/gimpdialog.c: still use the deprecated
      	gtk_window_set_policy() but spit out a #warning.
      
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpitemfactory.[ch]: made it a GtkItemFactory
      	subclass. This way we can reproduce the effect of
      	gtk_item_factory_get_from_path() which is deprectated for good
      	reasons.  For GIMP, using it its perfectly OK since we only have
      	one item factory per "<prefix>".
      
      	* app/widgets/gimpbrushfactoryview.[ch]
      	* app/widgets/gimpbufferview.[ch]
      	* app/widgets/gimpcontainereditor.[ch]
      	* app/widgets/gimpdatafactoryview.[ch]
      	* app/widgets/gimpdialogfactory.[ch]
      	* app/widgets/gimpdock.c
      	* app/widgets/gimpdockbook.c
      	* app/widgets/gimpdocumentview.[ch]
      	* app/widgets/gimpdrawablelistview.[ch]
      	* app/widgets/gimppreview.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell.[ch]: pass around GimpItemFactory
      	pointers instead of "const gchar *" item factory identifiers.
      	Replaced gtk_window_set_policy() by gtk_window_set_resizable()
      	and other recommended stuff.
      
      	* app/gui/about-dialog.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/dialogs.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/menus.c
      	* app/gui/offset-dialog.c
      	* app/gui/splash.c
      	* app/gui/tips-dialog.c
      	* app/gui/toolbox.c: lots of
      	s/gtk_item_factory_from_path/gimp_item_factory_from_path/,
      	gtk_window_set_policy() replacements, misc fixes.
      
      	* plug-ins/gdyntext/charmap_window.c
      	* plug-ins/gdyntext/gdyntext_ui.c
      	* plug-ins/gdyntext/message_window.c
      	* plug-ins/imagemap/imap_main.c: replaced gtk_window_set_policy().
      9dd403f7
  36. 29 Dec, 2001 1 commit
    • Michael Natterer's avatar
      app/gimpprogress.c app/nav_window.c app/ops_buttons.c app/undo_history.c · 14d0a3ff
      Michael Natterer authored
      2001-12-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpprogress.c
      	* app/nav_window.c
      	* app/ops_buttons.c
      	* app/undo_history.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/about-dialog.c
      	* app/gui/brush-editor.c
      	* app/gui/channels-commands.c
      	* app/gui/color-area.c
      	* app/gui/color-notebook.c
      	* app/gui/color-select.c
      	* app/gui/colormap-dialog.c
      	* app/gui/convert-dialog.c
      	* app/gui/device-status-dialog.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/info-dialog.c
      	* app/gui/layers-commands.c
      	* app/gui/module-browser.c
      	* app/gui/offset-dialog.c
      	* app/gui/palette-editor.c
      	* app/gui/palettes-commands.c
      	* app/gui/paths-dialog.c
      	* app/gui/qmask-commands.c
      	* app/gui/resize-dialog.c
      	* app/gui/resolution-calibrate-dialog.c
      	* app/gui/splash.c
      	* app/gui/tips-dialog.c
      	* app/gui/toolbox.c
      	* app/gui/user-install-dialog.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/paint_options.c
      	* app/tools/selection_options.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimpcomponentlistitem.c
      	* app/widgets/gimpconstrainedhwrapbox.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainerlistview.c
      	* app/widgets/gimpcontainermenuimpl.c
      	* app/widgets/gimpdialogfactory.c
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpdock.c
      	* app/widgets/gimpdockbook.c
      	* app/widgets/gimpdrawablelistitem.c
      	* app/widgets/gimpdrawablelistview.c
      	* app/widgets/gimpfontselection-dialog.c
      	* app/widgets/gimphistogramview.c
      	* app/widgets/gimpitemfactory.c
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimplistitem.[ch]
      	* app/widgets/gimpmenuitem.c
      	* app/widgets/gimppreview.[ch]
      	* app/widgets/gtkhwrapbox.c
      	* app/widgets/gtkvwrapbox.c
      	* app/widgets/gtkwrapbox.c
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpexport.c
      	* libgimp/gimpgradientmenu.c
      	* libgimp/gimpmenu.c
      	* libgimp/gimppatternmenu.c
      	* libgimpwidgets/gimpbutton.c
      	* libgimpwidgets/gimpchainbutton.[ch]
      	* libgimpwidgets/gimpcolorarea.h
      	* libgimpwidgets/gimpcolorbutton.c
      	* libgimpwidgets/gimpfileselection.c
      	* libgimpwidgets/gimphelpui.c
      	* libgimpwidgets/gimpoffsetarea.c
      	* libgimpwidgets/gimppatheditor.c
      	* libgimpwidgets/gimppixmap.h
      	* libgimpwidgets/gimpquerybox.c
      	* libgimpwidgets/gimpstock.[ch]
      	* libgimpwidgets/gimpwidgets.h
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/FractalExplorer/Events.c
      	* plug-ins/FractalExplorer/FractalExplorer.c
      	* plug-ins/Lighting/lighting_ui.c
      	* plug-ins/MapObject/mapobject_ui.c
      	* plug-ins/bmp/bmpwrite.c
      	* plug-ins/dbbrowser/dbbrowser_utils.c
      	* plug-ins/fits/fits.c
      	* plug-ins/flame/flame.c
      	* plug-ins/fp/fp_gtk.c
      	* plug-ins/fp/fp_misc.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/gfli/gfli.c
      	* plug-ins/gimpressionist/*.c
      	* plug-ins/imagemap/*.[ch]
      	* plug-ins/maze/maze_face.c
      	* plug-ins/mosaic/mosaic.c
      	* plug-ins/pagecurl/pagecurl.c
      	* plug-ins/print/print_gimp.h
      	* plug-ins/rcm/rcm_callback.c
      	* plug-ins/rcm/rcm_dialog.c
      	* plug-ins/rcm/rcm_misc.c
      	* plug-ins/script-fu/script-fu-console.c
      	* plug-ins/script-fu/script-fu-scripts.c
      	* plug-ins/script-fu/script-fu-server.c
      	* plug-ins/sel2path/sel2path.c
      	* plug-ins/sel2path/sel2path_adv_dialog.c
      	* plug-ins/sgi/sgi.c
      	* plug-ins/webbrowser/webbrowser.c
      	* plug-ins/xjt/xjt.c
      	* plug-ins/common/[A-n]*.c: compile with GTK_DISABLE_DEPRECATED
      	defined. Not everything is fully ported yet, had to #undef
      	GTK_DISABLE_DEPRECATED in many places and added #warnings when
      	doing so.
      
      	* pixmaps/Makefile.am
      	* pixmaps/chain.xpm: removed.
      
      	* themes/Default/Makefile.am
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-button-hchain-broken.png
      	* themes/Default/images/stock-button-hchain.png
      	* themes/Default/images/stock-button-vchain-broken.png
      	* themes/Default/images/stock-button-vchain.png: new stock icons.
      14d0a3ff
  37. 14 Dec, 2001 1 commit
    • Michael Natterer's avatar
      added GIMP_IMAGE_TYPE_IS_[RGB|GRAY|INDEXED]() and · 37269769
      Michael Natterer authored
      2001-12-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.[ch]: added
      	GIMP_IMAGE_TYPE_IS_[RGB|GRAY|INDEXED]() and
      	GIMP_IMAGE_TYPE_BASE_TYPE() macros.
      
      	* app/plug-in/plug-in.[ch]: new enum PlugInImageType instead of
      	multiple #defines.
      
      	* app/gui/file-dialog-utils.[ch]: file_dialog_update_menus(): take
      	a GimpImageType instead of the PlugInImageType.
      
      	* app/core/gimpdrawable-preview.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpimage-contiguous-region.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimplayermask.c
      	* app/core/gimppalette-import.c
      	* app/display/gimpdisplay-handlers.c
      	* app/display/gimpdisplayshell-render.c
      	* app/gui/file-save-dialog.c
      	* app/gui/toolbox.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorpickertool.c
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/image.pdb: use the new macros, cleanups like
      	storing GimpImageType in GimpImageType variables, not just gint.
      
      	* app/pdb/convert_cmds.c
      	* app/pdb/image_cmds.c: regenerated.
      
      	* app/widgets/gimpdialogfactory.c: save the state of the "Auto"
      	button in sessionrc.
      37269769
  38. 23 Nov, 2001 1 commit
    • Michael Natterer's avatar
      removed a useless g_return_if_fail(). · d463a5ef
      Michael Natterer authored
      2001-11-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpcontainer.c: removed a useless g_return_if_fail().
      
      	* app/widgets/gimpcontainereditor.h: removed GimpViewType enum.
      
      	* app/widgets/widgets-types.h: added it here.
      
      	* app/widgets/gimpcontainerview-utils.[ch]: added a utility function
      	which gets the GimpContainerView out of a GimpDockable.
      
      	* app/widgets/gimpdialogfactory.[ch]: added support for saving and
      	loading of each GimpDockable's preview size. Store the dialog's
      	default preview size in the GimpDialogFactoryEntry.  Pass the
      	preview_size to each created dialog.
      
      	* app/gui/menus.c: added menu items for setting the preview_size
      	and switching between list and grid view. Removed the item
      	overkill in the "Add Tab" submenu.
      
      	* app/gui/dialogs-commands.[ch]: added callbacks for the new items.
      
      	* app/widgets/gimpdockbook.c: set the item's state before showing
      	the menu.
      
      	* app/errors.c
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c
      	* app/gui/edit-commands.c
      	* app/gui/gui.c
      	* app/gui/indicator-area.c
      	* app/gui/toolbox.c: changed accordingly.
      
      	* app/tools/selection_options.[ch]: cleaned up the selection
      	options and added some tooltips. Much more to do...
      d463a5ef