1. 04 Aug, 2011 4 commits
  2. 20 Jul, 2011 1 commit
    • Martin Nordholts's avatar
      app: Distribute dock windows better when switching off swm · a836c0f2
      Martin Nordholts authored
      Distribute dock windows better when switching off single-window
      mode. First, create one dock window per side of the image window
      rather than one dock window per dock. Secondly, move the left docks to
      the upper left corner of the screen, and the right docks to the upper
      right corner.
      a836c0f2
  3. 17 Jun, 2011 1 commit
  4. 13 May, 2011 1 commit
  5. 09 May, 2011 1 commit
  6. 08 May, 2011 1 commit
  7. 28 Nov, 2010 2 commits
  8. 16 May, 2010 1 commit
    • Martin Nordholts's avatar
      app: Make tooltips in the toolbox work again · d7dc2dc1
      Martin Nordholts authored
      We need to be able to pass a GimpUIManager to
      gimp_dialog_factory_dialog_new(), so make that possible. Also make
      sure to set ui_manager in gimp_dialog_factory_dialog_new_internal()
      when we create both a dock window and a dock, so tooltips works in
      toolboxes created from scratch.
      d7dc2dc1
  9. 28 Feb, 2010 1 commit
    • Martin Nordholts's avatar
      app: Introduce gimp_dialog_factory_get_singleton() · 11b1300b
      Martin Nordholts authored
      Instead of including dialogs/dialogs.h everywhere, introduce
      gimp_dialog_factory_get_singleton(). The dialog factory singleton is
      still initialized by dialogs.c though.
      
      Right now the assumption is that we never will have another dialog
      factory instance around. There were so many problems before when we
      had four of them, so let's just keep one of them around.
      11b1300b
  10. 24 Feb, 2010 1 commit
  11. 20 Feb, 2010 3 commits
  12. 20 Jan, 2010 1 commit
    • Martin Nordholts's avatar
      app: Merge 'global_toolbox_factory' into 'global_dock_factory' · 1093462a
      Martin Nordholts authored
      Get rid of 'global_toolbox_factory' and manage everything dock-related
      with 'global_dock_factory'. The whole of 'global_toolbox_factory' was
      a big special-case and getting rid of it makes it easier to extend the
      session management with e.g. single-window mode dock functionality.
      
      To get rid of 'global_toolbox_factory' we, roughly, have to
       * Replace 'global_toolbox_factory' with 'global_dock_factory'
         everywhere. We can also get rid of lots of code that did special
         things for the "toolbox" factory.
       * Make the use or interaction with the toolbox explicit in some
         places. For example, a function gimp_dock_window_has_toolbox() has
         been introduced.
       * Make GimpSessionInfoDock have an 'identifier' parameter so we can
         differentiate between the "gimp-dock" and "gimp-toolbox" dock
         types.
      1093462a
  13. 19 Jan, 2010 2 commits
    • Martin Nordholts's avatar
      app: global_dock_window_factory -> global_dock_factory · 66197c5d
      Martin Nordholts authored
      Rename back global_dock_window_factory to
      global_dock_factory. Renaming to global_dock_window_factory was done
      under the assumption that there would be a separate factory that would
      create non-toplevel dockables, but I don't expect this to happen in
      the forseeable future.
      66197c5d
    • Martin Nordholts's avatar
      app: Have dialog factory entries for the dock windows · 56a8cb68
      Martin Nordholts authored
      Let dock windows have proper GimpDialogFactory entries. This allows us
      to get rid of a lot of ugly mostly duplicated code. This also makes us
      ready the merge the dock window and toolbox factories which will soon
      be done. A few things should be noted:
      
       * We adjust the wrap box aspect ratio in the toolbox to avoid having
         the toolbox dock window explode
      
       * We make sure that we still can handle sessionrc files from GIMP 2.6
         and older
      56a8cb68
  14. 20 Dec, 2009 2 commits
  15. 08 Dec, 2009 1 commit
  16. 06 Dec, 2009 1 commit
  17. 15 Nov, 2009 1 commit
  18. 25 Oct, 2009 4 commits
  19. 24 Oct, 2009 1 commit
  20. 04 Oct, 2009 1 commit
    • Martin Nordholts's avatar
      app: Move docks to image window in 'Single-window mode' · fcf58955
      Martin Nordholts authored
      When 'Single-window mode is enabled, move the toolbox and existing
      docks into the image window. Needs a lot of more work but is
      functional enough for curious people.
      
      Implemented by adding a new GimpUIConfigurer component that has global
      knowledge. There is a single application instance of this
      component. It subscribes to changes in the single-window-mode config
      property and adjusts the UI accordingly.
      fcf58955