Commit Graph

8475 Commits

Author SHA1 Message Date
Christian Rose da8e06a84d Added "yi" to ALL_LINGUAS. Added Yiddish translation by Raphael Finkel
2003-03-26  Christian Rose  <menthos@menthos.com>

	* configure.in: Added "yi" to ALL_LINGUAS.
	* po/yi.po: Added Yiddish translation by
	Raphael Finkel <raphael@cs.uky.edu>.
2003-03-26 19:04:55 +00:00
Manish Singh 93d0409ed5 fixed status return to succeed sometimes. Honor max_p in non-interactive
2003-03-26  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/max_rgb.c: fixed status return to succeed sometimes.
        Honor max_p in non-interactive mode too.
2003-03-26 17:53:12 +00:00
Michael Natterer bda4188ab1 added gimp_container_view_construct(). The new function calls
2003-03-26  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainerview.[ch]: added
	gimp_container_view_construct(). The new function calls
	gimp_container_view_set_preview_size() instead of simply assigning
	view->preview_size (Fixes wrongly-sized toggle cells spotted by
	Jimmac).

	* app/widgets/gimpcontainereditor.c
	* app/widgets/gimpcontainergridview.c
	* app/widgets/gimpcontainertreeview.c
	* app/widgets/gimpitemtreeview.c: call when creating a view.

	* app/widgets/gimpchanneltreeview.c: check view->component_editor
	for being non-NULL before accessing it.
2003-03-26 17:49:42 +00:00
Sven Neumann ba8060a839 include X11/Xmu/WinUtil.h after including the GTK+/GDK headers.
2003-03-26  Sven Neumann  <sven@gimp.org>

        * tools/gimp-remote.c: include X11/Xmu/WinUtil.h after including
        the GTK+/GDK headers.
2003-03-26 15:38:36 +00:00
Sven Neumann 1eb9cc26f8 implemented GtkWidget::focus. Makes grid views keyboard-navigatable and
2003-03-26  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontainergridview.c: implemented GtkWidget::focus.
	Makes grid views keyboard-navigatable and fixes bug #95120.
2003-03-26 15:28:17 +00:00
Michael Natterer af37e71b80 added the scrolled_win to the GimpContainerView struct. Create it in
2003-03-26  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainerview.[ch]: added the scrolled_win
	to the GimpContainerView struct. Create it in init().
	Added gimp_container_view_set_size_request() which adds the
	scrolled_window's scrollbar and frames sizes correctly.

	* app/widgets/gimpcontainergridview.[ch]
	* app/widgets/gimpcontainertreeview.[ch]: removed scrolled windows
	here and use the one from the parent_instance. Use the new utility
	function.

	* app/widgets/gimpcontainertreeview.c: enable searching in the
	name column. Grab the focus in button_press.

	* app/widgets/gimpcontainerpopup.[ch]: added a button_box containing
	zoom in/out, view as list/grid and a button to show the permanently
	open dialog. Added more parameters to gimp_container_popup_new().

	* app/tools/gimpblendoptions.c
	* app/tools/gimpbucketfilloptions.c
	* app/tools/gimptextoptions.c
	* app/tools/paint_options.c: changed accordingly.
2003-03-26 14:56:10 +00:00
Sven Neumann 1e92b66b5b freeze object notifications around reset() and deserialize() 2003-03-26 13:39:00 +00:00
Sven Neumann 05e390692b reset the tool-options before loading the user settings. Don't warn if
2003-03-26  Sven Neumann  <sven@gimp.org>

	* app/gui/tool-options-dialog.c (tool_options_dialog_restore_callback):
	reset the tool-options before loading the user settings. Don't warn if
	loading fails.
2003-03-26 13:24:40 +00:00
Sven Neumann 42a215195d fixed braino that caused the wrong family to be selected.
2003-03-26  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpfontselection-dialog.c
	(gimp_font_selection_dialog_set_font_desc): fixed braino that
	caused the wrong family to be selected.
2003-03-26 11:58:09 +00:00
Sven Neumann 0ca5b099e5 connect the preview on the context's font object with the font property of
2003-03-26  Sven Neumann  <sven@gimp.org>

	* app/tools/gimptextoptions.c: connect the preview on the
	context's font object with the font property of the text object
	associated to the text tool options.
