1. 11 Jul, 2018 1 commit
  2. 27 May, 2018 1 commit
  3. 17 Feb, 2013 1 commit
  4. 02 May, 2012 1 commit
  5. 11 Jun, 2010 1 commit
    • Martin Nordholts's avatar
      Add 'Automatic' Tab Style support · 9b86acd1
      Martin Nordholts authored
      Add support for a new type of Tab Style called 'Automatic'. This tab
      style makes the GimpDockbook use the biggest actual tab style it can
      for its auto tab style dockables, based on its widget allocation.
      
      The tab style candidates for auto tab style are "Status + Blurb",
      "Status + Text" and "Status". A docked widget can also say that it
      wants to use "Icon" instead of "Status" for its auto tab style. The
      'Tool Options' dockable does this. This is to be as backwards
      compatible with the old tab style setup, we make 'automatic' the
      default everywhere.
      
      We have quite a bit of dependency to internal layout code in
      GtkNotebook, but the current code should be pixel perfect and rather
      complete.
      
      Also add a basic regression test.
      9b86acd1
  6. 17 Jan, 2009 1 commit
    • Michael Natterer's avatar
      Change licence to GPLv3 (and to LGPLv3 for libgimp). · d9b5207a
      Michael Natterer authored
      2009-01-17  Michael Natterer  <mitch@gimp.org>
      
      	* all files with a GPL header and all COPYING files:
      
      	Change licence to GPLv3 (and to LGPLv3 for libgimp).
      
      	Cleaned up some copyright headers and regenerated the parsers in
      	the ImageMap plugin.
      
      
      svn path=/trunk/; revision=27913
      d9b5207a
  7. 25 May, 2007 1 commit
    • Michael Natterer's avatar
      app/widgets/gimpsessioninfoaux.[ch] app/widgets/gimpsessioninfobook.[ch] · 1a5cfac5
      Michael Natterer authored
      2007-05-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpsessioninfoaux.[ch]
      	* app/widgets/gimpsessioninfobook.[ch]
      	* app/widgets/gimpsessioninfodock.[ch]
      	* app/widgets/gimpsessioninfodockable.[ch]: renamed these...
      
      	* app/widgets/gimpsessioninfo-aux.[ch]
      	* app/widgets/gimpsessioninfo-book.[ch]
      	* app/widgets/gimpsessioninfo-dock.[ch]
      	* app/widgets/gimpsessioninfo-dockable.[ch]: ...to these.
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpcoloreditor.c
      	* app/widgets/gimpcursorview.c
      	* app/widgets/gimpdataeditor.c
      	* app/widgets/gimpdocked.c
      	* app/widgets/gimphistogrameditor.c
      	* app/widgets/gimpmenudock.c
      	* app/widgets/gimppaletteeditor.c
      	* app/widgets/gimpsessioninfo.c: changed accordingly.
      
      
      svn path=/trunk/; revision=22614
      1a5cfac5
  8. 24 May, 2007 1 commit
    • 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
  9. 09 Dec, 2006 1 commit
  10. 18 Oct, 2006 1 commit
  11. 12 Apr, 2006 1 commit
  12. 04 Jun, 2005 1 commit
    • Sven Neumann's avatar
      app/widgets/gimpdocked.[ch] moved button-bar API to the GimpDocked · f1731986
      Sven Neumann authored
      2005-06-05  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpdocked.[ch]
      	* app/widgets/gimpeditor.[ch]: moved button-bar API to the
      	GimpDocked interface.
      
      	* app/widgets/gimpcontainereditor.c: implement the new interface
      	methods and proxy them to the embedded docked.
      
      	* app/actions/dockable-actions.c
      	* app/actions/dockable-commands.c: changed accordingly.
      f1731986
  13. 27 May, 2005 1 commit
  14. 23 May, 2004 1 commit
    • Michael Natterer's avatar
      reoedered to somehow reflect the class hierarchy. · 43cdd54d
      Michael Natterer authored
      2004-05-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/widgets-types.h: reoedered to somehow reflect the
      	class hierarchy.
      
      	Some dockable context handling cleanup:
      
      	* app/widgets/gimpdocked.[ch]: removed "prev_context" parameter
      	from GimpDocked::set_context(). Widgets which need the old context
      	to disconnect from should remember it themselves.
      
      	* app/widgets/gimpdockable.c (gimp_dockable_set_context): don't
      	pass the old context to gimp_docked_set_context().
      	Some cleanup.
      
      	* app/widgets/gimpcontainerbox.c
      	* app/widgets/gimpcontainereditor.c: changed accordingly.
      
      	* app/display/gimpnavigationview.[ch]
      	* app/widgets/gimpimageeditor.[ch]
      	* app/widgets/gimpitemtreeview.[ch]: added a "context" member
      	which holds the context set by GimpDocked::set_context().
      
      	* app/widgets/gimpdrawabletreeview.c: use the view's context
      	instead of gimp_get_user_context().
      
      	* app/widgets/gimpcoloreditor.[ch]: removed separate API to
      	set the context because it implements the GimpDockedInterface.
      
      	* app/widgets/gimpcomponenteditor.c
      	* app/widgets/gimperrorconsole.c: pass "menu-factory",
      	"menu-identifier" and "ui-path" to g_object_new() instead of
      	calling gimp_editor_create_menu() later.
      
      	Action cleanup partly related to the context stuff above:
      
      	* app/actions/actions.c (action_data_get_gimp): get the Gimp from
      	context->gimp, not gimage->gimp because gimage may be NULL.
      
      	(action_data_get_context): changed to use the new context members
      	added above.
      
      	* app/actions/channels-actions.c (channels_actions_update): cleanup.
      
      	* app/actions/edit-actions.c (edit_actions_update): fixed
      	sensitivity of "edit-undo-clear".
      
      	* app/actions/vectors-actions.c (vectors_actions_update): make
      	"vectors-merge-visible" sensitive only if there is more than one
      	GimpVectors in the image.
      
      	* app/actions/colormap-editor-actions.c
      	* app/actions/gradient-editor-actions.c
      	* app/actions/palette-editor-actions.c: added FG/BG color previews
      	to actions which take colors from them. Changed code to be safe
      	against "context" being NULL.
      
      	* app/actions/drawable-commands.c:
      	s/active_drawable/drawable/g. Makes the code more readable.
      
      	* app/actions/select-commands.[ch]
      	* app/actions/vectors-commands.[ch]: removed public stroke utility
      	functions and other stuff which is not needed any more because
      	dialog buttons invoke the correct actions now. Moved the
      	functions' code to the resp. action callbacks.
      43cdd54d
  15. 29 Apr, 2004 1 commit
    • Michael Natterer's avatar
      Switch from GtkItemFactory to GtkUIManager. The migration is almost · 46542801
      Michael Natterer authored
      2004-04-29  Michael Natterer  <mitch@gimp.org>
      
      	Switch from GtkItemFactory to GtkUIManager. The migration is
      	almost complete, still stuff missing/incomplete, definitely added
      	a bunch of new bugs...
      
      	* app/actions/*-commands.[ch]: converted all callback from
      	GtkItemFactory callbacks to GtkAction callbacks.
      
      	* app/actions/debug-actions.c
      	* app/actions/gradient-editor-actions.c
      	* app/actions/help-actions.c
      	* app/actions/plug-in-actions.c
      	* app/actions/qmask-actions.c
      	* app/actions/tool-options-actions.c: various fixes.
      
      	* app/display/gimpdisplay.[ch]
      	* app/display/gimpdisplayshell-appearance.[ch]
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell.[ch]: move everything from
      	GtkItemFactory to GtkUIManager.
      
      	* app/gui/dialogs.[ch]: added new function dialogs_get_toolbox().
      	Needed because the action callbacks don't have a widget parameter
      	and sometimes we need a parent window for showing dialogs.
      
      	* app/gui/Makefile.am
      	* app/gui/brushes-menu.[ch]
      	* app/gui/buffers-menu.[ch]
      	* app/gui/channels-menu.[ch]
      	* app/gui/colormap-editor-menu.[ch]
      	* app/gui/dialogs-menu.[ch]
      	* app/gui/documents-menu.[ch]
      	* app/gui/error-console-menu.[ch]
      	* app/gui/fonts-menu.[ch]
      	* app/gui/gradient-editor-menu.[ch]
      	* app/gui/gradients-menu.[ch]
      	* app/gui/images-menu.[ch]
      	* app/gui/layers-menu.[ch]
      	* app/gui/palette-editor-menu.[ch]
      	* app/gui/palettes-menu.[ch]
      	* app/gui/patterns-menu.[ch]
      	* app/gui/qmask-menu.[ch]
      	* app/gui/templates-menu.[ch]
      	* app/gui/vectors-menu.[ch]: removed these files.
      
      	* app/gui/gui.c: create a global UI manager for the image popup
      	menu and the toolbox menubar.
      
      	* app/gui/menus.[ch]: removed all GtkItemFactory code.
      
      	* app/gui/image-menu.[ch]
      	* app/gui/toolbox-menu.[ch]: removed everything except the trivial
      	setup_funcs.
      
      	* app/gui/file-open-menu.c
      	* app/gui/file-save-menu.c
      	* app/gui/tool-options-menu.c: don't use the macros from menus.h
      	any more, they are gone.
      
      	* app/gui/gui-vtable.c
      	* app/gui/plug-in-menus.[ch]: create/destroy the dynamic plug-in
      	menu entries.
      
      	* app/tools/gimpimagemaptool.c: s/gimp_item_factory_update/
      	gimp_ui_manager_update/g
      
      	* app/widgets/gimpuimanager.[ch]: added API to get an action
      	group by name.
      
      	* app/widgets/gimpmenufactory.c: don't choke on the item_factory
      	entries being NULL.
      
      	* app/widgets/gimpactiongroup.c: make sure booleans set using
      	g_object_set() only have TRUE or FALSE values.
      
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpcomponenteditor.c
      	* app/widgets/gimpcontainereditor.[ch]
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimpdockable.[ch]
      	* app/widgets/gimpdocked.[ch]
      	* app/widgets/gimpeditor.[ch]
      	* app/widgets/gimperrorconsole.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimppaletteeditor.c
      	* app/widgets/gimptoolbox.c
      	* app/widgets/gimptooloptionseditor.c: removed all GtkItemFactory
      	code and enable the #if 0'ed UI manager stuff.
      
      	* menus/gradient-editor-menu.xml: fixed typos.
      
      	* menus/image-menu.xml: duplicate everything so we have both
      	an image menubar and an image popup menu. Badly cries for an
      	XSL processor.
      
      	* menus/toolbox-menu.xml: added an "Extensions" placeholder.
      46542801
  16. 22 Apr, 2004 1 commit
    • Michael Natterer's avatar
      remember and ref the created widgets. Added gimp_ui_manager_ui_popup() · 10718425
      Michael Natterer authored
      2004-04-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpuimanager.[ch]: remember and ref the created
      	widgets.  Added gimp_ui_manager_ui_popup() which pops up a GtkMenu
      	with a custom GimpMenuPositionFunc and a GtkDestroyNotify which is
      	called on popdown.
      
      	* app/widgets/gimpmenufactory.c (gimp_menu_factory_finalize):
      	don't forget to free the list of managed UIs.
      
      	* app/widgets/gimpdockable.[ch]
      	* app/widgets/gimpdockbook.[ch]
      	* app/widgets/gimpdocked.[ch]
      	* app/widgets/gimpeditor.[ch]: added GimpUIManager stuff parallel
      	to the to-be-removed GtkItemFactory stuff.
      
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpcomponenteditor.c
      	* app/widgets/gimpcontainereditor.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimperrorconsole.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimppaletteeditor.c
      	* app/widgets/gimptooloptionseditor.c: changed accordingly and added
      	#if 0'ed code which actually uses all the UI managers.
      
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/gui-vtable.c: disabled some gimp_ui_manager_update()
      	calls because they were invoking toggle and radio callbacks
      	which still have the wrong signature.
      10718425
  17. 21 Oct, 2003 1 commit
    • Michael Natterer's avatar
      added new virtual function GimpDocked::get_title() which returns a custom · 42312eca
      Michael Natterer authored
      2003-10-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdocked.[ch]: added new virtual function
      	GimpDocked::get_title() which returns a custom title. Added signal
      	"title_changed". Added public wrappers around the new stuff.
      
      	* app/widgets/gimpdockable.c: implement GtkContainer::add() and
      	::remove() and connect to the child's "title_changed" signal. Use
      	the GimpDocked's title if it provides one.
      
      	* app/widgets/gimptooloptionseditor.c: implement
      	GimpDocked::get_title() and return e.g. "Paintbrush Options". Emit
      	"title_changed" when the active tool changes. Simplified
      	GimpDocked::get_preview()'s implementation a lot since it does not
      	include a label any more.
      42312eca
  18. 15 Oct, 2003 1 commit
    • Michael Natterer's avatar
      app/widgets/gimpdocked.c (gimp_docked_iface_base_init) they are base_init, · b09cadf0
      Michael Natterer authored
      2003-10-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdocked.c (gimp_docked_iface_base_init)
      	* app/config/gimpconfig.c (gimp_config_iface_base_init): they are
      	base_init, not just init functions. Changed implementations to not
      	overwrite the parent class' vtable entries with the default
      	implementations. Fixes derived interface methods and brings
      	back all dockable menus.
      b09cadf0
  19. 11 Oct, 2003 1 commit
    • Sven Neumann's avatar
      app/widgets/gimpdocked.[ch] renamed GimpDockedIface to · a88e11af
      Sven Neumann authored
      2003-10-11  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpdocked.[ch]
      	* app/widgets/widgets-types.h: renamed GimpDockedIface to
      	GimpDockedInterface.
      
      	* app/display/gimpnavigationview.c
      	* app/widgets/gimpcoloreditor.c
      	* app/widgets/gimpcontainereditor.c
      	* app/widgets/gimpcontainerview.c
      	* app/widgets/gimpeditor.c
      	* app/widgets/gimpimageeditor.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimptooloptionseditor.c: changed accordingly.
      
      	* app/config/config-types.h
      	* app/config/gimpconfig.[ch]
      	* app/config/gimpconfig-deserialize.[ch]
      	* app/config/gimpconfig-serialize.[ch]
      	* app/config/gimpconfig-utils.[ch]: added a GimpConfig typedef and
      	changed the GimpConfig API to take GimpConfig instead of GObject
      	pointers.
      
      	* app/config/gimpconfig-dump.c
      	* app/config/gimprc.c
      	* app/config/test-config.c
      	* app/core/gimp-documents.c
      	* app/core/gimp-parasites.c
      	* app/core/gimp-templates.c
      	* app/core/gimp.[ch]
      	* app/core/gimpcontainer.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdocumentlist.c
      	* app/core/gimpgrid.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage.c
      	* app/core/gimpparasitelist.c
      	* app/core/gimptemplate.c
      	* app/core/gimptooloptions.c
      	* app/core/gimpviewable.c
      	* app/gui/grid-dialog.c
      	* app/gui/preferences-dialog.c
      	* app/gui/stroke-dialog.c
      	* app/gui/templates-commands.c
      	* app/gui/tool-options-commands.c
      	* app/paint/gimppaintcore.c
      	* app/pdb/gimprc_cmds.c
      	* app/text/gimptext-parasite.c
      	* app/text/gimptext.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimp-tools.c
      	* app/tools/gimptexttool.c
      	* app/widgets/gimpdevices.c
      	* app/widgets/gimptemplateeditor.c
      	* app/widgets/gimptemplateview.c
      	* tools/pdbgen/pdb/gimprc.pdb: changed accordingly.
      a88e11af
  20. 10 Oct, 2003 1 commit
    • Michael Natterer's avatar
      app/widgets/Makefile.am app/widgets/widgets-types.h new files implementing · 99746e1d
      Michael Natterer authored
      2003-10-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpdocked.[ch]: new files implementing
      	GimpDockedInterface, a GTypeInterface which must be implemented by
      	all widgets which want to be packed into a GimpDockable. Has
      	virtual functions similar to the ones GimpDockable had.
      
      	* app/widgets/gimpdockable.[ch]: removed all virtual functions and
      	all function pointers from the instance struct (also the ones just
      	added in the commit below). Make sure only widgets implementing
      	the GimpDockedIface are added and simply call the child's
      	GimpDocked functions where we used to call our own virtual
      	functions and function pointers.
      
      	* app/widgets/gimpcoloreditor.c
      	* app/widgets/gimpcontainereditor.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainerview.c
      	* app/widgets/gimpeditor.c
      	* app/widgets/gimpimageeditor.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimpsessioninfo.c
      	* app/widgets/gimptooloptionseditor.c
      	* app/display/gimpnavigationview.c: implement GimpDockedIface.
      
      	* app/gui/dialogs-constructors.c: removed all that get_preview_func(),
      	set_context_func() etc. cruft since that's done by GimpDockedIface.
      	It's really a file of constructors now.
      
      	* app/gui/dialogs-menu.c: changed accordingly.
      
      	* app/widgets/gimpimagedock.c: forgotten in the commit below.
      99746e1d