1. 18 Apr, 2004 6 commits
    • Sven Neumann's avatar
      avoid unnecessary casts. · e2709b97
      Sven Neumann authored
      2004-04-19  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpenumstore.[ch]: avoid unnecessary casts.
      
      	* app/widgets/gimpenumcombobox.[ch]: added an API that inserts a
      	GtkTreeModelFilter to make items invisible. This is a kludge to
      	workaround bug #135875.
      
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimplevelstool.c
      	* app/widgets/gimphistogrameditor.c: use the new function to hide
      	histogram channels that are not available with the current
      	drawable.
      e2709b97
    • Henrik Brix Andersen's avatar
      use g_signal_connect_object() instead of g_signal_connect(). Fixes bug · da2115ba
      Henrik Brix Andersen authored
      2004-04-18 Henrik Brix Andersen <brix@gimp.org>
      
      * app/widgets/gimptemplateeditor.c
      (gimp_template_editor_constructor): use g_signal_connect_object()
      instead of g_signal_connect(). Fixes bug #140315.
      da2115ba
    • Pedro Gimeno's avatar
      Oops, fixed my fix. · 43452255
      Pedro Gimeno authored
      2004-04-18  Pedro Gimeno  <pggimeno@wanadoo.es>
      
      	* plug-ins/common/gauss_rle.c (gauss_rle): Oops, fixed my fix.
      43452255
    • Pedro Gimeno's avatar
      Change tabs to spaces all over the file, in preparation for other changes. · 9f750f94
      Pedro Gimeno authored
      2004-04-18  Pedro Gimeno  <pggimeno@wanadoo.es>
      
      	* plug-ins/common/gauss_iir.c: Change tabs to spaces all over the
      	file, in preparation for other changes. Minor cleanup.
      
      	* plug-ins/common/gauss_rle.c (gauss_rle): Plug a leak with the
      	returned value from make_curve().
      
      	* plug-ins/common/tga.c (load_image): Fix a condition which was
      	preventing GRAYA images from loading.
      9f750f94
    • Sven Neumann's avatar
      app/widgets/Makefile.am app/widgets/widgets-types.h removed GimpEnumMenu. · 89cf4554
      Sven Neumann authored
      2004-04-18  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpenummenu.[ch]: removed GimpEnumMenu.
      
      	* app/widgets/gimpenumwidgets.[ch]: moved widget constructors that
      	don't use GimpEnumMenu from gimpenummenu.[ch] to these new files.
      
      	* app/widgets/gimpenumcombobox.[ch]: added a GtkComboBox widget
      	using GimpEnumStore; replaces GimpEnumMenu.
      
      	* app/widgets/gimpenumstore.[ch]: added new function
      	gimp_enum_store_lookup_by_value().
      
      	* app/widgets/gimppropwidgets.[ch]: replaced
      	gimp_prop_enum_option_menu_new() with gimp_prop_enum_combo_box_new().
      
      	* app/gui/brush-select.[ch]
      	* app/gui/convert-dialog.c
      	* app/gui/layers-commands.c
      	* app/gui/preferences-dialog.c
      	* app/gui/resize-dialog.c
      	* app/tools/gimpblendoptions.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimppaintoptions-gui.c
      	* app/tools/gimpselectionoptions.c
      	* app/tools/gimptransformoptions.c
      	* app/widgets/gimpcolorframe.c
      	* app/widgets/gimpeditor.c
      	* app/widgets/gimpgrideditor.c
      	* app/widgets/gimphistogrameditor.c
      	* app/widgets/gimpstrokeeditor.c
      	* app/widgets/gimptemplateeditor.c
      	* app/widgets/gimptexteditor.c: ported to GimpEnumComboBox.
      89cf4554
    • Sven Neumann's avatar
      app/widgets/Makefile.am app/widgets/widgets-types.h added (yet unused) · f9135400
      Sven Neumann authored
      2004-04-18  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpenumstore.[ch]: added (yet unused) GimpEnumStore,
      	a GtkListStore for enum values.
      f9135400
  2. 17 Apr, 2004 7 commits
  3. 16 Apr, 2004 11 commits
  4. 15 Apr, 2004 16 commits
    • Tor Lillqvist's avatar
      app/plug-in/plug-in-message.c (plug_in_handle_proc_install) · 2e103fa8
      Tor Lillqvist authored
      2004-04-15  Tor Lillqvist  <tml@iki.fi>
      
      	* app/plug-in/plug-in-message.c (plug_in_handle_proc_install)
      	* app/plug-in/plug-in-proc.h (struct _PlugInProcDef)
      	* app/plug-in/plug-in-rc.c (plug_in_rc_write)
      	* app/plug-in/plug-ins.c (plug_ins_init): Make PDB procedures
      	(including their menu entries) installed during a plug-ins init()
      	phase show up. Add a flag to PlugInProcDef that tells whether the
      	proc was installed during the init() phase. Such procs aren't
      	saved to the pluginrc. Move the code that initializes plug-ins
      	that need initialization earlier, before the procs are added to
      	the PDB and menus are built. Fixes bug #139969.
      2e103fa8
    • Sven Neumann's avatar
      plug-ins/common/Makefile.am plug-ins/common/plugin-defs.pl removed the · db407228
      Sven Neumann authored
      2004-04-16  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/plugin-defs.pl
      	* plug-ins/common/AlienMap.c: removed the AlienMap plug-in since
      	AlienMap2 duplicates its functionality.
      
      	* plug-ins/common/AlienMap2.c: applied patch from William Skaggs
      	with a couple of user interface improvements (bug #140079).
      db407228
    • Tor Lillqvist's avatar
      For Win32, install gimpthumb.def, like the .def files of the other · 6a4c2b14
      Tor Lillqvist authored
      2004-04-15  Tor Lillqvist  <tml@iki.fi>
      
      	* libgimpthumb/Makefile.am: For Win32, install gimpthumb.def, like
      	the .def files of the other libgimp* libs.
      
      	* app/Makefile.am (INCLUDES): Add PANGOFT2_CFLAGS.
      
      	* gimp-zip.in: Put also libgimpthumb in the developer package.
      6a4c2b14
    • Adam Weinberger's avatar
      Updated Canadian English translation. · c9f2d240
      Adam Weinberger authored
      
      	* po/en_CA.po:
      	* po-libgimp/en_CA.po:
      	* po-plug-ins/en_CA.po:
      	* po/script-fu/en_CA.po:
      	* tips/en_CA.po:
      	  Updated Canadian English translation.
      c9f2d240
    • Sven Neumann's avatar
      fixed gtk+ includes, added a warning that deprecated widgets are being · 40e85cd9
      Sven Neumann authored
      2004-04-15  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/winicon/icodialog.c: fixed gtk+ includes, added a
      	warning that deprecated widgets are being used.
      40e85cd9
    • Sven Neumann's avatar
      configure.in plug-ins/Makefile.am plug-ins/winicon/Makefile.am · 48bf8838
      Sven Neumann authored
      2004-04-15  Sven Neumann  <sven@gimp.org>
      
      	* configure.in
      	* plug-ins/Makefile.am
      	* plug-ins/winicon/Makefile.am
      	* plug-ins/winicon/icodialog.[ch]
      	* plug-ins/winicon/icoload.[ch]
      	* plug-ins/winicon/icosave.[ch]
      	* plug-ins/winicon/main.[ch]: added plug-in to load and save
      	Windows icon files. Plug-in written by Christian Kreibich, port to
      	GIMP-2.0 API by Gregor Riepl, massive code cleanup by me. Fixes
      	bug #139160.
      48bf8838
    • Michael Natterer's avatar
      use the new dynamic GtkTargetList based API for changing the widget's drag · 957190d7
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdnd.c (gimp_dnd_data_source_add)
      	(gimp_dnd_data_source_remove): use the new dynamic GtkTargetList
      	based API for changing the widget's drag source types.
      
      	* app/widgets/gimpdocumentview.c (gimp_document_view_new): simply
      	call gimp_dnd_file_source_add() instead of duplicating the whole
      	GtkTargetEntry array insanity just for adding one source type.
      957190d7
    • Michael Natterer's avatar
      plug-ins/FractalExplorer/Dialogs.c plug-ins/flame/flame.c first plug-ins · d5cf690a
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/flame/flame.c
      	* plug-ins/gfig/gfig.c: first plug-ins ported to GtkFileChooser.
      d5cf690a
    • Michael Natterer's avatar
      app/display/gimpdisplayshell-callbacks.c app/display/gimpdisplayshell.c · 25589863
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell.c
      	* app/widgets/gimpcontainertreeview.c: removed runtime version
      	checks and workarounds for bugs which are fixed in GTK+ 2.4.
      
      	* app/widgets/gimpfiledialog.c
      	(gimp_file_dialog_selection_changed): added runtime check for GTK+
      	2.4.1 and work around GtkFileChooser's missing "update_preview"
      	functionality for multiple selections if the dependency is not
      	met.
      
      	* app/widgets/gimpwidgets-utils.c (gimp_menu_position)
      	(gimp_menu_button_position): call gtk_menu_set_monitor() until
      	bug #139187 is fixed.
      25589863
    • Michael Natterer's avatar
      derive it from GtkFileChooser instead of GtkFileSelection. · 2f2301c9
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpfiledialog.[ch]: derive it from GtkFileChooser
      	instead of GtkFileSelection.
      
      	* app/gui/file-dialog-utils.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/widgets/gimpthumbbox.c: changed accordingly.
      
      	* app/gui/gradients-commands.c
      	* app/gui/vectors-commands.c
      	* app/tools/gimpimagemaptool.c
      	* app/widgets/gimperrorconsole.c
      	* app/widgets/gimptexteditor.c
      	* libgimpwidgets/gimpfileentry.c: use file choosers instead of
      	file selectors.
      2f2301c9
    • Michael Natterer's avatar
      depend on glib 2.4.0, gtk+ 2.4.0, pangoft2 1.4.0 · de8c6a51
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: depend on glib 2.4.0, gtk+ 2.4.0, pangoft2 1.4.0
      
      	* app/sanity.c: changed accordingly.
      de8c6a51
    • Sven Neumann's avatar
      app/tools/gimpcropoptions.[ch] applied a patch from Jordi Gay that allows · 7849638d
      Sven Neumann authored
      2004-04-15  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpcropoptions.[ch]
      	* app/tools/gimpcroptool.[ch]: applied a patch from Jordi Gay that
      	allows to keep the aspect ratio fixed.
      7849638d
    • Michael Natterer's avatar
      set translate_desc to "Move Layer Mask". · a30db14b
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimplayermask.c (gimp_layer_mask_class_init): set
      	translate_desc to "Move Layer Mask".
      
      	* app/tools/gimpeditselectiontool.c: take the undo desc
      	from the moved item's class instead of duplicating all
      	strings here.
      a30db14b
    • Sven Neumann's avatar
      app/core/gimppalette-import.[ch] added palette import from RIFF palette · 7e84dd95
      Sven Neumann authored
      2004-04-15  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimppalette-import.[ch]
      	* app/gui/palette-import-dialog.c: added palette import from RIFF
      	palette files based on a patch from ÉRDI Gergõ (bug #129788).
      7e84dd95
    • Michael Natterer's avatar
      forgot to add context parameters to this non-generated PDB invokers. Fixes · ace84881
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/xcf/xcf.c (xcf_save_invoker) (xcf_load_invoker): forgot
      	to add context parameters to this non-generated PDB invokers.
      	Fixes XCF loading/saving.
      ace84881
    • Michael Natterer's avatar
      added "const gchar *stroke_desc" to the GimpItemClass struct and always · f41e1ff5
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpitem.[ch]: added "const gchar *stroke_desc" to
      	the GimpItemClass struct and always push an undo group
      	around GimpItem::stroke().
      
      	* app/core/gimpchannel.c
      	* app/core/gimpselection.c
      	* app/vectors/gimpvectors.c: set the stroke_desc accordingly
      	and don't push undo groups.
      
      	* app/text/gimptextlayer.c (gimp_text_layer_class_init): set
      	all of GimpItemClass' undo_descs.
      
      	* app/text/gimptextlayer-transform.c: don't push undo groups here.
      f41e1ff5