2003-03-26 01:30:05 +00:00
Michael Natterer 7c64198ede added GimpFont DND.
2003-03-26  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdnd.[ch]: added GimpFont DND.
2003-03-26 01:27:23 +00:00
Sven Neumann ac014ecf5a fixed the dialog layout I broke 2003-03-26 00:53:25 +00:00
Michael Natterer f8823f37a5 app/gui/image-menu.c removed cut'n'paste-duplicated accelerators from the
2003-03-26  Michael Natterer  <mitch@gimp.org>

	* app/gui/image-menu.c
	* app/gui/toolbox-menu.c: removed cut'n'paste-duplicated
	accelerators from the new font selection menu entries.
2003-03-26 00:43:30 +00:00
Sven Neumann 10c1e4a7d2 added a gimp_prop_preview on the font property. Doesn't do anything yet
2003-03-26  Sven Neumann  <sven@gimp.org>

	* app/tools/gimptextoptions.c (gimp_text_options_gui): added a
	gimp_prop_preview on the font property. Doesn't do anything yet
	but has a nice popup...
2003-03-26 00:41:26 +00:00
Michael Natterer 75eb793b99 a nicer popup preview featuring five dozen liquor jugs.
2003-03-26  Michael Natterer  <mitch@gimp.org>

	* app/text/gimpfont.c: a nicer popup preview featuring five
	dozen liquor jugs.
2003-03-26 00:30:10 +00:00
Sven Neumann dec7cae03e implemented gimp_font_list_restore().
2003-03-26  Sven Neumann  <sven@gimp.org>

	* app/text/gimpfontlist.c: implemented gimp_font_list_restore().
2003-03-25 23:41:01 +00:00
Sven Neumann 6763591e98 first draft of gimp_font_list_restore().
2003-03-26  Sven Neumann  <sven@gimp.org>

	* app/text/gimpfontlist.c: first draft of gimp_font_list_restore().
2003-03-25 23:24:30 +00:00
Sven Neumann 537e8606c3 sort of works now.
2003-03-26  Sven Neumann  <sven@gimp.org>

	* app/text/gimpfont.c (gimp_font_get_new_preview): sort of works now.
2003-03-25 23:10:50 +00:00
Michael Natterer c2a22d5d52 added gimp_font_list_restore() which loads the fonts (not yet).
2003-03-25  Michael Natterer  <mitch@gimp.org>

	* app/text/gimpfontlist.[ch]: added gimp_font_list_restore()
	which loads the fonts (not yet).

	* app/core/gimp.c: call it.

	* app/gui/dialogs-constructors.[ch]
	* app/gui/dialogs-menu.c
	* app/gui/dialogs.c
	* app/gui/image-menu.c
	* app/gui/toolbox-menu.c: added font list and grid views.

	* app/gui/menus.c: cosmetic.
2003-03-25 22:53:10 +00:00
Sven Neumann b4dc1579e9 made the PangoContext an object property of GimpFont.
2003-03-25  Sven Neumann  <sven@gimp.org>

	* app/text/gimpfont.c: made the PangoContext an object property of
	GimpFont.
2003-03-25 22:48:59 +00:00
Sven Neumann fab72973a2 require gtk+ >= 2.2.
2003-03-25  Sven Neumann  <sven@gimp.org>

	* gimpui-1.3.pc.in: require gtk+ >= 2.2.

	* app/text/gimpfont.[ch]: implemented basic preview functionality.

	* app/text/gimptextlayout.c: changed a comment.
2003-03-25 22:13:10 +00:00
Michael Natterer 47419bbcec added "gchar *default_font". and its blurb.
2003-03-25  Michael Natterer  <mitch@gimp.org>

	* app/config/gimpcoreconfig.[ch]: added "gchar *default_font".
	* app/config/gimprc-blurbs.h: and its blurb.

	* app/core/gimp.[ch]: keep a GimpFontList around.

	* app/core/gimpcontext.[ch]: added a GimpFont and all needed
	fonctions to let it work like brush, pattern etc.

	* app/core/gimpdatalist.c: cosmetic.
2003-03-25 22:06:03 +00:00
Michael Natterer bc9676e462 app/text/Makefile.am app/text/text-types.h new GimpList subclass.
2003-03-25  Michael Natterer  <mitch@gimp.org>

	* app/text/Makefile.am
	* app/text/text-types.h
	* app/text/gimpfontlist.[ch]: new GimpList subclass. Unused...

	* app/text/gimpfont.[ch]: added gimp_font_get_standard().
