1. 13 Sep, 2005 3 commits
  2. 12 Sep, 2005 2 commits
    • Michael Natterer's avatar
      Really fix bug #150593: · 7d08450c
      Michael Natterer authored
      2005-09-12  Michael Natterer  <mitch@gimp.org>
      
      	Really fix bug #150593:
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpdockseparator.[ch]: new widget implementing the
      	droppable separator bar in docks.
      
      	* app/widgets/gimpdock.c: use it and removed local separator
      	utility functions.
      
      	* app/widgets/gimptoolbox.c: use GimpDockSeparator API to show/hide
      	the label. Expand the separator initially.
      
      	* themes/Default/gtkrc
      	* themes/Small/gtkrc: the separator height style property moved
      	from GimpDock to GimpDockSeparator.
      7d08450c
    • Akkana Peck's avatar
      menus/image-menu.xml.in Move Mode menu from Colors back to Image, and · 35ea9d1f
      Akkana Peck authored
      * menus/image-menu.xml.in
      * app/actions/image-actions.c: Move Mode menu from Colors
      back to Image, and rename it back to Mode, as per consensus
      on #gimp.
      35ea9d1f
  3. 11 Sep, 2005 6 commits
  4. 10 Sep, 2005 7 commits
    • Michael Natterer's avatar
      take the container's border_width into account. · 1db678df
      Michael Natterer authored
      2005-09-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcontainerbox.c
      	(gimp_container_box_set_size_request): take the container's
      	border_width into account.
      
      	* app/widgets/gimpcontainergridview.c
      	(gimp_container_grid_view_init): make sure GTK_SHADOW_IN is set on
      	the scrolled window, not on the viewport, so we get the same
      	results for list and grid views when using
      	gimp_container_box_set_size_request().
      
      	* app/widgets/gimpcontainerpopup.[ch]: added setters and getters
      	for view_type and preview_size, don't allow the preview to grow
      	larger than the popup.
      
      	* app/widgets/gimpviewablebutton.[ch]: added "popup-view-type" and
      	"popup-preview-size" properties and setters/getters.
      1db678df
    • Michael Natterer's avatar
      factored out common code in preparation of fixing bug #315443. · 33f16adf
      Michael Natterer authored
      2005-09-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpviewablebox.c: factored out common code in
      	preparation of fixing bug #315443.
      
      	* app/widgets/gimpviewablebutton.h (struct GimpViewableButton):
      	"popup_preview_size" is a gint, not a GimpViewType.
      33f16adf
    • Michael Natterer's avatar
      use gimp_draw_tool_on_handle() to figure if we need to close the path. · 2cddc493
      Michael Natterer authored
      2005-09-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpiscissorstool.c	(gimp_iscissors_tool_button_release):
      	use gimp_draw_tool_on_handle() to figure if we need to close the
      	path. Makes sure that the anchor's sensitive area matches its size
      	on screen. Fixes bug #134250.
      2cddc493
    • Michael Natterer's avatar
      GimpUnitVTable -> GimpUnitVtable · ec49e303
      Michael Natterer authored
      2005-09-10  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpbase/gimpbase-private.h: GimpUnitVTable -> GimpUnitVtable
      
      	* libgimpbase/gimpbase-private.c
      	* libgimp/gimp.c (gimp_main)
      	* app/units.c (units_init): changed accordingly.
      ec49e303
    • Michael Natterer's avatar
      moved the "Sample merged" toggle below the "Image source" radio button. · e6882234
      Michael Natterer authored
      2005-09-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpclonetool.c (gimp_clone_options_gui): moved the
      	"Sample merged" toggle below the "Image source" radio button.
      	Also fixed capitalization of "Sample merged".
      e6882234
    • Michael Natterer's avatar
      moved the "Sample Merged" toggle below the "Image Source" radio button. · 389c1457
      Michael Natterer authored
      2005-09-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpclonetool.c (gimp_clone_options_gui): moved the
      	"Sample Merged" toggle below the "Image Source" radio button.
      389c1457
    • Sven Neumann's avatar
      match parameter name in .c file. · d7abe438
      Sven Neumann authored
      2005-09-10  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpprogress.h: match parameter name in .c file.
      d7abe438
  5. 09 Sep, 2005 7 commits
    • Michael Natterer's avatar
      plug-ins/common/aa.c plug-ins/common/csource.c plug-ins/common/gbr.c · 3291ed35
      Michael Natterer authored
      2005-09-09  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/common/aa.c
      	* plug-ins/common/csource.c
      	* plug-ins/common/gbr.c
      	* plug-ins/common/gih.c
      	* plug-ins/common/gtm.c
      	* plug-ins/common/mng.c
      	* plug-ins/common/pat.c
      	* plug-ins/common/png.c
      	* plug-ins/common/pnm.c
      	* plug-ins/common/postscript.c
      	* plug-ins/common/psp.c
      	* plug-ins/common/raw.c
      	* plug-ins/common/sunras.c
      	* plug-ins/common/tga.c
      	* plug-ins/common/tiff.c
      	* plug-ins/common/xbm.c
      	* plug-ins/common/xpm.c
      	* plug-ins/gfli/gfli.c
      	* plug-ins/jpeg/jpeg-save.c
      	* plug-ins/sgi/sgi.c
      	* plug-ins/winicon/icodialog.c: actually call
      	gimp_window_set_transient() on save dialogs.
      	Really fixes bug #62988.
      3291ed35
    • Michael Natterer's avatar
      Added parent window API to the GimpProgress interface and to the libgimp · b10adabb
      Michael Natterer authored
      2005-09-09  Michael Natterer  <mitch@gimp.org>
      
      	Added parent window API to the GimpProgress interface and to
      	the libgimp progress stuff. Might look strange, but does
      	the right thing in almost all cases (image window, file dialog,
      	script-fu dialog etc). Fixes bug #62988.
      
      	* app/core/gimpprogress.[ch]: added GimpProgress::get_window()
      	which should return a toplevel window ID if the progress is in a
      	window that wants to be the transient parent of plug-in dialogs.
      
      	* app/widgets/gimpwidgets-utils.[ch] (gimp_window_get_native): new
      	function which returns the window handle of a GtkWindow's GdkWindow.
      
      	* app/widgets/gimpfiledialog.c: implement ::get_window().
      
      	* app/display/gimpdisplay.[ch]: ditto. Removed window handle API.
      
      	* app/gui/gui-vtable.c: changed accordingly.
      
      	* libgimpbase/gimpbaseenums.[ch] (enum GimpProgressCommand):
      	added GIMP_PROGRESS_COMMAND_GET_WINDOW.
      
      	* app/plug-in/plug-in-progress.[ch] (plug_in_progress_get_window):
      	new function. Also renamed some functions to match the
      	GimpProgress interface, and not the legacy PDB procedure names.
      
      	* tools/pdbgen/pdb/progress.pdb
      	* app/core/gimppdbprogress.c: implement get_window() on both
      	sides of the wire, keeping backward compatibility (hopefully).
      
      	* libgimp/gimpprogress.[ch]: deprecated gimp_progress_install()
      	and added gimp_progress_install_vtable() which takes a vtable with
      	padding to be extensible. Added get_window() vtable entry and
      	dispatch it accordingly. Also added pulse() which was implemented
      	in a hackish way before. Everything is of course backward
      	compatible.
      
      	* libgimp/gimpprogressbar.c: inmplement the get_window() stuff
      	so a plug-in dialog containing a progress can be the transient
      	parent of another dialog in another plug-in.
      
      	* libgimp/gimpui.[ch] (gimp_ui_get_progress_window): new function
      	which returns a foreign GdkWindow of this plug-ins progress
      	window.
      
      	Renamed gimp_window_set_transient_for_default_display() to
      	gimp_window_set_transient() and make it use the progress' window
      	handle instead of the display's (which is the right thing to do in
      	almost all cases).
      
      	* libgimp/gimp.def
      	* libgimp/gimpui.def: add the new functions.
      
      	* tools/pdbgen/enums.pl
      	* app/pdb/internal_procs.c
      	* app/pdb/progress_cmds.c
      	* libgimp/gimpprogress_pdb.[ch]: regenerated.
      
      	* libgimp/gimpexport.c
      	* plug-ins/*/*.c: follow API change.
      b10adabb
    • Tor Lillqvist's avatar
      Practice what I preach and use g_ascii_strcasecmp() instead of · 5a81d39e
      Tor Lillqvist authored
      2005-09-09  Tor Lillqvist  <tml@novell.com>
      
      	* libgimpbase/gimpdatafiles.c (is_script): Practice what I preach
      	and use g_ascii_strcasecmp() instead of g_strcasecmp().
      5a81d39e
    • Tor Lillqvist's avatar
      Practice what I preach and use g_ascii_strcasecmp() instead of · 823e52d3
      Tor Lillqvist authored
      2005-09-09  Tor Lillqvist  <tml@novell.com>
      
      	* gimptool-win32.c.in (get_prefix, maybe_append_exe): Practice
      	what I preach and use g_ascii_strcasecmp() instead of
      	g_strcasecmp().
      823e52d3
    • Sven Neumann's avatar
      use g_ascii_strcasecmp() instead of strcasecmp(). · 428771c6
      Sven Neumann authored
      2005-09-09  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/print/print.c (printrc_load): use g_ascii_strcasecmp()
      	instead of strcasecmp().
      428771c6
    • Michael Natterer's avatar
      Removed 'hi' again until all po files are there. · d7b4fb25
      Michael Natterer authored
      2005-09-09  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: Removed 'hi' again until all po files are there.
      d7b4fb25
    • Rajesh Ranjan's avatar
      tranlated by rajeshkajha@yahoo.com · d4f87f4c
      Rajesh Ranjan authored
      d4f87f4c
  6. 08 Sep, 2005 2 commits
    • Michael Natterer's avatar
      if the floating selection has no alpha, manually create BoundSegs of its · 805602b6
      Michael Natterer authored
      2005-09-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimplayer-floating-sel.c (floating_sel_boundary): if
      	the floating selection has no alpha, manually create BoundSegs of
      	its outline instead of calling boundary_find() (which creates a
      	boundary of the last channel). Fixes bug #145373.
      
      	* app/widgets/gimplayertreeview.c
      	(gimp_layer_tree_view_floating_selection_changed): update all
      	layer names' text attributes, not only for layers with alpha.
      	Fixes layer name display when making a new layer out of a floating
      	selection without alpha.
      805602b6
    • Michael Natterer's avatar
      app/widgets/gimpcontainergridview.c allow to popup the context menu from · 7e34681f
      Michael Natterer authored
      2005-09-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainertreeview.c: allow to popup the context
      	menu from the views' empty area. Fixes bug #314719.
      7e34681f
  7. 07 Sep, 2005 3 commits
    • Michael Natterer's avatar
      use gimp_rectangle_intersect() instead of just looking at the passed in · 7eb96e17
      Michael Natterer authored
      2005-09-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpchannel-combine.c (gimp_channel_combine_ellipse):
      	use gimp_rectangle_intersect() instead of just looking at the
      	passed in w,h to figure whether nothing needs to be done. While
      	the algorithm does nicely with an entirely out-of-image ellipse,
      	the channel's bounds were set to a rectangle of zero width or
      	height, which caused subsequent calls to gimp_channel_bounds() to
      	return broken bounds. Fixes bug #315417.
      
      	(gimp_channel_combine_rect)
      	(gimp_channel_combine_mask): use gimp_rectangle_intersect() here
      	too instead of the usual unclear CLAMPing on x1,y1,x2,y2.
      7eb96e17
    • Ankitkumar Rameshchandra Patel's avatar
      6311df51
    • Sven Neumann's avatar
      don't set a window icon, the dialog should be transient anyway. · f142aa4e
      Sven Neumann authored
      2005-09-07  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimperrordialog.[ch]: don't set a window icon, the
      	dialog should be transient anyway.
      
      	* app/dialogs/dialogs-constructors.c: changed accordingly.
      f142aa4e
  8. 06 Sep, 2005 2 commits
  9. 05 Sep, 2005 8 commits
    • Sven Neumann's avatar
      Call gimp_window_set_transient_for_default_display() for most plug-in · cc6f3e76
      Sven Neumann authored
      2005-09-05  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins: Call gimp_window_set_transient_for_default_display()
      	for most plug-in dialogs. Not yet done are load and save dialogs
      	and dialogs created from language bindings.
      cc6f3e76
    • Sven Neumann's avatar
      Address bug #307971: · ec56ef9d
      Sven Neumann authored
      2005-09-05  Sven Neumann  <sven@gimp.org>
      
      	Address bug #307971:
      
      	* app/core/gimp-gui.[ch]
      	* app/display/gimpdisplay.[ch]
      	* app/gui/gui-vtable.c
      	* tools/pdbgen/pdb/display.pdb: added PDB function to obtain a
      	window handle on an image display.
      
      	* app/pdb/display_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpdisplay_pdb.[ch]: regenerated.
      
      	* libgimp/gimpui.[ch]: added functions to set a GtkWindow transient
      	to an image display.
      
      	* plug-ins/common/gauss.c: use the new function exemplarily.
      
      	* libgimp/gimp.def
      	* libgimp/gimpui.def: updated.
      ec56ef9d
    • Sven Neumann's avatar
      app/actions/edit-actions.c app/menus/menus.c app/widgets/gimpundoeditor.c · 19152b85
      Sven Neumann authored
      2005-09-05  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/edit-actions.c
      	* app/menus/menus.c
      	* app/widgets/gimpundoeditor.c
      	* menus/Makefile.am
      	* menus/undo-editor-menu.xml: added menu for undo editor.
      19152b85
    • Michael Natterer's avatar
      applied patch from David Gowers which adds "gimp-edit-named-delete". · dc65f101
      Michael Natterer authored
      2005-09-05  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/edit.pdb: applied patch from David Gowers which
      	adds "gimp-edit-named-delete". Addresses bug #315130. Added
      	"gimp-edit-named-rename" additionally.
      
      	* libgimp/gimp.def: changed accordingly.
      
      	* app/pdb/edit_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpedit_pdb.[ch]: regenerated.
      dc65f101
    • Michael Natterer's avatar
      don't let named cut/copy affect the global buffer. Fixes bug #315225. Also · dd1d7498
      Michael Natterer authored
      2005-09-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp-edit.c: don't let named cut/copy affect the global
      	buffer. Fixes bug #315225. Also make "Global Buffer" translatable.
      dd1d7498
    • Sven Neumann's avatar
      app/core/gimp.[ch] removed the confusing and redundant feature of having · 4f8e69cf
      Sven Neumann authored
      2005-09-05  Sven Neumann  <sven@gimp.org>
      
              * app/core/gimp.[ch]
              * app/core/gimpimage-new.c: removed the confusing and redundant
              feature of having the New Image dialog default to the size of the
              global buffer. Please use Paste as New instead. Fixes bug #315106.
      4f8e69cf
    • Sven Neumann's avatar
      terminate variable argument list. Fixes bug #315255. · 92f5a8b4
      Sven Neumann authored
      2005-09-05  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimprectangletool.c: terminate variable argument list.
      	Fixes bug #315255.
      92f5a8b4
    • Michael Natterer's avatar
      app/actions/edit-actions.c app/actions/edit-commands.[ch] applied modified · a56d72c1
      Michael Natterer authored
      2005-09-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/edit-actions.c
      	* app/actions/edit-commands.[ch]
      	* menus/image-menu.xml.in: applied modified patch from David
      	Gowers which adds an "edit-named-copy-visible" actions and its
      	menu item. Addresses bug #315130.
      a56d72c1