1. 24 Mar, 2008 2 commits
    • Sven Neumann's avatar
      also remove the dangling item from GtkRecentManager. · d2168e18
      Sven Neumann authored
      2008-03-24  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/documents-commands.c
      	(documents_remove_dangling_foreach): also remove the dangling 
      item
      	from GtkRecentManager.
      
      
      svn path=/trunk/; revision=25191
      d2168e18
    • Sven Neumann's avatar
      Do not any longer keep the document history in two places. We only use · 3344c1b3
      Sven Neumann authored
      2008-03-24  Sven Neumann  <sven@gimp.org>
      
      	Do not any longer keep the document history in two places. We 
      only
      	use GtkRecentManager now:
      
      	* app/core/Makefile.am
      	* app/core/gimp-documents.[ch]: removed these files.
      
      	* app/core/gimpdocumentlist.c: removed code to load and save the
      	"documents" file.
      	(gimp_document_list_add_uri): call gimp_recent_list_add_uri() 
      here.
      
      	* app/core/gimpimagefile.[ch]: added function to set the 
      mime-type.
      
      	* app/core/gimp.c (gimp_restore): removed code to load the
      	document history.
      	(gimp_real_exit): removed code to save it.
      	
      	* app/core/gimp-gui.[ch]: extended the vtable with a method to
      	populate the document list.
      
      	* app/gui/gui-vtable.c: added code to populate the document 
      history
      	from the list of recently used files kept by GtkRecentManager.
      
      	* app/gui/gui.c (gui_restore_callback): load the recent files 
      here.
      
      	* app/file/file-open.c
      	* app/file/file-save.c: no need to call 
      gimp_recent_list_add_uri()
      	any longer as gimp_document_list_add_uri() does that for us now.
      
      	* app/actions/documents-commands.c 
      (documents_clear_cmd_callback):
      	purge the items from GtkRecentManager. Also changed the dialog 
      to
      	emphasize that this operation now affects the document history 
      in
      	all applications.
      
      	* docs/gimp.1.in: removed reference to "documents" file.
      
      
      svn path=/trunk/; revision=25190
      3344c1b3
  2. 23 Mar, 2008 14 commits
    • Mukund Sivaraman's avatar
      Updated section on getting dependencies, as we don't want to encourage · b0871595
      Mukund Sivaraman authored
      2008-03-23  Mukund Sivaraman <muks@mukund.org>
      
              * HACKING: Updated section on getting dependencies, as we don't
                want to encourage using deps from svn for building GIMP.
      
      
      svn path=/trunk/; revision=25188
      b0871595
    • Sven Neumann's avatar
      fixed potential crash on empty 16 bit images. · 87c4afcf
      Sven Neumann authored
      2008-03-24  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/dicom.c (dicom_loader): fixed potential crash 
      on
      	empty 16 bit images.
      
      
      svn path=/trunk/; revision=25186
      87c4afcf
    • Michael Natterer's avatar
      Remove svn:executable property. · af5a9cdc
      Michael Natterer authored
      
      svn path=/trunk/; revision=25185
      af5a9cdc
    • Michael Natterer's avatar
      don't set the dialog's window geometry if it is already visible. Fixes · 391d78fe
      Michael Natterer authored
      2008-03-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdialogfactory.c (gimp_dialog_factory_add_dialog):
      	don't set the dialog's window geometry if it is already visible.
      	Fixes empty display moving and shouldn't affect anything else
      	since we always want to position dialogs before they are shown.
      
      
      svn path=/trunk/; revision=25184
      391d78fe
    • Michael Natterer's avatar
      use the right GimpDisplayOptions to set the initial visibility of the · ce4f0ec2
      Michael Natterer authored
      2008-03-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_new): use the
      	right GimpDisplayOptions to set the initial visibility of the
      	shell's widgets.
      
      
      svn path=/trunk/; revision=25183
      ce4f0ec2
    • Michael Natterer's avatar
      implement GtkWidget::size_request() and also consider the children which · a12167be
      Michael Natterer authored
      2008-03-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpstatusbar.c: implement GtkWidget::size_request()
      	and also consider the children which can be invisible when the
      	display is empty.
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_style_set):
      	set the minimum height of the display to menubar + statusbar
      	height.
      
      
      svn path=/trunk/; revision=25182
      a12167be
    • Sven Neumann's avatar
      return TRUE after calling gimp_display_shell_canvas_expose_image(). · d9e5bbb8
      Sven Neumann authored
      2008-03-23  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-callbacks.c
      	(gimp_display_shell_canvas_expose): return TRUE after calling
      	gimp_display_shell_canvas_expose_image().
      
      
      svn path=/trunk/; revision=25181
      d9e5bbb8
    • Sven Neumann's avatar
      app/dialogs/dialogs.c changed "gimp-no-image-window" to · 9af8a16e
      Sven Neumann authored
      2008-03-23  Sven Neumann  <sven@gimp.org>
      
      	* app/dialogs/dialogs.c
      	* app/display/gimpdisplayshell.c: changed "gimp-no-image-window" 
      to
      	"gimp-empty-image-window".
      
      
      svn path=/trunk/; revision=25180
      9af8a16e
    • Michael Natterer's avatar
      always need to fully expose the canvas now that "redisplay" was removed. · 281cc4c9
      Michael Natterer authored
      2008-03-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-scale.c
      	(gimp_display_shell_scale_resize): always need to fully expose the
      	canvas now that "redisplay" was removed.
      
      
      svn path=/trunk/; revision=25179
      281cc4c9
    • Michael Natterer's avatar
      Never shrink the empty display when filling it, only grow: · f8e5aa31
      Michael Natterer authored
      2008-03-23  Michael Natterer  <mitch@gimp.org>
      
      	Never shrink the empty display when filling it, only grow:
      
      	* app/display/gimpdisplayshell.[ch]
      	* app/display/gimpdisplayshell-scale.[ch]: add "gboolean
      	grow_only" parameters to shrink_wrap() APIs which restricts
      	resizing of the window to growing.
      
      	* app/display/gimpdisplayshell-scale.[ch]
      	(gimp_displaY_shell_scale_resize): remove boolean "redisplay"
      	parameter because is was always passed as TRUE. Add boolean
      	"grow_only" instead and pass it on to shrink_wrap()
      
      	* app/actions/view-commands.c
      	* app/display/gimpdisplayshell-handlers.c: pass grow_only = FALSE.
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_idle_fill):
      	pass grow_only = TRUE.
      
      
      svn path=/trunk/; revision=25178
      f8e5aa31
    • Michael Natterer's avatar
      added a dialog factory for displays and register "gimp-no-image-window" · 54d306e8
      Michael Natterer authored
      2008-03-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/dialogs/dialogs.[ch]: added a dialog factory for displays
      	and register "gimp-no-image-window" with it.
      
      	* app/display/gimpdisplay.[ch]: add a GimpDialogFactory parameter
      	to gimp_display_new() and pass it on to gimp_display_shell_new().
      
      	* app/display/gimpdisplayshell.[ch]: keep the passed
      	GimpDialogFactory around. When the shell becomes empty, add it to
      	the dialog factory and resize it to the remembered size; when it
      	becomes non-empty, remove it from the dialog factory again.
      
      	* app/gui/gui-vtable.c: pass the display dialog factory to
      	gimp_display_new().
      
      
      svn path=/trunk/; revision=25177
      54d306e8
    • Michael Natterer's avatar
      cleanup (move variables to local scopes), improve debugging outout. · f9f24c59
      Michael Natterer authored
      2008-03-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdialogfactory.c: cleanup (move variables to
      	local scopes), improve debugging outout.
      
      	(gimp_dialog_factory_remove_dialog): disconnect signal handlers
      	and unset any session management data which is attached to the
      	widget, so this function can really be used to remove a dialog
      	from the factory.
      
      
      svn path=/trunk/; revision=25176
      f9f24c59
    • Michael Natterer's avatar
      use gdk_drawable_get_size() instead of looking at widget->allocation since · f7208397
      Michael Natterer authored
      2008-03-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpsessioninfo.c (gimp_session_info_get_geometry):
      	use gdk_drawable_get_size() instead of looking at
      	widget->allocation since the latter is not yet updated if this
      	function is called from the dialog factory's "configure-event"
      	callback. Fixes remembering of dialog sizes within one session.
      
      
      svn path=/trunk/; revision=25175
      f7208397
    • Michael Natterer's avatar
      set the image also if it is NULL. · b3fb3cf6
      Michael Natterer authored
      2008-03-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpcontext.c (gimp_context_real_set_display): set the
      	image also if it is NULL.
      
      
      svn path=/trunk/; revision=25174
      b3fb3cf6
  3. 22 Mar, 2008 3 commits
    • Sven Neumann's avatar
      fixed gtk-doc syntax. · 83feacfe
      Sven Neumann authored
      2008-03-22  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimppixbuf.c: fixed gtk-doc syntax.
      
      
      svn path=/trunk/; revision=25172
      83feacfe
    • Sven Neumann's avatar
      removed leftover debug output · f8d1aba0
      Sven Neumann authored
      svn path=/trunk/; revision=25170
      f8d1aba0
    • Sven Neumann's avatar
      themes/Default/gtkrc reduced minimum dock width to 200 pixels. · 39377e97
      Sven Neumann authored
      2008-03-22  Sven Neumann  <sven@gimp.org>
      
      	* themes/Default/gtkrc
      	* app/widgets/gimpmenudock.c: reduced minimum dock width to 200
      	pixels.
      
      	* etc/sessionrc: use -0 instead of -1, just like in X geometry
      	strings. Changed default dock sizes to be taller but less wide.
      
      	* app/widgets/gimpsessioninfo.c: changed code to parse -0 from 
      the
      	sessionrc file and to deal more correctly with negative offsets.
      
      
      svn path=/trunk/; revision=25169
      39377e97
  4. 21 Mar, 2008 18 commits
    • Sven Neumann's avatar
      simplified the logic of gimp_session_info_set_geometry() · 17b27bc7
      Sven Neumann authored
      svn path=/trunk/; revision=25168
      17b27bc7
    • Sven Neumann's avatar
      deal with negative positions read from the sessionrc file and interpret · 985015ca
      Sven Neumann authored
      2008-03-22  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpsessioninfo.c 
      (gimp_session_info_set_geometry):
      	deal with negative positions read from the sessionrc file and
      	interpret them as a hint to align the window with the right,
      	respective bottom edge of the screen.
      
      	* etc/sessionrc: position the toolbox in the upper left, the
      	additional dock in the upper right corner of the screen.
      
      
      svn path=/trunk/; revision=25167
      985015ca
    • Sven Neumann's avatar
      tweaked opacity calculation so that the opacity is only increased with · ee166ba5
      Sven Neumann authored
      2008-03-21  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpcanvas.c (gimp_canvas_draw_drop_zone): tweaked
      	opacity calculation so that the opacity is only increased with
      	smaller font sizes.
      
      
      svn path=/trunk/; revision=25166
      ee166ba5
    • Sven Neumann's avatar
      moved defines to the header file and changed to 640x400 which is actually · 15c7937f
      Sven Neumann authored
      2008-03-21  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimptemplate.[ch]: moved defines to the header file 
      and
      	changed to 640x400 which is actually almost the golden mean as
      	claimed by the comment.
      
      	* app/display/gimpdisplayshell.c: use the defines here.
      
      
      svn path=/trunk/; revision=25165
      15c7937f
    • Sven Neumann's avatar
      fixed ChangeLog entry, the new default size is 600x480 (golden ratio) · aad791a9
      Sven Neumann authored
      svn path=/trunk/; revision=25164
      aad791a9
    • Sven Neumann's avatar
      increased the size of the default image (to the next Fibonacci number for · 38d8fbbe
      Sven Neumann authored
      2008-03-21  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimptemplate.c: increased the size of the default 
      image
      	(to the next Fibonacci number for the development version and to
      	640x480 for GIMP 2.6).
      
      
      svn path=/trunk/; revision=25163
      38d8fbbe
    • Sven Neumann's avatar
      bind Alt-Cursor Key to tools-value-1 instead of context-opacity · 5f30566b
      Sven Neumann authored
      2008-03-21  Sven Neumann  <sven@gimp.org>
      
      	* etc/controllerrc: bind Alt-Cursor Key to tools-value-1 instead
      	of context-opacity (tools-value-1 is equivalent to 
      context-opacity
      	for paint tools).
      
      
      svn path=/trunk/; revision=25162
      5f30566b
    • Sven Neumann's avatar
      gtk_window_present() the image window to make sure that images aren't · 81521fde
      Sven Neumann authored
      2008-03-21  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_fill_idle):
      	gtk_window_present() the image window to make sure that images
      	aren't opened into a minimized image window.
      
      
      svn path=/trunk/; revision=25161
      81521fde
    • Michael Natterer's avatar
      revert new glib dependency. · 34111ef0
      Michael Natterer authored
      2008-03-21  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: revert new glib dependency.
      
      
      svn path=/trunk/; revision=25160
      34111ef0
    • Michael Natterer's avatar
      require glib >= 2.16.1. Don't warn about deprecations for glib >= 2.19.0. · 80a37897
      Michael Natterer authored
      2008-03-21  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: require glib >= 2.16.1. Don't warn about
      	deprecations for glib >= 2.19.0.
      
      	Also forgot to commit the removal of --enable-toolbox-menu.
      
      
      svn path=/trunk/; revision=25159
      80a37897
    • Sven Neumann's avatar
      introduced log domain "menus". · e595d27d
      Sven Neumann authored
      2008-03-21  Sven Neumann  <sven@gimp.org>
      
      	* app/gimp-log.[ch]: introduced log domain "menus".
      
      	* app/menus/plug-in-menus.c: use gimp-log for debug output.
      
      
      svn path=/trunk/; revision=25158
      e595d27d
    • Michael Natterer's avatar
      invoke the quit action instead of calling gimp_exit() so its sensitivity · 1db77c5a
      Michael Natterer authored
      2008-03-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-close.c (gimp_display_shell_close):
      	invoke the quit action instead of calling gimp_exit() so its
      	sensitivity is taken into account.
      
      
      svn path=/trunk/; revision=25157
      1db77c5a
    • Michael Natterer's avatar
      Remove the toolbox menu: · f63a7153
      Michael Natterer authored
      2008-03-21  Michael Natterer  <mitch@gimp.org>
      
      	Remove the toolbox menu:
      
      	* configure.in: remove --enable-toolbox-menu option.
      
      	* menus/Makefile.am
      	* menus/toolbox-menu.xml.in: removed.
      
      	* menus/image-menu.xml.in: add the debug menu here.
      
      	* menus/menus.xsl: remove transformations depending on whether
      	there is a toolbox menu or not.
      
      	* app/menus/Makefile.am
      	* app/menus/toolbox-menu.[ch]: removed.
      
      	* app/menus/menus.c: remove the toolbox menu but keep the
      	<Toolbox> UI manager around so we can configure its actions
      	separate from normal docks.
      
      	* app/actions/image-actions.c (image_actions): remove the action
      	for the toolbox menubar.
      
      	* app/widgets/gimptoolbox.c: remove all menu code.
      
      	* app/plug-in/plug-in-menu-path.c: map plug-in registered toolbox
      	menu items to their new location in the image menu
      	unconditionally.
      
      	* plug-ins/common/screenshot.c
      	* plug-ins/common/uniteditor.c
      	* plug-ins/script-fu/script-fu.c
      	* plug-ins/script-fu/scripts/web-browser.scm
      	* plug-ins/twain/twain.c
      	* plug-ins/winsnap/winsnap.c: remove menu registrations under
      	<Toolbox>/File and change <Toolbox>/Help to <Image>/Help. Leave
      	<Toolbox>/Xtns untouched until its final location and name are
      	decided.
      
      
      svn path=/trunk/; revision=25156
      f63a7153
    • Marco Ciampa's avatar
      Updated italian translation · ec73e2f6
      Marco Ciampa authored
      svn path=/trunk/; revision=25154
      ec73e2f6
    • Michael Natterer's avatar
      added member "ID" for themeing. · d7c9c3c9
      Michael Natterer authored
      2008-03-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdock.h (struct GimpDock): added member "ID"
      	for themeing.
      
      	* app/widgets/gimpdock.c (gimp_dock_init): assign unique IDs
      	and set unique widget names based on the ID.
      
      	(gimp_dock_style_set): set individual styles for each dock based
      	on the widget name so docks on different screens get the correct
      	font size. Use PANGO_SCALE_SMALL instead of a hardcoded factor of
      	0.8.
      
      
      svn path=/trunk/; revision=25152
      d7c9c3c9
    • Sven Neumann's avatar
      themes/Default/images/Makefile.am removed... · c671ea39
      Sven Neumann authored
      2008-03-21  Sven Neumann  <sven@gimp.org>
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-gegl-24.png: removed...
      
      	* themes/Default/images/stock-gegl-22.png: ... and added a 
      cropped
      	version that goes better with the other tool icons.
      
      	* libgimpwidgets/gimpstock.c: changed accordingly.
      
      
      svn path=/trunk/; revision=25151
      c671ea39
    • Michael Natterer's avatar
      some experimental and pretty evil code which reduces the font size in · 98eb3d2a
      Michael Natterer authored
      2008-03-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdock.c (gimp_dock_style_set): some experimental
      	and pretty evil code which reduces the font size in docks by 20%.
      
      
      svn path=/trunk/; revision=25150
      98eb3d2a
    • Michael Natterer's avatar
      make sure the drop label's opacity scales with its size so we don't end up · deefaa0e
      Michael Natterer authored
      2008-03-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpcanvas.c (gimp_canvas_draw_drop_zone): make sure
      	the drop label's opacity scales with its size so we don't end up
      	with tiny text at 10% opacity.
      
      
      svn path=/trunk/; revision=25149
      deefaa0e
  5. 20 Mar, 2008 3 commits