2003-03-25 22:00:59 +00:00
Michael Natterer 8ed375a4ff added GIMP_CONTEXT_PATTERN_MASK to the context properties which are
2003-03-25  Michael Natterer  <mitch@gimp.org>

	* app/tools/tool_manager.c: added GIMP_CONTEXT_PATTERN_MASK to the
	context properties which are remembered per tool options.

	* app/tools/paint_options.[ch]
	* app/tools/gimpblendoptions.c: attach the brush and gradient
	preview to the GtkTable that holds opacity and paint mode.

	* app/tools/gimpbucketfilloptions.c: added a pattern preview
	and popup.
2003-03-25 21:14:48 +00:00
Michael Natterer f4364f1a1f app/text/Makefile.am app/text/text-types.h new object. Does nothing yet.
2003-03-25  Michael Natterer  <mitch@gimp.org>

	* app/text/Makefile.am
	* app/text/text-types.h
	* app/text/gimpfont.[ch]: new object. Does nothing yet.
2003-03-25 20:29:46 +00:00
Sven Neumann 4a581d82c5 fixed my ChangeLog entry 2003-03-25 19:29:15 +00:00
Pablo Gonzalo del Campo 6c103bf6d8 Updated Spanish translation.
2003-03-25  Pablo Gonzalo del Campo <pablodc@bigfoot.com>

        * es.po: Updated Spanish translation.
2003-03-25 19:26:16 +00:00
Sven Neumann 9967893f89 more gimp-intl.h fixes 2003-03-25 17:52:47 +00:00
Sven Neumann 16f265aa6d libgimptool/Makefile.am include libgimp-intl.h here.
2003-03-25  Sven Neumann  <sven@gimp.org>

	* libgimptool/Makefile.am
	* gimptoolenums.c: include libgimp-intl.h here.
