1. 18 Mar, 2008 8 commits
    • Michael Natterer's avatar
      add new options object for the "no image" display appearance. · bd636468
      Michael Natterer authored
      2008-03-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayoptions.[ch]: add new options object
      	for the "no image" display appearance.
      
      	* app/display/gimpdisplayshell.[ch]: keep one of them around.
      
      	* app/display/gimpdisplayshell-appearance.[ch]: use the options
      	object when the display is empty. Add guards against no image
      	to some functions. Add gimp_display_shell_appearance_update()
      	which sets all options according to the current display state
      	(normal, fullscreen, no image).
      
      	* app/actions/view-actions.c: don't allow to configure the GUI
      	of the empty display.
      
      	* app/display/gimpdisplayshell-callbacks.c: use the new appearance
      	update function instead of doing it all here.
      
      	* app/display/gimpdisplayshell-close.c
      	* app/gui/gui-vtable.c: update the appearance when clearing or
      	filling the display.
      
      	* app/display/gimpdisplayshell-selection.c: forgot some guards
      	against empty displays.
      
      
      svn path=/trunk/; revision=25114
      bd636468
    • Michael Natterer's avatar
      First draft of the "no image open" window, which is implemented as a · cee3baea
      Michael Natterer authored
      2008-03-18  Michael Natterer  <mitch@gimp.org>
      
      	First draft of the "no image open" window, which is implemented as
      	a display without image (a view with NULL model). Didn't change
      	the display's appearance yet so I can first make sure the display
      	without image works properly in all details before hiding these
      	details.
      
      	* app/core/gimp-gui.[ch]: add "gimp" parameter to display_create()
      	and allow "image" to be NULL.
      
      	* app/core/gimpcontext.c (gimp_context_real_set_display): a
      	display's image can be NULL now.
      
      	* app/display/gimpdisplay.[ch]: add Gimp and GimpDisplayConfig
      	members.  Add Gimp parameter to gimp_display_shell_new(). Changed
      	gimp_display_reconnect() to gimp_display_set_image() and allow to
      	set a NULL image.
      
      	* app/gui/gui-vtable.c (gui_display_create): if there is a single
      	display without an image, call gimp_display_set_image() on that
      	display instead of creating a new one.
      
      	* app/display/gimpdisplayshell-close.c: if the last display is
      	closed, don't close it but make it empty. Factored out that code
      	to gimp_display_shell_really_close().
      
      	* app/display/gimpdisplayshell-dnd.c: when dropping uris on an
      	empty display, open the first one into that display and the other
      	ones as layers of the newly opened image. This is consistent with
      	dropping on an existing image but maybe needs some discussion.
      
      	* app/display/gimpdisplayshell-callbacks.c: bail out early in the
      	tool event callback so tools never have to deal with empty
      	displays. In expose(), draw the drop zone on the empty display.
      
      	* app/display/gimpdisplayshell-title.c: set the empty display's
      	title to "Gimp - Drop Files".
      
      	* app/display/gimpdisplay-foreach.c
      	* app/display/gimpdisplay-handlers.c
      	* app/display/gimpdisplayshell-appearance.c
      	* app/display/gimpdisplayshell-autoscroll.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-cursor.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/display/gimpdisplayshell-draw.c
      	* app/display/gimpdisplayshell-filter-dialog.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-layer-select.c
      	* app/display/gimpdisplayshell-preview.c
      	* app/display/gimpdisplayshell-render.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-scroll.c
      	* app/display/gimpdisplayshell-selection.c
      	* app/display/gimpdisplayshell-title.c
      	* app/display/gimpdisplayshell.c
      	* app/display/gimpnavigationeditor.c
      	* app/display/gimpstatusbar.c: use display->gimp and
      	display->config instead of going via the image. Guard against
      	empty displays in some few places (most places can't be
      	called). Where needed, use the canvas' dimensions instead of the
      	image's dimensions so scroll offsets and scrollbars still have
      	sane values instead of the last image's ones.
      
      	* app/actions/actions.c (action_data_get_gimp)
      	(action_data_get_context): use display->gimp instead of
      	display->image->gimp.
      
      	* app/actions/edit-commands.c (edit_paste_cmd_callback): redirect
      	to "paste as new" if there is an empty display.
      
      	* app/actions/tools-commands.c (tools_select_cmd_callback): don't
      	initialize the new tool on an empty display.
      
      	* app/actions/view-actions.c (view_actions_update): changed lots
      	of sensitivity settings to be insensitive when there is no image
      	(instead of no display).
      
      	* app/actions/view-commands.c: use the display's config object
      	instead of gimp's.
      
      
      svn path=/trunk/; revision=25113
      cee3baea
    • Michael Natterer's avatar
      add gimp_canvas_draw_drop_zone() which simply renders a big "Drop Here" on · e2f6294c
      Michael Natterer authored
      2008-03-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpcanvas.[ch]: add gimp_canvas_draw_drop_zone()
      	which simply renders a big "Drop Here" on the canvas. Replaced
      	Gimp member and construct property by GimpDisplayConfig.
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_new): changed
      	accordingly.
      
      
      svn path=/trunk/; revision=25112
      e2f6294c
    • Sven Neumann's avatar
      corrected last change. · 89433fe9
      Sven Neumann authored
      2008-03-18  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/uri/uri-backend-gio.c (uri_progress_callback):
      	corrected last change.
      
      svn path=/trunk/; revision=25111
      89433fe9
    • Sven Neumann's avatar
      changed default web-browser to xdg-open. Fixes bug #522483. · 244b940b
      Sven Neumann authored
      2008-03-18  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpguiconfig.c (DEFAULT_WEB_BROWSER): changed
      	default web-browser to xdg-open. Fixes bug #522483.
      
      svn path=/trunk/; revision=25110
      244b940b
    • Sven Neumann's avatar
      only update the progress up to ten times per second. · b07875c2
      Sven Neumann authored
      2008-03-18  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/uri/uri-backend-gio.c: only update the progress up to
      	ten times per second.
      
      svn path=/trunk/; revision=25109
      b07875c2
    • Sven Neumann's avatar
      set alternative button order on the password dialog (same change done in · 46367151
      Sven Neumann authored
      2008-03-18  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/uri/gimpmountoperation.c: set alternative button order
      	on the password dialog (same change done in GTK+).
      
      svn path=/trunk/; revision=25108
      46367151
    • Sven Neumann's avatar
      plug-ins/uri/Makefile.am added a temporary copy of GtkMountOperation until · 3751a4ef
      Sven Neumann authored
      2008-03-18  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/uri/Makefile.am
              * plug-ins/uri/gimpmountoperation.[ch]: added a temporary copy of
      	GtkMountOperation until we depend on the next stable GTK+ release.
      	Converted to GIMP namespace to avoid symbol collisions.
      
      	* plug-ins/uri/uri-backend-gio.c: use the new mount operation.
      
      svn path=/trunk/; revision=25107
      3751a4ef
  2. 17 Mar, 2008 1 commit
    • Sven Neumann's avatar
      formatting. · 6c5c1ccd
      Sven Neumann authored
      2008-03-17  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/png.c: formatting.
      
      svn path=/trunk/; revision=25106
      6c5c1ccd
  3. 14 Mar, 2008 1 commit
  4. 13 Mar, 2008 2 commits
  5. 12 Mar, 2008 10 commits
    • Sven Neumann's avatar
      don't forget to set the state of the anon toggle · 364dacd0
      Sven Neumann authored
      svn path=/trunk/; revision=25099
      364dacd0
    • Sven Neumann's avatar
      some minor improvements to the password dialog · f9a7cdf6
      Sven Neumann authored
      svn path=/trunk/; revision=25098
      f9a7cdf6
    • Sven Neumann's avatar
      ref the operation while the dialogs are active · aa8ee583
      Sven Neumann authored
      svn path=/trunk/; revision=25097
      aa8ee583
    • Sven Neumann's avatar
      improved password dialog. · e535a37e
      Sven Neumann authored
      2008-03-12  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/uri/uri-backend-gio.c: improved password dialog.
      
      
      svn path=/trunk/; revision=25096
      e535a37e
    • Michael Natterer's avatar
      app/actions/data-commands.c app/actions/debug-commands.c · bc9424a2
      Michael Natterer authored
      2008-03-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/data-commands.c
      	* app/actions/debug-commands.c
      	* app/actions/dockable-commands.c
      	* app/dialogs/stroke-dialog.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/gui/gui-message.c
      	* app/gui/gui.c
      	* app/tools/gimpforegroundselectoptions.c
      	* app/tools/gimpinkoptions-gui.c
      	* app/widgets/gimpcolordialog.c
      	* app/widgets/gimpcontainerpopup.c
      	* app/widgets/gimpcontainerview-utils.c
      	* app/widgets/gimpdock.c
      	* app/widgets/gimpdockable.c
      	* app/widgets/gimpsessioninfo-book.c
      	* app/widgets/gimpsessioninfo-dock.c
      	* app/widgets/gimptoolbox.c
      	* app/widgets/gimpunitcombobox.c
      	* app/widgets/gimpviewablebox.c
      	* libgimp/gimpexport.c
      	* libgimpmodule/gimpmodule.h
      	* libgimpwidgets/gimpenumwidgets.c
      	* libgimpwidgets/gimpframe.c
      	* libgimpwidgets/gimpoldwidgets.c
      	* libgimpwidgets/gimpwidgets.c
      	* plug-ins/MapObject/mapobject_ui.c
      	* plug-ins/common/papertile.c
      	* plug-ins/common/sinus.c
      	* plug-ins/flame/flame.c
      	* plug-ins/helpbrowser/gimpthrobber.c
      	* plug-ins/script-fu/scheme-wrapper.c
      	* plug-ins/script-fu/script-fu-console.c: use accessors instead of
      	accessing GtkBin.child and GtkPaned.child1,2 directly.
      
      
      svn path=/trunk/; revision=25095
      bc9424a2
    • Sven Neumann's avatar
      fixed mount_operation_anon_toggled() · b811506a
      Sven Neumann authored
      svn path=/trunk/; revision=25094
      b811506a
    • Sven Neumann's avatar
      added password and question dialogs needed for mounting volumes. This code · 40e633ba
      Sven Neumann authored
      2008-03-12  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/uri/uri-backend-gio.c: added password and question
      	dialogs needed for mounting volumes. This code is untested.
      
      
      
      svn path=/trunk/; revision=25093
      40e633ba
    • Åsmund Skjæveland's avatar
      Added Norwegian Nynorsk translation from Kolbjørn Stuestøl · daba8330
      Åsmund Skjæveland authored
      008-03-12  Åsmund Skjæveland  <aasmunds@ulrik.uio.no>
      
              * po/nn.po: Added Norwegian Nynorsk translation from Kolbjørn
              Stuestøl <kol-stue@online.no>.
              * po-libgimp/nn.po: Added Norwegian Nynorsk translation from
              Kolbjørn Stuestøl <kol-stue@online.no>.
              * po-plug-ins/nn.po: Added Norwegian Nynorsk translation from
              Kolbjørn Stuestøl <kol-stue@online.no>.
              * po-python/nn.po: Added Norwegian Nynorsk translation from
              Kolbjørn Stuestøl <kol-stue@online.no>.
              * po-script-fu/nn.po: Added Norwegian Nynorsk translation from
              Kolbjørn Stuestøl <kol-stue@online.no>.
              * po-tips/nn.po: Added Norwegian Nynorsk translation from Kolbjørn
              Stuestøl <kol-stue@online.no>.
              * configure.in: Added nn to ALL_LINGUAS.
      
      svn path=/trunk/; revision=25092
      daba8330
    • Sven Neumann's avatar
      updated copyright. · 9fd0c038
      Sven Neumann authored
      2008-03-12  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/uri/uri.c: updated copyright.
      
      	* plug-ins/uri/uri-backend-gio.c: ask the GVfs backend for the
      	supported URI schemes.
      
      
      svn path=/trunk/; revision=25091
      9fd0c038
    • Sven Neumann's avatar
      added plug-ins/uri/uri-backend-gio.c. · 5320420c
      Sven Neumann authored
      2008-03-12  Sven Neumann  <sven@gimp.org>
      
      	* POTFILES.in: added plug-ins/uri/uri-backend-gio.c.
      
      	* de.po: updated German translation.
      
      svn path=/trunk/; revision=25089
      5320420c
  6. 11 Mar, 2008 6 commits
  7. 10 Mar, 2008 3 commits
  8. 09 Mar, 2008 8 commits
    • Philip Withnall's avatar
      Updated British English translation. · a58fccea
      Philip Withnall authored
      2008-03-09  Philip Withnall  <pwithnall@svn.gnome.org>
      
      	* po-script-fu/en_GB.po:
      	* po-plugin-ins/en_GB.po:
      	* po-tips/en_GB.po:
      	* po-python/en_GB.po:
      	* po-libgimp/en_GB.po:
      	* po/en_GB.po: Updated British English translation.
      
      
      svn path=/trunk/; revision=25079
      a58fccea
    • Michael Natterer's avatar
      Fix mishandling of the "antialias" GParamSpec. Fixes bug #521069: · 5dccee41
      Michael Natterer authored
      2008-03-09  Michael Natterer  <mitch@gimp.org>
      
      	Fix mishandling of the "antialias" GParamSpec. Fixes bug #521069:
      
      	* app/tools/gimpselectionoptions.c: remove
      	gimp_selection_options_reset() which used to set the default for
      	"antialias" depending on the tool type (which is impossible since
      	the antialias GParamSpec only exists once, and not once for each
      	subclass).
      
      	* app/tools/gimpforegroundselectoptions.c: override the antialias
      	property here and default to FALSE.
      
      
      svn path=/trunk/; revision=25077
      5dccee41
    • Michael Natterer's avatar
      app/tools/gimprectangleselecttool.[ch] · 64317165
      Michael Natterer authored
      2008-03-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimprectangleselecttool.[ch]
      	* app/tools/gimprectangleselectoptions.[ch]
      	* app/tools/gimpellipseselecttool.[ch]
      	* app/tools/gimp-tools.c: s/Rect/Rectangle/ and s/rect/rectangle/
      	in types and function names.
      
      
      svn path=/trunk/; revision=25076
      64317165
    • Daniel Nylander's avatar
      sv.po: Updated Swedish translation · c8331a82
      Daniel Nylander authored
      svn path=/trunk/; revision=25073
      c8331a82
    • Daniel Nylander's avatar
      sv.po: Updated Swedish translation · 35224150
      Daniel Nylander authored
      svn path=/trunk/; revision=25072
      35224150
    • Michael Natterer's avatar
      app/tools/Makefile.am app/tools/gimpiscissorsoptions.[ch] new options · 32a1de91
      Michael Natterer authored
      2008-03-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/Makefile.am
      	* app/tools/gimpiscissorsoptions.[ch]
      	* app/tools/gimpregionselectoptions.[ch]: new options classes.
      
      	* app/tools/gimpselectionoptions.[ch]: remove the options here.
      	Also remove some leftover rectangle options cruft that is in its
      	own files since long ago.
      
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpiscissorstool.[ch]
      	* app/tools/gimpregionselecttool.[ch]
      	* app/widgets/gimpselectioneditor.c: changed accordingly.
      
      
      svn path=/trunk/; revision=25071
      32a1de91
    • Artur Flinta's avatar
      Updated Polish translation by GNOME PL Team. · e87c9388
      Artur Flinta authored
      2008-03-09  Artur Flinta  <aflinta@gmail.com>
      
      	* pl.po: Updated Polish translation by GNOME PL Team.
      
      
      svn path=/trunk/; revision=25069
      e87c9388
    • Martin Nordholts's avatar
      Make the GimpCoords used for snap calculations depend on the precision · 067e05e3
      Martin Nordholts authored
      2008-03-09  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/tools/gimprectangletool.c
      	(gimp_rectangle_tool_setup_snap_offsets): Make the GimpCoords used
      	for snap calculations depend on the precision mode of the
      	rectangle. This gives a more pleasant experience when resizing and
      	moving the rectangle with image zoom factor larger than 100%.
      
      svn path=/trunk/; revision=25068
      067e05e3
  9. 08 Mar, 2008 1 commit
    • Sven Neumann's avatar
      Experimental attempt to gain a little more horizontal space for the tool · 2cf19eac
      Sven Neumann authored
      2008-03-08  Sven Neumann  <sven@gimp.org>
      
      	Experimental attempt to gain a little more horizontal space for
      	the tool options:
      	
      	* app/widgets/gimptooloptionseditor.c: removed the shadow from 
      the
      	viewport and the border from the vbox.
      
      	* app/widgets/gimpdockable.c: use a semibold label for the 
      title.
      
      
      svn path=/trunk/; revision=25065
      2cf19eac