1. 25 Sep, 2005 2 commits
    • Sven Neumann's avatar
      added more values to the GimpZoomType enum. · 13ebb1ca
      Sven Neumann authored
      2005-09-25  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpwidgetsenums.h: added more values to the
      	GimpZoomType enum.
      
      	* libgimpwidgets/gimpzoommodel.c (gimp_zoom_model_zoom_step):
      	handle the new enum values.
      
      	* app/actions/view-commands.c (view_zoom_cmd_callback) use the new
      	values.
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_new): cosmetics.
      13ebb1ca
    • Michael Natterer's avatar
      another patch from Sylvain Foret that fixes the dialog title for the close · 508ce1e4
      Michael Natterer authored
      2005-09-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/dialogs/quit-dialog.c (quit_close_all_dialog_new): another
      	patch from Sylvain Foret that fixes the dialog title for the close
      	all dialog. Fixes bug #317137. Also pass the right help IDs to
      	gimp_message_dialog_new().
      508ce1e4
  2. 24 Sep, 2005 7 commits
    • Michael Natterer's avatar
      set "Close all" insensitive when there are no displays. · 96b347a0
      Michael Natterer authored
      2005-09-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/file-actions.c: set "Close all" insensitive when
      	there are no displays.
      96b347a0
    • Michael Natterer's avatar
      app/actions/view-actions.c de-uglify callback names for "new" and "close". · 0e36f721
      Michael Natterer authored
      2005-09-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/view-actions.c
      	* app/actions/view-commands.[ch]: de-uglify callback names for
      	"new" and "close".
      0e36f721
    • Michael Natterer's avatar
      Should save before commit. · 53151de7
      Michael Natterer authored
      53151de7
    • Michael Natterer's avatar
      Applied (slightly modified) patch from Sylvain Foret which adds "Close · 71cf9ee2
      Michael Natterer authored
      2005-09-24  Michael Natterer  <mitch@gimp.org>
      
      	Applied (slightly modified) patch from Sylvain Foret which adds
      	"Close All" menu entries and dialog. Fixes bug #163532.
      
      	* app/actions/file-actions.c
      	* app/actions/file-commands.[ch]: added "file-close-all" action
      	and callback.
      
      	* app/dialogs/dialogs-constructors.[ch]
      	* app/dialogs/dialogs.c
      	* app/dialogs/quit-dialog.[ch]: added close all dialog which is a
      	modified quit dialog.
      
      	* app/widgets/gimphelp-ids.h: added help ID.
      
      	* menus/image-menu.xml.in
      	* menus/toolbox-menu.xml.in: add close all next to quit.
      71cf9ee2
    • Michael Natterer's avatar
      set "activates-default" on all spinbuttons. · 80a31bfe
      Michael Natterer authored
      2005-09-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-scale.c
      	(gimp_display_shell_scale_dialog): set "activates-default" on all
      	spinbuttons.
      80a31bfe
    • David Odin's avatar
      Moved the GimpZoomType enum from here... · f94f48f1
      David Odin authored
      * app/widgets/widgets-enums.h: Moved the GimpZoomType enum from	here...
      
      * libgimpwidgets/gimpwidgetsenums.h: ...to here.
      
      * app/widgets/widgets-enums.c
      * libgimpwidgets/gimpwidgetsenums.c: regenerated.
      
      * app/display/gimpdisplayshell-scale.[ch]: removed
        gimp_display_shell_scale_zoom_step and
        gimp_display_shell_scale_get_fraction from here...
      
      * libgimpwidgets/gimpzoommodel.[ch]: ... to here so we can use these
        utility functions in plug-ins and in the core.
        Also removed the step-size property since the zoom-model now use
        gimp_zoom_model_zoom_step.
      
      * app/actions/view-commands.c
      * app/display/gimpdisplayshell-title.c
      * app/display/gimpdisplayshell.c
      * app/tools/gimpmagnifytool.c: modified accordingly.
      
      * libgimp/gimpzoompreview.c: don't pass any argument to the
        gimp_zoom_model_new function.
      
      * libgimpwidgets/gimpwidgets.def: added gimp_zoom_model_zoom_step
        (gimp_zoom_model_get_fraction was already there)
      
      * devel-docs/app/app-sections.txt: removed
        gimp_display_shell_scale_zoom_step and
        gimp_display_shell_scale_get_fraction.
      f94f48f1
    • Michael Natterer's avatar
      app/paint/gimppaintcore.h app/tools/gimpimagemaptool.c indentation fixes. · 6da6824c
      Michael Natterer authored
      2005-09-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimppaintcore.h
      	* app/tools/gimpimagemaptool.c
      	* tools/test-clipboard.c: indentation fixes.
      6da6824c
  3. 23 Sep, 2005 1 commit
    • Michael Natterer's avatar
      renamed from set_action_important(). Set the "hide-if-empty" property so · 4d77057c
      Michael Natterer authored
      2005-09-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpactiongroup.c
      	(gimp_action_group_set_action_hide_empty): renamed from
      	set_action_important(). Set the "hide-if-empty" property so
      	showing an insensitive "Empty" item instead of hiding the submenu
      	works again (did this ever work?).
      
      	* app/actions/tool-options-actions.c (tool_options_actions_setup):
      	changed accordingly. Keeps the tool options submenus from
      	disappearing.
      4d77057c
  4. 21 Sep, 2005 1 commit
    • Michael Natterer's avatar
      Separated the global buffer logic from the clipboard implementation: · ae4d65ac
      Michael Natterer authored
      2005-09-21  Michael Natterer  <mitch@gimp.org>
      
      	Separated the global buffer logic from the clipboard
      	implementation:
      
      	* app/widgets/gimpclipboard.[ch]: removed all knowledge about
      	gimp->global_buffer. Removed the Gimp::buffer-changed callback.
      	Made gimp_clipboard_set_buffer() public and remember the set
      	buffer in the GimpClipboard struct. Fixed the has_buffer() and
      	has_svg() functions.
      
      	* app/gui/gui.c: connect to Gimp::buffer-changed here and call
      	gimp_clipboard_set_buffer() from the callback.
      ae4d65ac
  5. 20 Sep, 2005 4 commits
  6. 19 Sep, 2005 5 commits
    • Michael Natterer's avatar
      added new public function gimp_clipboard_set_svg() and internal stuff to · c7998a18
      Michael Natterer authored
      2005-09-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpclipboard.[ch]: added new public function
      	gimp_clipboard_set_svg() and internal stuff to offer and transfer
      	the svg data to the clipboard.
      
      	* app/actions/vectors-commands.c (vectors_copy_cmd_callback)
      	(vectors_paste_cmd_callback): implement copy/paste of vectors as
      	SVG. Fixes bug #316547.
      
      	* app/widgets/gimpvectorstreeview.c
      	(gimp_vectors_tree_view_drag_svg): don't add the terminating
      	nul-byte of the svg string to svg_data_length, it confuses the XML
      	parser.
      
      	* app/actions/vectors-actions.c
      	* app/actions/vectors-commands.[ch]
      	* menus/vectors-menu.xml: reordered export/import so they are in
      	the same order as copy/paste.
      c7998a18
    • Sven Neumann's avatar
      autogen.sh configure.in app/main.c app/widgets/gimptoolbox.c changed "The · e9443b57
      Sven Neumann authored
      2005-09-19  Sven Neumann  <sven@gimp.org>
      
      	* autogen.sh
      	* configure.in
      	* app/main.c
      	* app/widgets/gimptoolbox.c
      	* plug-ins/script-fu/scripts/web-browser.scm: changed "The GIMP"
      	to "GNU Image Manipulation Program" or just "GIMP".
      e9443b57
    • Sven Neumann's avatar
      use GTK_STOCK_FILE for File actions. · 3b28167d
      Sven Neumann authored
      2005-09-19  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/actions.c: use GTK_STOCK_FILE for File actions.
      
      	* app/actions/dialogs-actions.c
      	* plug-ins/gimpressionist/gimpressionist.c
      	* plug-ins/print/gimp_main_window.c: use GTK_STOCK_ABOUT for About
      	dialogs.
      
      	* app/actions/actions.c
      	* app/actions/brushes-actions.c
      	* app/actions/channels-actions.c
      	* app/actions/channels-commands.c
      	* app/actions/colormap-editor-actions.c
      	* app/actions/gradients-actions.c
      	* app/actions/layers-actions.c
      	* app/actions/layers-commands.c
      	* app/actions/palette-editor-actions.c
      	* app/actions/palettes-actions.c
      	* app/actions/patterns-actions.c
      	* app/actions/templates-actions.c
      	* app/actions/templates-commands.c
      	* app/actions/text-editor-actions.c
      	* app/actions/tool-options-actions.c
      	* app/actions/vectors-actions.c
      	* app/actions/vectors-commands.c
      	* app/tools/gimptexttool.c
      	* app/widgets/gimpcontrollereditor.c
      	* app/widgets/gimpcontrollerlist.c
      	* plug-ins/flame/flame.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/gimpressionist/orientation.c
      	* plug-ins/gimpressionist/size.c
      	* plug-ins/metadata/interface.c: s/GIMP_STOCK_EDIT/GTK_STOCK_EDIT/
      3b28167d
    • Michael Natterer's avatar
      Did a global s/qmask/quick-mask/: · 1adf3d71
      Michael Natterer authored
      2005-09-19  Michael Natterer  <mitch@gimp.org>
      
      	Did a global s/qmask/quick-mask/:
      
      	* app/actions/qmask-actions.[ch]
      	* app/actions/qmask-commands.[ch]
      	* app/core/gimpimage-qmask.[ch]
      	* menus/qmask-menu.xml
      	* themes/Default/images/stock-qmask-off-16.png
      	* themes/Default/images/stock-qmask-on-16.png: removed.
      
      	* app/actions/quick-mask-actions.[ch]
      	* app/actions/quick-mask-commands.[ch]
      	* app/core/gimpimage-quick-mask.[ch]
      	* menus/quick-mask-menu.xml
      	* themes/Default/images/stock-quick-mask-off-16.png
      	* themes/Default/images/stock-quick-mask-on-16.png: added.
      
      	* app/actions/Makefile.am
      	* app/actions/actions.c
      	* app/core/Makefile.am
      	* app/core/core-enums.[ch]
      	* app/core/gimpchannel.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-undo.c
      	* app/core/gimpimage.[ch]
      	* app/core/gimpundo.[ch]
      	* app/display/gimpdisplayshell-appearance.c
      	* app/display/gimpdisplayshell-callbacks.[ch]
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell.[ch]
      	* app/menus/menus.c
      	* app/widgets/gimphelp-ids.h
      	* libgimpwidgets/gimpstock.[ch]
      	* menus/Makefile.am
      	* menus/image-menu.xml.in
      	* themes/Default/images/Makefile.am: changed accordingly.
      1adf3d71
    • Sven Neumann's avatar
      use GTK_STOCK_DIRECTORY for GIMP_THUMB_STATE_FOLDER. · 7f95ed53
      Sven Neumann authored
      2005-09-19  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimagefile.c (gimp_imagefile_get_new_pixbuf): use
      	GTK_STOCK_DIRECTORY for GIMP_THUMB_STATE_FOLDER.
      7f95ed53
  7. 18 Sep, 2005 2 commits
  8. 17 Sep, 2005 3 commits
    • Michael Natterer's avatar
      We don't need two labels for "Toggle Quick Mask": · 1853589e
      Michael Natterer authored
      2005-09-17  Michael Natterer  <mitch@gimp.org>
      
      	We don't need two labels for "Toggle Quick Mask":
      
      	* app/actions/qmask-actions.c: removed "qmask-active" action.
      
      	* menus/qmask-menu.xml: use "qmask-toggle" instead.
      
      	* app/actions/actions.c (action_groups): s/QuickMask/Quick Mask/
      	Fixes bug #316569.
      1853589e
    • Michael Natterer's avatar
      We don't need two labels for "Toggle QuickMask". Fixes bug #316569. · 1763b769
      Michael Natterer authored
      2005-09-17  Michael Natterer  <mitch@gimp.org>
      
      	We don't need two labels for "Toggle QuickMask".
      	Fixes bug #316569.
      
      	* app/actions/qmask-actions.c: removed "qmask-active" action.
      
      	* menus/qmask-menu.xml: use "qmask-toggle" instead.
      1763b769
    • Michael Natterer's avatar
      skip actions if their name starts with '<' (menu actions created by · f731cb66
      Michael Natterer authored
      2005-09-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpactionview.c (gimp_action_view_new): skip
      	actions if their name starts with '<' (menu actions created by
      	plug-ins have names like "<Image>/Foo/Bar"). Scroll the
      	pre-selected action to the center of the view, not to the top.
      
      	* app/widgets/gimpcontrollereditor.c
      	(gimp_controller_editor_edit_clicked): make the action editor
      	transient to the controller editor. Show the edited event's name
      	in the controller editor's header.
      
      	* app/widgets/gimpcontrollerwheel.c: use gimp_get_mod_string()
      	instead of hardcoding the modifiers in tons of translatable
      	strings. Don't call gettext() in GimpController::get_blurb(),
      	the strings are already translated.
      
      	* app/widgets/gimpcontrollerkeyboard.c: removed call to gettext()
      	here too.
      f731cb66
  9. 16 Sep, 2005 2 commits
    • Sven Neumann's avatar
      set the imagemap tool dialogs transient to the image window. See comments · 8c0c6791
      Sven Neumann authored
      2005-09-16  Sven Neumann  <sven@gimp.org>
      
              * app/tools/gimpimagemaptool.c (gimp_image_map_tool_initialize):
              set the imagemap tool dialogs transient to the image window. See
              comments in bug #316521.
      8c0c6791
    • Michael Natterer's avatar
      mis-named and mis-placed function that sets a widget's tooltip to the · ec5cbbac
      Michael Natterer authored
      2005-09-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpwidgets-utils.[ch] (gimp_widget_set_accel_help):
      	mis-named and mis-placed function that sets a widget's tooltip to
      	the action's tooltip plus the action's keyboard shortcut.
      
      	* app/widgets/gimptoolbox.c: at least the code is not here any
      	more.
      
      	* app/actions/tools-actions.c: use tool_info->help, not ->blurb
      	as the action's tooltip so the above works.
      ec5cbbac
  10. 15 Sep, 2005 1 commit
    • Karine Delvare's avatar
      app/tools/gimpcroptool.c app/tools/gimprectangleoptions.c · 2e0757fd
      Karine Delvare authored
      2005-09-13  Karine Delvare  <kdelvare@nerim.net>
      
        * app/tools/gimpcroptool.c
        * app/tools/gimprectangleoptions.c
        * app/tools/gimprectangletool.c
        * app/tools/gimpnewrectselecttool.c: changed the way we stay inside
        images boundaries so each tool decides whether it does or not.
      2e0757fd
  11. 13 Sep, 2005 9 commits
    • Michael Natterer's avatar
      removed. · 710bc36a
      Michael Natterer authored
      2005-09-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimptoolbox.c (gimp_toolbox_substitute_underscores):
      	removed.
      710bc36a
    • Michael Natterer's avatar
      removed "<>" around modifiers. · a14a3177
      Michael Natterer authored
      2005-09-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpwidgets-utils.c (gimp_get_mod_name_*): removed
      	"<>" around modifiers.
      
      	* app/tools/gimpbucketfilloptions.c
      	* app/tools/gimpcolorpickeroptions.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcropoptions.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpflipoptions.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimpmagnifyoptions.c
      	* app/tools/gimpmoveoptions.c
      	* app/tools/gimpselectionoptions.c
      	* app/tools/gimptransformoptions.c
      	* app/widgets/gimpeditor.c
      	* app/widgets/gimpthumbbox.c: added "()" around the whole modifier
      	string where appropriate.
      
      	* app/widgets/gimptoolbox.c (gimp_toolbox_button_accel_changed):
      	use gimp_get_mod_string() instead of homebrewn variant of the same
      	code.
      
      	* app/widgets/gimpcontrollerkeyboard.c: replaced tons of static
      	translatable strings containing modifiers by generated ones using
      	gimp_get_mod_string() (traded for some more memory consumption).
      a14a3177
    • Michael Natterer's avatar
      don't make "Detach Tab" insensitive if there are other dockbooks in the · 6017accc
      Michael Natterer authored
      2005-09-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/dockable-actions.c (dockable_actions_update): don't
      	make "Detach Tab" insensitive if there are other dockbooks in the
      	dock.
      
      	* app/widgets/gimpdock.[ch]
      	* app/widgets/gimpdockseparator.[ch]: cleanup.
      6017accc
    • Karine Delvare's avatar
      don't modify the rectangle while moving, and stick to edges when going out · 9c3bc6f6
      Karine Delvare authored
      2005-09-13  Karine Delvare  <kdelvare@nerim.net>
      
        * app/tools/gimprectangletool.c: don't modify the rectangle while
        moving, and stick to edges when going out of image boundaries.
      9c3bc6f6
    • Sven Neumann's avatar
      use "Undo History" instead of "Undo Editor" in user-visible string. · f3d9a51e
      Sven Neumann authored
      2005-09-13  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/edit-actions.c: use "Undo History" instead of "Undo
      	Editor" in user-visible string. Removed wrongly used ellipsis.
      
      	* app/dialogs/offset-dialog.c: added translator comment.
      
      	* app/dialogs/quit-dialog.c: string change.
      f3d9a51e
    • Sven Neumann's avatar
      use ngettext for plural forms. · f114cd8b
      Sven Neumann authored
      2005-09-13  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-close.c (gimp_time_since): use
      	ngettext for plural forms.
      f114cd8b
    • Sven Neumann's avatar
      ignore transparent pixels as suggested in bug #316212. · aa5665a9
      Sven Neumann authored
      2005-09-13  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimppalette-import.c (gimp_palette_import_from_image):
      	ignore transparent pixels as suggested in bug #316212.
      aa5665a9
    • Sven Neumann's avatar
      reorder options as suggested in bug #316150. · 7e090ef3
      Sven Neumann authored
      2005-09-13  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpbucketfilloptions.c: reorder options as suggested
      	in bug #316150.
      7e090ef3
    • Sven Neumann's avatar
      use ngettext for plural form. · 83285f82
      Sven Neumann authored
      2005-09-13  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-title.c
      	(gimp_display_shell_format_title): use ngettext for plural form.
      
      	* app/dialogs/user-install-dialog.c: string fix (bug #316148).
      83285f82
  12. 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
  13. 11 Sep, 2005 1 commit