1. 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
  2. 19 May, 2008 1 commit
    • Sven Neumann's avatar
      app/widgets/gimpdockable.[ch] added a "locked" propery to GimpDockable. A · 33b5a890
      Sven Neumann authored
      2008-05-19  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpdockable.[ch]
      	* app/widgets/gimpdockbook.[ch]: added a "locked" propery to
      	GimpDockable. A locked dockable cannot be moved by drag-n-drop.
      	Allows users to protect their dockables from accidental changes,
      	mainly when working with a tablet.
      
      	* app/widgets/gimpsessioninfo-dockable.[ch]: store the "locked"
      	property in the session info.
      
      	* app/actions/dockable-actions.c
      	* app/actions/dockable-commands.[ch]: added an action for 
      toggling
      	the "locked" state.
      
      	* app/widgets/gimphelp-ids.h: new help-id "gimp-dock-tab-lock".
      
      	* menus/dockable-menu.xml.in: show the new menu item.
      
      	* app/actions/plug-in-actions.c: formatting.
      
      
      svn path=/trunk/; revision=25715
      33b5a890
  3. 24 Nov, 2005 1 commit
    • Michael Natterer's avatar
      app/actions/dock-actions.c app/actions/view-actions.c · 8b2c6a2c
      Michael Natterer authored
      2005-11-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/dock-actions.c
      	* app/actions/view-actions.c
      	* app/actions/window-actions.c
      	* app/actions/window-commands.[ch]
      	* menus/dockable-menu.xml.in
      	* menus/image-menu.xml.in: added "Open Display" dialog for
      	debugging purposes.
      8b2c6a2c
  4. 17 Nov, 2005 1 commit
  5. 04 Jun, 2005 1 commit
    • Sven Neumann's avatar
      app/actions/dockable-actions.c app/actions/dockable-commands.[ch] · 5412fac0
      Sven Neumann authored
      2005-06-04  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/dockable-actions.c
      	* app/actions/dockable-commands.[ch]
      	* app/widgets/gimpeditor.[ch]
      	* app/widgets/gimphelp-ids.h
      	* menus/dockable-menu.xml.in: allow to show/hide the button-bar in
      	GimpEditor. Should be merged into the GimpDocked interface.
      5412fac0
  6. 28 Jan, 2005 1 commit
    • Michael Natterer's avatar
      app/actions/Makefile.am new files holding utility functions to create · b0f83a4b
      Michael Natterer authored
      2005-01-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/Makefile.am
      	* app/actions/window-actions.[ch]: new files holding utility
      	functions to create actions to move windows to other screens.
      
      	* app/actions/dock-actions.c
      	* app/actions/dock-commands.[ch]
      	* app/actions/view-actions.c
      	* app/actions/view-commands.[ch]: use the new actions instead of
      	the change screen dialog.
      
      	* app/menus/Makefile.am
      	* app/menus/window-menu.[ch]: new files which create menu items
      	for above actions.
      
      	* app/menus/dockable-menu.[ch]: new files using above window-menu
      	utility functions.
      
      	* app/menus/image-menu.c: use them here too.
      
      	* app/menus/menus.c: set a setup_func for the "<Dockable>"
      	UI manager.
      
      	* menus/dockable-menu.xml.in
      	* menus/image-menu.xml.in: changed accordingly.
      b0f83a4b
  7. 26 Jan, 2005 1 commit
    • Michael Natterer's avatar
      app/actions/dockable-actions.c removed dock-related actions · 1ba788fd
      Michael Natterer authored
      2005-01-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/dockable-actions.c
      	* app/actions/dockable-commands.[ch]: removed dock-related
      	actions (show-image-menu, auto-follow-active and move-to-screen).
      
      	* app/actions/dock-actions.c
      	* app/actions/dock-commands.[ch]: and added them here.
      
      	* app/menus/menus.c: add the "dock" action group to the
      	"<Dockable>" UI Manager.
      
      	* app/widgets/gimphelp-ids.h: reordered to match the new grouping.
      
      	* menus/dockable-menu.xml.in: changed accordingly.
      1ba788fd
  8. 02 May, 2004 1 commit
    • Sven Neumann's avatar
      menus/Makefile.am new file that holds menuitems that appear in several · 2fb04d1e
      Sven Neumann authored
      2004-05-02  Sven Neumann  <sven@gimp.org>
      
      	* menus/Makefile.am
      	* menus/dialogs-menuitems.xml: new file that holds menuitems that
      	appear in several places.
      
      	* menus/dockable-menu.xml.in: new file used to generate
      	dockable-menu.xml.
      
      	* menus/toolbox-menu.xml.in: new file used to generate
      	toolbox-menu.xml.
      
      	* menus/image-menu.xml.in: include dialogs-menuitems.xml.
      
      	* menus/menus.xsl: allow inclusion of menuitems using XInclude.
      2fb04d1e
  9. 22 Apr, 2004 1 commit
    • Michael Natterer's avatar
      implemented gimp_action_group_set_action_color() and · 42f79826
      Michael Natterer authored
      2004-04-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpactiongroup.[ch]: implemented
      	gimp_action_group_set_action_color() and
      	gimp_action_group_set_action_viewable().
      
      	* app/actions/*-actions.c: added stock IDs to all actions which
      	represent toplevel popup menus. Fixed typos.
      
      	* menus/brushes-menu.xml
      	* menus/colormap-editor-menu.xml
      	* menus/dockable-menu.xml
      	* menus/gradients-menu.xml
      	* menus/patterns-menu.xml
      	* menus/toolbox-menu.xml: fixed typos.
      42f79826
  10. 21 Apr, 2004 1 commit
    • Michael Natterer's avatar
      forgot to register the "patterns" actions. · 2c601c7d
      Michael Natterer authored
      2004-04-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/actions.c: forgot to register the "patterns" actions.
      
      	* app/actions/*-actions.c: added actions representing the toplevel
      	menus (popups and menubars). Fixed some typos.
      
      	* menus/*-menu.xml: added action="foo" attributes to all toplevel
      	menus. Fixed typos here too.
      
      	* menus/gtkuimanager.dtd: fixed possible attributes.
      2c601c7d
  11. 19 Apr, 2004 2 commits
    • Sven Neumann's avatar
      menus/Makefile.am added a DTD (basically copied from the GTK+ API docs). · 957015e3
      Sven Neumann authored
      2004-04-19  Sven Neumann  <sven@gimp.org>
      
      	* menus/Makefile.am
      	* menus/gtkuimanager.dtd: added a DTD (basically copied from the
      	GTK+ API docs). Added a "validate" rule that allows to easily
      	validate the XML files.
      
      	* menus/*.xml: added a DOCTYPE declaration that refers to the
      	newly added DTD.
      
      	* app/widgets/gimpenumstore.[ch]:
      	* app/widgets/gimpenumcombobox.c: documented the new API.
      957015e3
    • Michael Natterer's avatar
      More GtkAction stuff (still unused): · 8848558f
      Michael Natterer authored
      2004-04-19  Michael Natterer  <mitch@gimp.org>
      
      	More GtkAction stuff (still unused):
      
      	* configure.in: added new directories menus/ and app/actions/
      
      	* Makefile.am: build menus/
      
      	* menus/.cvsignore
      	* menus/Makefile.am
      	* menus/*-menu.xml: new files: XML menu descriptions for each menu
      	which is now defined in gui/*-menu.c.
      
      	* app/widgets/widgets-types.h: some typedefs for GimpActionGroup.
      
      	* app/widgets/gimpactiongroup.[ch]: added a "Gimp" construct-only
      	property. Added APIs to set actions visible/sensitive/active
      	and an unimplemented stub for setting the action's color.
      
      	* app/Makefile.am: build actions/ and link libappactions.a
      
      	* app/actions/.cvsignore
      	* app/actions/Makefile.am
      	* app/actions/*-actions.[ch]: new files: GtkActions for each
      	*-commands.c file in gui/. Ported all "update" functions from the
      	*-menu.c files.
      	(everything completely unused, untested and partly #if 0'ed)
      
      	* app/core/gimpimage.[ch]: for reasons of (action-) symmetry, added
      	API to raise/lower channels/vectors to top/bottom.
      
      	* app/gui/channels-commands.[ch]
      	* app/gui/vectors-commands.[ch]: added callbacks for the new
      	to top/bottom functions.
      
      	* app/gui/Makefile.am
      	* app/gui/dockable-commands.[ch]: new files split out of
      	dialogs-commands.[ch].
      
      	* app/gui/dialogs-commands.[ch]
      	* app/gui/dialogs-menu.c: changed accordingly.
      
      	* app/gui/edit-commands.[ch]: added edit_paste_into_cmd_callback()
      	and remove usage of "guint action".
      
      	* app/gui/image-menu.c: changed accordingly.
      
      	* app/gui/palette-editor-commands.[ch]: split
      	+palette_editor_new_color_cmd_callback() into separate callbacks
      	for adding from FG and BG.
      
      	* app/gui/palette-editor-menu.c: changed accordingly.
      8848558f