2003-03-25 17:49:34 +00:00
Sven Neumann 208915d468 include locale.h for setlocale().
2003-03-25  Sven Neumann  <sven@gimp.org>

	* app/text/gimptext.c: include locale.h for setlocale().

	* app/base/Makefile.am
	* app/core/Makefile.am
	* app/display/Makefile.am
	* app/widgets/Makefile.am: changed rules that generate enums code
	to include gimp-intl.h instead of libgimp-intl.h.

	* tools/pdbgen/app.pl
	* tools/pdbgen/pdb/*.pdb: include gimp-intl.h.
2003-03-25 17:39:01 +00:00
Sven Neumann 28fddfd554 Makefile.am removed this header file.
2003-03-25  Sven Neumann  <sven@gimp.org>

	* Makefile.am
	* gimpintl.h: removed this header file.

	* gimpmiscui.c: include libgimp-intl.h.

	* gimp.c (gimp_main): call setlocale() and bind to the libgimp
	textdomain so that plug-ins don't need to do that explicitely.

	* libgimp/stdplugins-intl.h: added the functionality that used to
	live in gimpintl.h and removed the libgimp related stuff. Got rid
	of the INIT_I18N_UI() macro.

	* plug-ins/*/*.c: removed all occurances of INIT_I18N_UI().
	Plug-ins simply call INIT_I18N() once in their run() function.

	* plug-ins/script-fu/script-fu-intl.h: added the functionality
	that used to live in gimpintl.h and removed the libgimp related
	stuff.

	* app/Makefile.am
	* app/gimp-intl.h: new file that defines the gettext macros for
	the GIMP core.

	* app/*/*.c: include gimp-intl.h instead of libgimp/gimpintl.h.

	* plug-ins/script-fu/scripts/test-sphere.scm: fixed typos.
2003-03-25 16:38:19 +00:00
Michael Natterer dfd7df9a58 added new functions gimp_image_active_[layer|channel|vectors]_changed()
2003-03-25  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage.[ch]: added new functions
	gimp_image_active_[layer|channel|vectors]_changed() which emit the
	resp. signals.

	* app/core/gimpimage-undo-push.c (undo_pop_layer,channel,vectors):
	fixed them to not leave the image's active layer, channel, vectors
	pointers undefined (fixes bug #109110). Call gimp_item_removed()
	from all of them.

	* app/core/gimpimage-qmask.c: cleanup.
2003-03-25 03:29:11 +00:00
Michael Natterer b7190b2529 cast batch_cmds to (const gchar **) when passing them to batch_init().
2003-03-25  Michael Natterer  <mitch@gimp.org>

	* app/app_procs.c (app_init): cast batch_cmds to (const gchar **)
	when passing them to batch_init().

	* app/widgets/gimpcontainertreeview.c
	(gimp_container_tree_view_button_press): moved the call just added
	inside the if(view->container) because it will fail if selecting
	the item destroyed the widget.
2003-03-25 01:25:39 +00:00
Michael Natterer d7f1b640e0 don't use gimp_context_copy_property() but gimp_context_get_by_type()
2003-03-25  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainerpopup.c
	(gimp_container_popup_real_confirm): don't use
	gimp_context_copy_property() but gimp_context_get_by_type()
	followed by gimp_context_set_by_type() because GimpContext's
	"copy" functions are special and skip the normal parent_context
	logic intentionally (fixes bug #109115).
2003-03-25 01:01:59 +00:00
Sven Neumann 3dd44bf210 configure.in removed traces of gap which was moved to a separate CVS
2003-03-25  Sven Neumann  <sven@gimp.org>

	* configure.in
	* plug-ins/Makefile.am: removed traces of gap which was moved to a
	separate CVS module and bumped the version to 1.3.14.

	* pixmaps/Makefile.am: removed a couple of pixmaps that are not
	used any longer.
2003-03-25 00:25:32 +00:00
Michael Natterer ea8e22bbff need to call gtk_tree_view_column_cell_set_cell_data() again after
2003-03-25  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainertreeview.c
	(gimp_container_tree_view_button_press): need to call
	gtk_tree_view_column_cell_set_cell_data() again after fiddling
	with the GtkTreeView (fixes bug #109121).
2003-03-25 00:18:56 +00:00
Michael Natterer 74887c8676 ignore double clicks on toggle cells (fixes bug #109114).
2003-03-25  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainertreeview.c
	(gimp_container_tree_view_button_press): ignore double clicks on
	toggle cells (fixes bug #109114).
2003-03-24 23:20:02 +00:00
Manish Singh d0e2755a34 moved to gimp-gap 2003-03-24 23:06:19 +00:00
Sven Neumann 7f22c349db added new functions gimp_enum_menu_set_stock_prefix() and
2003-03-24  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpenummenu.[ch]: added new functions
	gimp_enum_menu_set_stock_prefix() and
	gimp_enum_option_menu_set_stock_prefix() that allow to
	conveniently add stock icons to enum menus.

	* app/tools/gimpcurvestool.c
	* app/tools/gimphistogramtool.c
	* app/tools/gimplevelstool.c: use the new functions here.
2003-03-24 18:04:11 +00:00
Michael Natterer d48936b95a don't try to reorder dockables in a dock containing exactly one dockable
2003-03-24  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdock.c (gimp_dock_separator_drag_drop): don't
	try to reorder dockables in a dock containing exactly one dockable
	(fixes bug #109042)
2003-03-24 18:01:52 +00:00
Michael Natterer c40a6f9920 register GimpPaintApplicationMode with the type system.
2003-03-24  Michael Natterer  <mitch@gimp.org>

	* app/paint/paint-enums.[ch]: register GimpPaintApplicationMode
	with the type system.

	* app/paint/gimppaintoptions.[ch]: replaced "gboolean incremental"
	with "GimpPaintApplicationMode application_mode"

	* app/paint/gimpairbrush.c
	* app/paint/gimperaser.c
	* app/paint/gimppaintbrush.c
	* app/paint/gimppencil.c: changed accordingly.

	* tools/pdbgen/pdb/paint_tools.pdb: ditto. Set all paint options
	values using g_object_set().

	* app/widgets/gimppropwidgets.[ch]: added
	gimp_prop_enum_check_button_new() which can represent two
	specified enum values and renders itself "inconsistent" for all
	other values.

	* app/tools/paint_options.c: use it for the "Incremental" toggle.

	* app/pdb/paint_tools_cmds.c
	* tools/pdbgen/enums.pl: regenerated.
2003-03-24 17:58:28 +00:00
Dom Lachowicz 3d8cc9a2a1 improvements on the gimp plugin - allow for non-interactive use, image resolution dialog, and some other goodies 2003-03-24 16:09:12 +00:00
Sven Neumann 706de31960 added some stock icons to the dialog.
2003-03-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/compose.c: added some stock icons to the dialog.
2003-03-24 15:33:48 +00:00
Michael Natterer 248afa55aa use GIMP_STOCK_IMAGE as default_stock_id.
2003-03-24  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage.c: use GIMP_STOCK_IMAGE as default_stock_id.

	* app/widgets/gimppreviewrendererimage.[ch]: use GimpChannelType
	to specify the channel to render and convert it to the pixel index
	using gimp_image_get_component_index() when needed. Use the new
	red, green, blue, gray and alpha icons when layer_previews is
	FALSE.

	* app/widgets/gimpcomponenteditor.c: changed accordingly.
2003-03-24 14:31:59 +00:00
Sven Neumann 51991ecc3a themes/Default/images/Makefile.am new icons by Jimmac.
2003-03-24  Sven Neumann  <sven@gimp.org>

	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-image-[16|24].png: new icons by Jimmac.

	* themes/Default/images/stock-images-16.png: changed by Jimmac to
	make it look different than the new image icon.

	* themes/Default/images/stock-channel-red-[16|24].png
	* themes/Default/images/stock-channel-green-[16|24].png
	* themes/Default/images/stock-channel-blue-[16|24].png
	* themes/Default/images/stock-channel-gray-[16|24].png
	* themes/Default/images/stock-channel-alpha-[16|24].png: new icons
	derived from the generic channel icon.

	* themes/Default/images/stock-channel-[16|24].png: changed the
	color so they look different than the new green channel icon.

	* libgimpwidgets/gimpstock.[ch]: register the new icons.
2003-03-24 13:00:53 +00:00
Michael Natterer d2a1fcd7fb app/core/Makefile.am moved the image preview code to separate files.
2003-03-24  Michael Natterer  <mitch@gimp.org>

	* app/core/Makefile.am
	* app/core/gimpimage-preview.[ch]: moved the image preview code
	to separate files.

	* app/core/gimpimage.c: removed the functions here. Removed the
	new utility function gimp_image_previews_resize() because it
	did exactly what gimp_image_size_changed() should do. Moved
	the missing bits to gimp_image_size_changed().

	* app/core/gimplayer.c (gimp_layer_apply_mask): call
	gimp_viewable_invalidate_preview() only if we don't call
	gimp_drawable_update(). Calling them both is redundant.
2003-03-24 12:21:58 +00:00
Sven Neumann 9e18b43fc4 app/core/gimplayer.c app/gui/image-menu.c there doesn't seem to be a good
2003-03-23  Sven Neumann  <sven@gimp.org>

	* app/core/gimplayer.c
	* app/gui/image-menu.c
	* app/gui/layers-menu.c: there doesn't seem to be a good reason to
	disallow the creation of layer masks on indexed images.
2003-03-23 21:30:09 +00:00
Sven Neumann fe9f715a36 Made 1.3.13 release.
2003-03-23  Sven Neumann  <sven@gimp.org>

        * Made 1.3.13 release.
2003-03-23 16:29:04 +00:00
Michael Natterer e1c14d732c use gimp_image_get_component_index() instead of doing the switch()es
2003-03-23  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpchannel.c (gimp_channel_new_from_component): use
	gimp_image_get_component_index() instead of doing the switch()es
	manually.
2003-03-23 10:28:53 +00:00
Michael Natterer 06a2f8b110 app/core/gimpdrawable-preview.c return square dimensions in
2003-03-22  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable-preview.c
	* app/core/gimpimage.c (get_preview_size): return square
	dimensions in config->layer_previews is FALSE (except if the size
	is requested for a popup).
	(get_popup_size): don't crete popups if config->layer_previews
	is FALSE.

	* app/core/gimpimage.c: added utility function
	gimp_image_previews_resize() and call it on "notify::layer-previews".
	Calls gimp_viewable_size_changed() on all drawables of the image
	and on the image itself. Ensures that drawable/image previews
	toggle their size correctly when toggling layer_previews.

	* app/widgets/gimpselectioneditor.c: create the selection preview
	as a popup so it keeps the image's aspect ratio when
	layer_previews is FALSE.
2003-03-22 22:53:29 +00:00