1. 26 Sep, 2003 4 commits
    • Michael Natterer's avatar
      Cleaned up all places which pick colors to work consistently: the concept · e13afaf2
      Michael Natterer authored
      2003-09-26  Michael Natterer  <mitch@gimp.org>
      
      	Cleaned up all places which pick colors to work consistently: the
      	concept of an "active color" has disappeared, instead <ctrl> picks
      	the BG color all over the place (fixes bug #122931).
      
      	* app/tools/tools-enums.[ch]: added enum GimpColorPickMode which
      	can be one of { FOREGROUND, BACKGROUND }. Reordered enums so
      	non-registered ones are at the end of the file. Removed trailing
      	whitespace.
      
      	* app/tools/gimpcolorpickeroptions.[ch]: added a "pick-mode"
      	property and a GUI for it. Renamed the "update-active" property to
      	"update-toolbox".
      
      	* app/tools/gimpcolorpickertool.c: honor the new option. Toggle
      	pick-mode on <ctrl>.
      
      	* app/tools/gimpcolortool.[ch]: added pick_mode member and change
      	the cursor accordingly.
      
      	* app/widgets/gimpcolormapeditor.[ch]: added "GdkModifierType
      	state" to the "selected" signal. Removed the signal's default
      	implementation.
      
      	* app/gui/dialogs-constructors.c: fixed the signal handler which
      	lives here and set BG if <ctrl> was pressed.
      
      	* app/widgets/gimppaletteeditor.c: removed weird <ctrl> <->
      	active_color interaction and pick BG on <ctrl>. Don't change the
      	toolbox color when editing a color in the palette.
      
      	* app/widgets/gimptoolbox-color-area.[ch]: made the whole
      	active_color stuff private. Will remove these artefacts soon...
      
      	* app/gui/colormap-editor-menu.c
      	* app/gui/palette-editor-menu.c: added separate menu entries
      	for adding a color from the current FG and BG.
      
      	* app/gui/colormap-editor-commands.c
      	* app/gui/palette-editor-commands.[ch]: changed callbacks
      	accordingly.
      
      	* cursors/background.xbm
      	* cursors/background_mask.xbm
      	* cursors/foreground.xbm
      	* cursors/foreground_mask.xbm
      	* cursors/gimp-tool-cursors.xcf: moved the FG/BG cursor modifiers
      	closer to the upper right corner.
      
      	* app/widgets/gimpcursor.c: ignore the cursor modifiers' hotspots
      	since they are not relevant and I didn't save the hotspot in the
      	updated cursor files for that reason.
      e13afaf2
    • Sven Neumann's avatar
      added more missing files. · a1d495b9
      Sven Neumann authored
      2003-09-26  Sven Neumann  <sven@gimp.org>
      
      	* POTFILES.in: added more missing files.
      a1d495b9
    • Kwok-Koon Cheung's avatar
    • Simon Budig's avatar
      Add some parameters to gimp_scan_convert_stroke () to expose the · 8172df9a
      Simon Budig authored
      2003-09-26  Simon Budig  <simon@gimp.org>
      
      	* app/core/gimpscanconvert.[ch]: Add some parameters to
      	gimp_scan_convert_stroke () to expose the Miter-Setting
      	and enable dashing of vectors.
      
      	* app/core/gimpdrawable-stroke.c: Use the dashing feature.
      
      	* app/vectors/gimpvectors.c: Expose a bad hack (opacity
      	controls the libart-stroke width) in a #define. Default
      	is not enabled.
      8172df9a
  2. 25 Sep, 2003 5 commits
    • Tor Lillqvist's avatar
      Add a couple of missing entries. · 897a161f
      Tor Lillqvist authored
      2003-09-25  Tor Lillqvist  <tml@iki.fi>
      
      	* libgimp/gimp.def: Add a couple of missing entries.
      897a161f
    • Tor Lillqvist's avatar
      Add gimp_parameter_settings_new. · 95bb69bd
      Tor Lillqvist authored
      2003-09-25  Tor Lillqvist  <tml@iki.fi>
      
      	* libgimp/gimpui.def: Add gimp_parameter_settings_new.
      95bb69bd
    • David Odin's avatar
      small gui fixes in the select printer dialog. · 5141181e
      David Odin authored
      5141181e
    • Sven Neumann's avatar
      removed debugging output. · 7c1c3357
      Sven Neumann authored
      2003-09-25  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpxmlparser.c (gimp_xml_parser_parse_io_channel):
      	removed debugging output.
      
      	* app/vectors/gimpvectors-import.c: simplified viewport handling
      	and make it adhere to the spec again (hopefully my interpretation
      	of the spec is right).
      7c1c3357
    • Sven Neumann's avatar
      optionally scale the imported SVG to fit the image. · b2ad956b
      Sven Neumann authored
      2003-09-25  Sven Neumann  <sven@gimp.org>
      
      	* app/vectors/gimpvectors-import.[ch]: optionally scale the
      	imported SVG to fit the image.
      
      	* app/gui/vectors-commands.c: changed accordingly.
      
      	* tools/pdbgen/pdb/paths.pdb: export the new scale parameter to
      	the PDB.
      
      	* app/pdb/paths_cmds.c
      	* libgimp/gimppaths_pdb.[ch]: regenerated.
      
      	* plug-ins/common/svg.c: scale the imported vectors to image size.
      	This makes them always fit :)
      b2ad956b
  3. 24 Sep, 2003 9 commits
  4. 23 Sep, 2003 22 commits
    • Sven Neumann's avatar
      app/gui/resize-dialog.c app/widgets/gimptemplateeditor.c use horizontal · 008769d5
      Sven Neumann authored
      2003-09-23  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/resize-dialog.c
      	* app/widgets/gimptemplateeditor.c
      	* plug-ins/common/svg.c: use horizontal boxes instead of alignments.
      	Fixes dialog layout for RTL rendering.
      
      	* plug-ins/common/png.c (save_dialog): only set the comment toggle
      	active if there's a comment to save.
      008769d5
    • Pablo Gonzalo del Campo's avatar
      Updated Spanish translation. · 84ab2c34
      Pablo Gonzalo del Campo authored
      2003-09-23  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>
      
      	* es.po: Updated Spanish translation.
      84ab2c34
    • Miloslav Trmac's avatar
      Update Czech translation · fa3dad6a
      Miloslav Trmac authored
      fa3dad6a
    • Dave Neary's avatar
      Fixed minor mistake in last commit. · 5e1b1127
      Dave Neary authored
      
      
      2003-09-23  Dave Neary  <bolsh@gimp.org>
      
              * plug-ins/common/jpeg.c: Fixed minor mistake in last commit.
      5e1b1127
    • Dave Neary's avatar
      Allow discarding of exif data if HAVE_EXIF is enabled, and the user · b3140f4d
      Dave Neary authored
      
      
      2003-09-23  Dave Neary  <bolsh@gimp.org>
      
      	* plug-ins/common/jpeg.c: Allow discarding of exif data if
      	HAVE_EXIF is enabled, and the user doesn't want to keep it.
      	Closes bug #118384.
      b3140f4d
    • Sven Neumann's avatar
      added a utility function that positions a menu that pops up from a button · e0f2efdc
      Sven Neumann authored
      2003-09-23  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpwidgets-utils.[ch]: added a utility function
      	that positions a menu that pops up from a button widget.
      
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/widgets/gimpdockable.c: use the new utility function instead
      	of duplicating the code.
      e0f2efdc
    • Sven Neumann's avatar
      pack the widgets without using an alignment. Looks better and works in RTL · a46b9f33
      Sven Neumann authored
      2003-09-23  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimplayertreeview.c (gimp_layer_tree_view_init):
      	pack the widgets without using an alignment. Looks better and
      	works in RTL mode as well.
      a46b9f33
    • Sven Neumann's avatar
      added the title pango layout to the GimpDockable struct. Made · a52de434
      Sven Neumann authored
      2003-09-23  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpdockable.[ch]: added the title pango layout to
      	the GimpDockable struct. Made gimp_dockable_menu_position() handle
      	RTL layout correctly.
      
      	* app/display/gimpdisplayshell-callbacks.c
      	(gimp_display_shell_origin_menu_position): handle RTL layout.
      a52de434
    • Sven Neumann's avatar
      fixed rendering for RTL layout. · 9407b3bc
      Sven Neumann authored
      2003-09-23  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpchainbutton.c (gimp_chain_button_draw_lines):
      	fixed rendering for RTL layout.
      9407b3bc
    • Michael Natterer's avatar
      forgot to commit this my last commit: · 60f3f3b6
      Michael Natterer authored
      2003-09-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpmenufactory.[ch]: added a "menu_title" which is
      	registered with each menu.
      60f3f3b6
    • Michael Natterer's avatar
      added a "menu_title" which is registered with each menu. · c5fd48f2
      Michael Natterer authored
      2003-09-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpmenufactory.[ch]: added a "menu_title" which is
      	registered with each menu.
      
      	* app/widgets/gimpitemfactory.[ch]: added the title to the
      	constructor and to the GimpItemFactory struct.
      
      	* app/gui/menus.c: register titles with all menus.
      
      	* app/widgets/gimpdockable.[ch]: show the tab menu, not the
      	contained dialog's menu when clicking on the menu button.
      	Embed the dialog's menu as submenu. Use the item_factory's
      	title and the dockable's stock_id for the submenu entry.
      
      	* app/widgets/gimpeditor.c: removed GtkWidget:popup_menu()
      	implementation since that's done by GimpDockable now.
      
      	* app/widgets/gimpdockbook.c: set the new menu item invisible
      	when showing the menu as tab menu.
      
      	* app/widgets/gimphelp-ids.h: added GIMP_HELP_DOCK_TAB_DETACH
      	and renamed _TAB_REMOVE to _TAB_CLOSE.
      
      	* app/gui/dialogs-menu.c: added the new menu entry for showing the
      	dialog's sub-menu. Added a "Detach" menu item, renamed "Remove" to
      	"Close". Accept both a GimpDockbook and a GimpDockable pointer as
      	"data" in dialogs_menu_update().
      
      	* app/gui/dialogs-commands.[ch]: changed accordingly. Never use
      	gtk_item_factory_popup_data_from_widget() but always the "data"
      	passed to the callbacks. Take care to not set the already active
      	preview_size, tab_style and list/grid type in the resp. callbacks
      	to avoid being called from dialogs_menu_update().
      
      	* app/gui/dialogs-constructors.c: removed separate
      	set_context_funcs and get_menu_funcs for GimpContainerView and
      	GimpContainerEditor widgets and simply use
      	gimp_container_view_get_by_dockable() to find the right widget.
      c5fd48f2
    • Michael Natterer's avatar
      pass the menu_factory of the newly created dock to gimp_dockbook_new(), · a8ed5f6b
      Michael Natterer authored
      2003-09-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdialogfactory.c
      	(gimp_dialog_factories_restore_foreach): pass the menu_factory of
      	the newly created dock to gimp_dockbook_new(), not the one of the
      	dialog_factory we are restoring (doesn't matter since we have only
      	one global_menu_factory, but this code should still not do wrong
      	things)
      a8ed5f6b
    • Sven Neumann's avatar
      workaround for GLib bug #116617: set GimpConfigError before calling · a06c96e5
      Sven Neumann authored
      2003-09-23  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpscanner.c (gimp_scanner_new_file): workaround for
      	GLib bug #116617: set GimpConfigError before calling g_strerror().
      	Fixes bug #122939.
      a06c96e5
    • Sven Neumann's avatar
      add a shortcut of Ctrl-0 for the 10th entry. · f55261c2
      Sven Neumann authored
      2003-09-23  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/menus.c (menus_last_opened_add): add a shortcut of
      	Ctrl-0 for the 10th entry.
      
      	* app/config/gimpguiconfig.c: increased the default
      	last-opened-size from 4 to 10; increased the max-new-image-size
      	from 32M to 64M.
      f55261c2
    • Michael Natterer's avatar
      Fixed italian translation. Please check if your changes compile before · ccc51697
      Michael Natterer authored
      2003-09-23  Michael Natterer  <mitch@gimp.org>
      
      	* it.po: Fixed italian translation. Please check if your
      	changes compile before committing!
      ccc51697
    • Sven Neumann's avatar
      fixed the direction of the translation applied for viewBox offsets. · 14b5681a
      Sven Neumann authored
      2003-09-23  Sven Neumann  <sven@gimp.org>
      
      	* app/vectors/gimpvectors-import.c (parse_svg_viewbox): fixed the
      	direction of the translation applied for viewBox offsets.
      14b5681a
    • Marco Ciampa's avatar
      Updated italian translation. · e2786ca8
      Marco Ciampa authored
      e2786ca8
    • Sven Neumann's avatar
      themes/Default/images/Makefile.am removed... · dab5b6e6
      Sven Neumann authored
      2003-09-23  Sven Neumann  <sven@gimp.org>
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-menu-12.png: removed...
      
      	* themes/Default/images/stock-menu-left-12.png
      	* themes/Default/images/stock-menu-right-12.png: and added again
      	together with a flipped version.
      
      	* libgimpwidgets/gimpstock.[ch]: register GIMP_STOCK_MENU_LEFT and
      	GIMP_STOCK_MENU_RIGHT instead of GIMP_STOCK_MENU and swap the
      	images for RTL layout.
      
      	* app/widgets/gimpdockable.c: use GIMP_STOCK_MENU_LEFT here.
      
      	* app/display/gimpdisplayshell.c: replaced the arrow in the
      	display origin with the GIMP_STOCK_MENU_RIGHT icon.
      dab5b6e6
    • Sven Neumann's avatar
      show the pixel size specified by the SVG file and inform the user if it · 3f70732e
      Sven Neumann authored
      2003-09-23  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/svg.c: show the pixel size specified by the SVG
      	file and inform the user if it failed to provide one.
      3f70732e
    • Jakub Steiner's avatar
      themes/Default/images/stock-close-12.png perhaps the last version looked · b38b46af
      Jakub Steiner authored
      2003-09-23  Jakub Steiner <jimmac@ximian.com>
      
      * themes/Default/images/stock-close-12.png
      * themes/Default/images/stock-menu-12.png: perhaps the last
        version looked too much like a disabled item.
      b38b46af
    • Sven Neumann's avatar
      removed redundant calculations. · f56486c5
      Sven Neumann authored
      2003-09-23  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/resize-dialog.c (ratio_callback): removed redundant
      	calculations.
      
      	* plug-ins/common/svg.c: use a default size to handle the case
      	when librsvg cannot determine the SVG size.
      f56486c5
    • Jakub Steiner's avatar
      a tiny tribute to the path tool · 6fe792b6
      Jakub Steiner authored
      2003-09-23  Jakub Steiner <jimmac@ximian.com>
      
      * data/images/gimp_splash.png: a tiny tribute to the path tool
      6fe792b6