1. 18 Nov, 2007 1 commit
    • Michael Natterer's avatar
      add DIALOG_FACTORY log domain. · f4621424
      Michael Natterer authored
      2007-11-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimp-log.[ch]: add DIALOG_FACTORY log domain.
      
      	* app/widgets/gimpdialogfactory.c: port debug output to GIMP_LOG().
      
      
      svn path=/trunk/; revision=24185
      f4621424
  2. 24 May, 2007 2 commits
    • Michael Natterer's avatar
      removed more code and cleaned up the API. · 2bf21338
      Michael Natterer authored
      2007-05-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpsessioninfo.[ch]: removed more code and cleaned
      	up the API.
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpsessioninfodock.[ch]: added the removed code here.
      
      	* app/widgets/gimpdialogfactory.c: changed accordingly.
      
      
      svn path=/trunk/; revision=22604
      2bf21338
    • Michael Natterer's avatar
      removed lots of code... · 616ba659
      Michael Natterer authored
      2007-05-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpsessioninfo.[ch]: removed lots of code...
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpsessioninfoaux.[ch]
      	* app/widgets/gimpsessioninfobook.[ch]
      	* app/widgets/gimpsessioninfodockable.[ch]: ...and added it here.
      	Also allocate all structs using GSLice.
      
      	* app/widgets/gimpcoloreditor.c
      	* app/widgets/gimpcursorview.c
      	* app/widgets/gimpdataeditor.c
      	* app/widgets/gimpdialogfactory.c
      	* app/widgets/gimpdocked.c
      	* app/widgets/gimphistogrameditor.c
      	* app/widgets/gimpmenudock.c
      	* app/widgets/gimppaletteeditor.c: changed accordingly.
      
      
      svn path=/trunk/; revision=22603
      616ba659
  3. 22 May, 2007 1 commit
  4. 13 Mar, 2007 1 commit
    • Michael Natterer's avatar
      added new ugly function gimp_dialog_factory_hide_dialog() which does · e8edf3f4
      Michael Natterer authored
      2007-03-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdialogfactory.[ch]: added new ugly function
      	gimp_dialog_factory_hide_dialog() which does gtk_widget_hide() and
      	sets the stored visibility state to GIMP_DIALOG_VISIBILITY_INVISIBLE
      	in order to avoid re-showing dialogs that were already insivible due
      	to TAB-toggling when we gtk_widget_hided them.
      
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpimagemaptool.c: use the new function instead of
      	gtk_widget_hide() to hide tool dialogs. Fixes bug #414006.
      
      
      svn path=/trunk/; revision=22111
      e8edf3f4
  5. 09 Dec, 2006 1 commit
  6. 29 May, 2006 1 commit
  7. 21 May, 2006 1 commit
    • Michael Natterer's avatar
      One of the following changes fixes a crash on exit when there is a cut · a5de974a
      Michael Natterer authored
      2006-05-21  Michael Natterer  <mitch@gimp.org>
      
      	One of the following changes fixes a crash on exit when there is a
      	cut buffer and a clipboard manager is runnig. I don't care which,
      	since they are all the right thing to do:
      
      	* app/widgets/gimpdialogfactory.c (gimp_dialog_factory_finalize):
      	don't remove the factory from the hash table of all factories here...
      
      	(gimp_dialog_factory_dispose): ...but here. Use the right key for
      	the toolbox factory.
      
      	(gimp_dialog_factories_set_busy)
      	(gimp_dialog_factories_unset_busy): check the return value of
      	g_type_class_ref() before using it.
      
      	Unrelated:
      
      	(gimp_dialog_factory_dispose): free the list of open dialogs here,
      	not in dispose(). Don't leak all the factory's session infos.
      a5de974a
  8. 15 May, 2006 1 commit
  9. 17 Jan, 2006 1 commit
    • Michael Natterer's avatar
      app/actions/dockable-actions.c app/actions/dockable-commands.[ch] · 5236dc6f
      Michael Natterer authored
      2006-01-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/dockable-actions.c
      	* app/actions/dockable-commands.[ch]
      	* app/dialogs/dialogs-constructors.[ch]
      	* app/dialogs/dialogs.c
      	* app/display/gimpdisplayshell-layer-select.c
      	* app/widgets/gimpbrusheditor.[ch]
      	* app/widgets/gimpbrushfactoryview.h
      	* app/widgets/gimpbufferview.[ch]
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpcomponenteditor.[ch]
      	* app/widgets/gimpcontainerbox.c
      	* app/widgets/gimpcontainercombobox.[ch]
      	* app/widgets/gimpcontainereditor.[ch]
      	* app/widgets/gimpcontainerentry.[ch]
      	* app/widgets/gimpcontainergridview.[ch]
      	* app/widgets/gimpcontainerpopup.[ch]
      	* app/widgets/gimpcontainertreeview.[ch]
      	* app/widgets/gimpcontainerview.[ch]
      	* app/widgets/gimpdatafactoryview.[ch]
      	* app/widgets/gimpdevicestatus.c
      	* app/widgets/gimpdialogfactory.[ch]
      	* app/widgets/gimpdocumentview.[ch]
      	* app/widgets/gimpfontview.[ch]
      	* app/widgets/gimpgradienteditor.[ch]
      	* app/widgets/gimpimageview.[ch]
      	* app/widgets/gimpitemtreeview.[ch]
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpmenudock.c
      	* app/widgets/gimppatternfactoryview.[ch]
      	* app/widgets/gimppropwidgets.[ch]
      	* app/widgets/gimpselectioneditor.[ch]
      	* app/widgets/gimpsessioninfo.[ch]
      	* app/widgets/gimptemplateview.[ch]
      	* app/widgets/gimptooloptionseditor.c
      	* app/widgets/gimptoolview.[ch]
      	* app/widgets/gimpundoeditor.[ch]
      	* app/widgets/gimpviewablebox.c
      	* app/widgets/gimpviewablebutton.[ch]
      	* app/widgets/gimpviewabledialog.[ch]
      	* app/widgets/gimpviewrenderer.c: change the word "preview" to
      	"view" whereever we talk about GimpView or GimpViewRenderer
      	objects or their sizes. Ther were renamed from "Preview" a long
      	time ago and we had a preview/view naming mess ever since.
      5236dc6f
  10. 29 Dec, 2005 3 commits
    • Sven Neumann's avatar
      added missing cast · 047770d0
      Sven Neumann authored
      047770d0
    • Sven Neumann's avatar
      fiddle with the "focus-on-map" window hint to prevent the dialogs from · b07cbb50
      Sven Neumann authored
      2005-12-29  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpdialogfactory.c (gimp_dialog_factories_show_foreach):
      	fiddle with the "focus-on-map" window hint to prevent the dialogs
      	from grabbing the focus away from the image window. Fixes bug #167762
      	for window managers supporting this hint.
      
      	* app/display/gimpdisplayshell-callbacks.c: removed redundant call
      	to gdk_window_focus() that wasn't having the desired effect anyway.
      b07cbb50
    • Sven Neumann's avatar
      split gimp_dialog_factories_toggle() into two functions. Turned the · 8fec4cd8
      Sven Neumann authored
      2005-12-29  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpdialogfactory.[ch]: split
      	gimp_dialog_factories_toggle() into two functions. Turned the
      	tri-state into a simple boolean state. Dialogs are now either
      	shown or not, without treating the toolbox any special.
      
      	* app/actions/dialogs-commands.c
      	* app/display/gimpdisplayshell-callbacks.c: changed accordingly.
      8fec4cd8
  11. 19 Dec, 2005 1 commit
  12. 27 May, 2005 1 commit
  13. 12 May, 2005 1 commit
    • Sven Neumann's avatar
      refactoring. · 35b50986
      Sven Neumann authored
      2005-05-12  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpdialogfactory.c: refactoring.
      35b50986
  14. 18 Jan, 2005 1 commit
    • Michael Natterer's avatar
      added new function gimp_dockable_blink() which lets the dockable's · 9f527b82
      Michael Natterer authored
      2005-01-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdockable.[ch]: added new function
      	gimp_dockable_blink() which lets the dockable's title_area blink.
      
      	* app/widgets/gimpdialogfactory.c
      	(gimp_dialog_factory_dialog_new_internal): let wilber blink at the
      	user :) Fixes bug #164156.
      9f527b82
  15. 09 Jan, 2005 1 commit
  16. 04 Nov, 2004 1 commit
  17. 26 Sep, 2004 1 commit
    • Michael Natterer's avatar
      added "name", "blurb", "stock_id" and "help_id" to struct · 6a50c270
      Michael Natterer authored
      2004-09-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdialogfactory.[ch]: added "name", "blurb",
      	"stock_id" and "help_id" to struct GimpDialogFactoryEntry and to
      	gimp_dialog_factory_dialog_register(). Added typedef
      	GimpDialogConstructor which takes a GimpDialogFactoryEntry in
      	addition to the parameters GimpDialogNewFunc takes. Added a
      	constructor function pointer to GimpDialogFactory which defaults
      	to a function that just returns entry->new_func(). Use that
      	constructor instead of entry->new_func() for creating
      	dialogs. Added public API gimp_dialog_factory_set_constructor().
      
      	* app/dialogs/dialogs.c: register name, blurb, stock_id and
      	help_id for all dockables so all the dialog info lives in one huge
      	ugly table now. For the global_toolbox_factory and the
      	global_dock_factory, set a constructor which creates a dockable
      	around the widget returned by entry->new_func().
      
      	* app/dialogs/dialogs-constructors.[ch]: don't create the dockable
      	in each dialog constructor. Removes tons of code and reduces most
      	constructors to a "return gimp_foo_new(...)" one-liner. Got rid of
      	all static variables, they were from a time when GimpDialogFactory
      	was unable to manage singletons.
      
      	* app/widgets/gimpbrusheditor.[ch]
      	* app/widgets/gimpgradienteditor.[ch]
      	* app/widgets/gimppaletteeditor.[ch]: return GtkWidget, not
      	GimpDataEditor from gimp_foo_editor_new().
      
      	* app/widgets/gimpdataeditor.c: minor cleanups.
      6a50c270
  18. 11 Sep, 2004 1 commit
    • Simon Budig's avatar
      Added boolean parameter to gimp_dialog_factories_toggle to make it · 4a75d727
      Simon Budig authored
      2004-09-11  Simon Budig  <simon@gimp.org>
      
      	* app/widgets/gimpdialogfactory.[ch]: Added boolean parameter to
      	gimp_dialog_factories_toggle to make it possible to ensure a visible
      	toolbox.
      
      	* app/actions/dialogs-commands.c: Use the new parameter to ensure
      	toolbox visibility after the last image window closes.
      
      	* app/display/gimpdisplayshell-callbacks.c: Changed accordingly.
      
      	Fixes bug #137057 (the discussion is in bug #152285)
      4a75d727
  19. 09 Sep, 2004 1 commit
    • Michael Natterer's avatar
      renamed parameter "gboolean raise_if_found" to "return_existing" and added · abf395c0
      Michael Natterer authored
      2004-09-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdialogfactory.c
      	(gimp_dialog_factory_dialog_new_internal): renamed parameter
      	"gboolean raise_if_found" to "return_existing" and added
      	additional parameter "gboolean present".
      
      	(gimp_dialog_factory_dialog_new)
      	(gimp_dialog_factory_dialog_raise)
      	(gimp_dialog_factory_dockable_new): pass both parameters (passing
      	"present" as "raise_if_found" was not quite correct).
      abf395c0
  20. 31 Aug, 2004 1 commit
    • Sven Neumann's avatar
      added a boolean parameter to gimp_dialog_factory_dialog_new() to let the · ce1370bb
      Sven Neumann authored
      2004-09-01  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpdialogfactory.[ch]: added a boolean parameter to
      	gimp_dialog_factory_dialog_new() to let the caller decide whether
      	the window should be presented or not.
      
      	* app/actions/dialogs-commands.c
      	* app/actions/image-commands.c
      	* app/actions/templates-commands.c
      	* app/gui/gui-vtable.c
      	* app/gui/gui.c
      	* app/widgets/gimpsessioninfo.c: changed accordingly. Do not let
      	gimp_dialog_factory_dialog_new() present the dialog if we need to
      	change it after creation. This avoids annoying resizes, noticeable
      	especially with the error dialog.
      ce1370bb
  21. 29 Aug, 2004 1 commit
    • David Odin's avatar
      Renamed GimpPreviewSize to GimpViewSize. · b7f58e16
      David Odin authored
      * app/core/core-enums.h: Renamed GimpPreviewSize to GimpViewSize.
      
      * app/core/core-enums.c: Regenerated.
      
      * app/actions/dockable-actions.c
      
      * app/config/gimpcoreconfig.c
      * app/config/gimpcoreconfig.h
      * app/config/gimpdisplayconfig.c
      * app/config/gimpdisplayconfig.h
      
      * app/core/gimpundo.c
      
      * app/display/gimpnavigationeditor.c
      
      * app/gui/dialogs.c
      * app/gui/file-open-location-dialog.c
      
      * app/tools/gimppaintoptions-gui.c
      * app/tools/gimptextoptions.c
      
      * app/widgets/gimpbrushselect.c
      * app/widgets/gimpcontainerpopup.c
      * app/widgets/gimpcontainerview.c
      * app/widgets/gimpdialogfactory.c
      * app/widgets/gimpfontselect.c
      * app/widgets/gimpgradientselect.c
      * app/widgets/gimppaletteselect.c
      * app/widgets/gimppatternselect.c
      * app/widgets/gimpselectioneditor.c
      * app/widgets/gimpsessioninfo.c
      * app/widgets/gimptemplateeditor.c
      * app/widgets/gimpundoeditor.c
      * app/widgets/gimpundoeditor.h
      * app/widgets/gimpviewablebutton.c: Changed accordingly.
      b7f58e16
  22. 12 Jul, 2004 1 commit
    • Michael Natterer's avatar
      set/unset the busy cursor on all windows which have widget->window, not · 5b83b759
      Michael Natterer authored
      2004-07-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdialogfactory.c
      	(gimp_dialog_factories_set_busy_foreach)
      	(gimp_dialog_factories_unset_busy_foreach): set/unset the busy
      	cursor on all windows which have widget->window, not only for
      	those which are GTK_WIDGET_VISIBLE. Fixes stale busy cursors when
      	dialogs are hidden while the busy cursor is active and later shown
      	again.
      5b83b759
  23. 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
  24. 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
  25. 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
  26. 21 Dec, 2003 1 commit
  27. 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
  28. 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
  29. 10 Nov, 2003 1 commit
  30. 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
  31. 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
  32. 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
  33. 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
  34. 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
  35. 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
  36. 02 Sep, 2003 1 commit
  37. 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