1. 24 Nov, 2004 1 commit
    • Michael Natterer's avatar
      guarded the whole header with GIMP_ENABLE_CONTROLLER_UNDER_CONSTRUCTION · 6d63d500
      Michael Natterer authored
      2004-11-24  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpcontroller.[ch]: guarded the whole header
      	with GIMP_ENABLE_CONTROLLER_UNDER_CONSTRUCTION because it's no
      	fixed API yet. Added a "state" property bacause "name" was abused
      	as the controller's state. Added "help_domain" to the controller
      	class.
      
      	* libgimpwidgets/gimpwidgets.h: don't include gimpcontroller.h
      
      	* modules/controller_linux_input.c
      	* modules/controller_midi.c: set the "name" property to the name
      	retrieved from the device, or to a default string if no name is
      	available. Store the status in the "state" property. Added and
      	changed some strings, but it's better to have the controller
      	strings untranslated than to have no tooltips at all or misleading
      	labels.
      
      	* app/widgets/gimpcontrollerkeyboard.c
      	* app/widgets/gimpcontrollerwheel.c: set default strings for both.
      
      	* app/widgets/gimpcontrollereditor.c: added a GUI for the "state"
      	property.
      
      	* app/widgets/gimpcontrollerkeyboard.h
      	* app/widgets/gimpcontrollerwheel.h
      	* app/widgets/gimpcontrollerinfo.c
      	* app/widgets/gimpcontrollers.c: #define
      	GIMP_ENABLE_CONTROLLER_UNDER_CONSTRUCTION (just as in all files
      	above).
      
      	* app/widgets/gimphelp-ids.h: added the IDs of all controller
      	modules and also of all other modules. The defines are not
      	actually used, but this file is the canonical place to collect all
      	the core's help IDs.
      6d63d500
  2. 23 Nov, 2004 10 commits
    • Sven Neumann's avatar
      app/core/gimp-templates.[ch] merge the migrated user templaterc with the · 7eed9323
      Sven Neumann authored
      2004-11-23  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimp-templates.[ch]
      	* app/dialogs/user-install-dialog.c: merge the migrated user
      	templaterc with the system templaterc so the users who have used
      	gimp-2.0 before get our changes to the default templates.
      7eed9323
    • Michael Natterer's avatar
      added new function gimp_toggle_button_set_visible() which can be used as · d8a5ca6c
      Michael Natterer authored
      2004-11-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpwidgets-utils.[ch]: added new function
      	gimp_toggle_button_set_visible() which can be used as "toggled"
      	callback on a GtkToggleButton and sets a widget (in)visible
      	according to the toggle's "active" state.
      
      	* app/tools/gimpblendoptions.c
      	* app/tools/gimppaintoptions-gui.c
      	* app/tools/gimpselectionoptions.c: use it to hide (rather than
      	just insensitize) the seldomly used "Feather edges", "Autoshrink
      	selection", "Adaptive supersampling", "Fade out" and "Use color
      	from gradient" widgets when their enabling toggle is unchecked.
      	Makes the affected tool options much less crowded and noisy in
      	their default appearance. Fixes bug #159008.
      d8a5ca6c
    • Michael Natterer's avatar
      create dynamic sub-menus using a separate, ui-manager-global merge_id · 518ab86b
      Michael Natterer authored
      2004-11-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/menus/plug-in-menus.c (plug_in_menus_add_proc): create
      	dynamic sub-menus using a separate, ui-manager-global merge_id
      	instead of the procedure's merge_id. Has the effect that the ui
      	manager keeps around these sub-menus forever, even if the
      	procedure that initially registered them is unregistered.
      	Fixes menu ordering after Script-Fu->Refresh.
      518ab86b
    • Michael Natterer's avatar
      cosmetics, untabified. · bd577006
      Michael Natterer authored
      2004-11-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpparasitelist.c: cosmetics, untabified.
      
      	* libgimpbase/gimpparasiteio.[ch]: added g_return_if_fail()'s
      	to all functions.
      
      	(gimp_pixpipe_params_parse): changed "gchar*" param to "const
      	gchar*" (sortof API change, but these files are most probably only
      	used by GIMP itself). Still uses strtok() on the internal copy,
      	but at least not on the passed string.
      
      	* plug-ins/common/csource.c
      	* plug-ins/common/gif.c
      	* plug-ins/common/gih.c
      	* plug-ins/common/jpeg.c
      	* plug-ins/common/png.c
      	* plug-ins/common/tiff.c: use parasite getters instead of
      	accessing the scruct members directly. Always use g_strndup()
      	instead of just g_strdup() to get strings stored in parasites
      	because there is no guarantee that they are nul-terminated.
      bd577006
    • Sven Neumann's avatar
      do actually use a save dialog here. Fixes bug #159194. · f6288226
      Sven Neumann authored
      2004-11-23  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/imagemap/imap_file.c (do_file_save_as_dialog): do
      	actually use a save dialog here. Fixes bug #159194.
      f6288226
    • Sven Neumann's avatar
      do nothing if the size doesn't change. This keeps text layers from being · f653295e
      Sven Neumann authored
      2004-11-23  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdrawable.c (gimp_drawable_resize): do nothing if
      	the size doesn't change. This keeps text layers from being
      	modified when an image is cropped and the layer is entirely inside
      	the cropped area.
      
      	* menus/image-menu.xml.in: put the Quit item back for now. We
      	should think about this again in the next development cycle.
      f653295e
    • Jan Morén's avatar
      Updated Swedish translation. · cacacb8e
      Jan Morén authored
      2004-11-23  Jan Morén  <jan.moren@lucs.lu.se>
      
              * sv.po: Updated Swedish translation.
      cacacb8e
    • Kevin Cozens's avatar
      Fixed incorrect comparison in if statement. Partial(?) fix for bug · 6f7d0f51
      Kevin Cozens authored
      2004-11-21  Kevin Cozens  <kcozens@cvs.gimp.org>
      
      	* plug-ins/script-fu/scripts/copy-visible.scm: Fixed incorrect
      	comparison in if statement. Partial(?) fix for bug #138662.
      6f7d0f51
    • Kevin Cozens's avatar
      Updated all scripts to use script-fu-menu-register and pass just the menu · d4120fe1
      Kevin Cozens authored
      2004-11-22  Kevin Cozens  <kcozens@cvs.gimp.org>
      
      	* scripts/*.sct: Updated all scripts to use script-fu-menu-register
      	and pass just the menu label in script-fu-register.
      
      	Updates based on changes made by Michael Natterer to Script-Fu.
      
      	* tiny-fu/tiny-fu-scripts.c: Pass untranslated menu_paths to the
      	core, not translated ones. Don't store the scripts directly in the
      	"script_list" tree but use a list of scripts per key because there
      	can be identical keys for different scripts now. Renamed variable
      	"script_list" to "script_tree" because it's a GTree. Sort the SFMenu
      	structs by their menu_paths *and* the procedure's menu_labels. Fixes
      	menu item sorting after "Refresh".
      d4120fe1
    • Manish Singh's avatar
      plug-ins/pygimp/Makefile.am New pygimp logo, by Carol Spears. · e995d8d6
      Manish Singh authored
      2004-11-22  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/pygimp/Makefile.am
              * plug-ins/pygimp/pygimp-logo.png: New pygimp logo, by Carol Spears.
      
              * plug-ins/pygimp/gimpfu.py: Use new external logo file, some layout
              tweaks.
      e995d8d6
  3. 22 Nov, 2004 11 commits
  4. 21 Nov, 2004 17 commits
  5. 20 Nov, 2004 1 commit