Commit Graph

10581 Commits

Author SHA1 Message Date
Sven Neumann 3594f3f572 minor string change
svn path=/trunk/; revision=26081
2008-07-07 13:54:07 +00:00
Sven Neumann d325324f69 command button labels should be capitalized in header style.
2008-07-07  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimphelp.c (gimp_help_query_user_manual_online):
	command button labels should be capitalized in header style.

svn path=/trunk/; revision=26080
2008-07-07 13:53:25 +00:00
Sven Neumann 3e77dc07f1 declared test functions as static.
2008-07-07  Sven Neumann  <sven@gimp.org>

	* app/composite/gimp-composite-*test.c: declared test functions as
	static.

svn path=/trunk/; revision=26078
2008-07-07 08:30:07 +00:00
Sven Neumann b8a0f6b0e9 use GIMP_LOG() for debug output.
2008-07-07  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimphelp.c: use GIMP_LOG() for debug output.


svn path=/trunk/; revision=26077
2008-07-07 06:51:20 +00:00
Sven Neumann 91f0b1df46 if the user asks for help and the user manual is not locally installed,
2008-07-06  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimphelp.c: if the user asks for help and the user
	manual is not locally installed, show a dialog that allows to
	change the preferences so that the online version is used.


svn path=/trunk/; revision=26074
2008-07-06 17:47:24 +00:00
Martin Nordholts 3a879e7bdf Renamed the variales sx and sy to sw and sh.
2008-07-05  Martin Nordholts  <martinn@svn.gnome.org>

	* app/display/gimpdisplayshell-scroll.c
	(gimp_display_shell_scroll_clamp_offsets): Renamed the variales sx
	and sy to sw and sh.

svn path=/trunk/; revision=26070
2008-07-05 15:43:39 +00:00
Sven Neumann 1e04306e45 always return TRUE if GIMP2_HELP_URI environment variable is set.
2008-07-05  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimphelp.c (gimp_help_user_manual_is_installed):
	always return TRUE if GIMP2_HELP_URI environment variable is 
set.


svn path=/trunk/; revision=26069
2008-07-05 12:11:35 +00:00
Sven Neumann e1e037ba61 removed debug output
svn path=/trunk/; revision=26068
2008-07-05 12:05:07 +00:00
Sven Neumann dafeb12c57 app/dialogs/preferences-dialog.c improved test for user manual
2008-07-05  Sven Neumann  <sven@gimp.org>

	* app/dialogs/preferences-dialog.c
	* app/widgets/gimphelp.[ch]: improved test for user manual
	installation and moved the code out of the prefs dialog.


svn path=/trunk/; revision=26067
2008-07-05 12:01:00 +00:00
Martin Nordholts ac19e7deb8 Simplify math.
2008-07-05  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangletool.c: 
	* app/tools/gimpeditselectiontool.c: Simplify math.

svn path=/trunk/; revision=26066
2008-07-05 11:01:20 +00:00
Martin Nordholts 995a944ca8 Mark the center of rectangles/bounding rectangles so that it is easier to
2008-07-05  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangletool.c:
	* app/tools/gimpeditselectiontool.c: Mark the center of
	rectangles/bounding rectangles so that it is easier to predict and
	see where snapping occurs. Completes the fix for bug #527659.

svn path=/trunk/; revision=26065
2008-07-05 09:47:39 +00:00
Martin Nordholts 161c5e9131 Don't expose the icky implementation details.
2008-07-05  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimpeditselectiontool.[ch]: Don't expose the icky
	implementation details.

svn path=/trunk/; revision=26064
2008-07-05 08:51:03 +00:00
Sven Neumann cb8bb6d543 changed strings, increased the icon size
svn path=/trunk/; revision=26061
2008-07-04 21:57:16 +00:00
Sven Neumann d2d12997b2 minor cleanups to my last commit
svn path=/trunk/; revision=26060
2008-07-04 21:49:17 +00:00
Sven Neumann 9a253efe4a added a function to get the location where the user manual is expected if
2008-07-04  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimphelp.[ch]: added a function to get the 
location
	where the user manual is expected if it is installed locally.

	* app/dialogs/preferences-dialog.c: inform the user about the
	presence or absence of the user manual.


svn path=/trunk/; revision=26058
2008-07-04 18:41:58 +00:00
Sven Neumann adfc3bd6f7 changed default grid to a 10x10 grid of solid lines (bug #539318).
2008-07-04  Sven Neumann  <sven@gimp.org>

	* app/core/gimpgrid.c: changed default grid to a 10x10 grid of
	solid lines (bug #539318).


svn path=/trunk/; revision=26055
2008-07-04 06:52:40 +00:00
Sven Neumann b5cd9ab460 changed blurb for "dialog-tips".
2008-07-03  Sven Neumann  <sven@gimp.org>

	* app/actions/dialogs-actions.c (dialogs_toplevel_actions):
	changed blurb for "dialog-tips".

svn path=/trunk/; revision=26050
2008-07-03 12:31:43 +00:00
Sven Neumann c3cc7367f4 don't use Escape to quit full-screen mode, it collides with tools using
2008-07-03  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_events): don't use Escape to quit full-screen
	mode, it collides with tools using the Escape key (bug #539949).

svn path=/trunk/; revision=26049
2008-07-03 11:59:56 +00:00
Sven Neumann d462e042ea app/widgets/gimpsettingsbox.c (gimp_settings_box_constructor) removed
2008-07-03  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpsettingsbox.c (gimp_settings_box_constructor)
	* app/widgets/gimpsettingseditor.c (gimp_settings_editor_constructor):
	removed trailing period from tooltip texts.

	* app/config/gimprc-blurbs.h: don't mark USER_MANUAL_ONLINE_BLURB
	for translation, it is not used in the user interface.

svn path=/trunk/; revision=26042
2008-07-03 10:17:19 +00:00
Michael Natterer 2bac105982 don't call gtk_adjustment_get_value() on a gint.
2008-06-30  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimphistogrambox.c
	(gimp_histogram_box_high_adj_update): don't call
	gtk_adjustment_get_value() on a gint.


svn path=/trunk/; revision=26023
2008-06-30 17:36:21 +00:00
Michael Natterer 7bef7c779f restore code that sets the dialog back to sensitive when opening fails
2008-06-30  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/file-open-dialog.c (file_open_dialog_response):
	restore code that sets the dialog back to sensitive when opening
	fails because it stays open. Fixes bug #540801.


svn path=/trunk/; revision=26022
2008-06-30 09:03:31 +00:00
Michael Natterer 341cec52dc remove size group code because the size group doesn't exist if there is no
2008-06-29  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpgegltool.c (gimp_gegl_tool_dialog): remove size
	group code because the size group doesn't exist if there is no
	settings box.


svn path=/trunk/; revision=26020
2008-06-29 13:54:01 +00:00
Michael Natterer 6aa62a907b app/dialogs/channel-options-dialog.c app/dialogs/palette-import-dialog.c
2008-06-29  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/channel-options-dialog.c
	* app/dialogs/palette-import-dialog.c
	* app/display/gimpdisplayshell-callbacks.c
	* app/display/gimpnavigationeditor.c
	* app/tools/gimpbrightnesscontrasttool.c
	* app/tools/gimpcolorbalancetool.c
	* app/tools/gimpcolorizetool.c
	* app/tools/gimphuesaturationtool.c
	* app/tools/gimplevelstool.c
	* app/tools/gimpposterizetool.c
	* app/widgets/gimpbrusheditor.c
	* app/widgets/gimpbrushfactoryview.c
	* app/widgets/gimpbrushselect.c
	* app/widgets/gimpcolormapeditor.c
	* app/widgets/gimpcontainertreeview-dnd.c
	* app/widgets/gimpgradienteditor.c
	* app/widgets/gimphistogrambox.c
	* app/widgets/gimppaletteeditor.c
	* app/widgets/gimpscalebutton.c: replace adjustment->value by
	gtk_adjustment_get_value (adjustment).


svn path=/trunk/; revision=26019
2008-06-29 13:41:24 +00:00
Michael Natterer 27b54c0fb6 add widget parameter so we can get the right icon theme for the screen. If
2008-06-28  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpviewrendererimagefile.c
	(gimp_view_renderer_imagefile_get_icon): add widget parameter so
	we can get the right icon theme for the screen. If building
	against GTK+ >= 2.13.4, use GFile to get proper file type icons.

	(gimp_view_renderer_imagefile_render): pass the widget.

	(get_icon_fallback): remove this unused function.


svn path=/trunk/; revision=26015
2008-06-28 20:44:57 +00:00
Martin Nordholts b8aa39d01c Remove uses of GSEAL macro to make the thing compile on systems without
2008-06-28  Martin Nordholts  <martinn@svn.gnome.org>

	* app/widgets/gtkscalebutton.h: Remove uses of GSEAL macro to make
	the thing compile on systems without bleeding edge GTK+.

svn path=/trunk/; revision=26014
2008-06-28 19:30:45 +00:00
Michael Natterer 07197c4880 This is completely evil:
2008-06-28  Michael Natterer  <mitch@gimp.org>

	This is completely evil:

	* app/widgets/Makefile.am
	* app/widgets/gimpscalebutton.[ch]: copy GtkScaleButton from GTK+
	upstream trunk and hack around until symbol conflicts are gone
	and it builds.

	* app/widgets/gimppropwidgets.c
	* app/widgets/gtkscalebutton.[ch]: use the hacked version instead
	of the one from GTK+. Set the orientation to horizontal.


svn path=/trunk/; revision=26013
2008-06-28 19:01:25 +00:00
Michael Natterer 5e5448c16a add new function gimp_container_tree_view_connect_name_edited() which
2008-06-28  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainertreeview.[ch]: add new function
	gimp_container_tree_view_connect_name_edited() which makes the
	name cell editable and connects a passed "edited" callback.

	* app/widgets/gimpdatafactoryview.c
	* app/widgets/gimpitemtreeview.c
	* app/widgets/gimpsettingseditor.c
	* app/widgets/gimptemplateview.c: use it instead of having the
	same code four times.


svn path=/trunk/; revision=26009
2008-06-28 16:05:05 +00:00
Michael Natterer f53ed53cdb app/widgets/gimpactionview.c app/widgets/gimpblobeditor.c
2008-06-28  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpactionview.c
	* app/widgets/gimpblobeditor.c
	* app/widgets/gimpbrushfactoryview.c
	* app/widgets/gimpbrushselect.c
	* app/widgets/gimpcellrendererdashes.c
	* app/widgets/gimpcellrendererviewable.c
	* app/widgets/gimpcolorbar.c
	* app/widgets/gimpcoloreditor.c
	* app/widgets/gimpcolorframe.c
	* app/widgets/gimpcomponenteditor.c
	* app/widgets/gimpcontainerbox.c
	* app/widgets/gimpcontainergridview.c
	* app/widgets/gimpcontainerpopup.c
	* app/widgets/gimpcontainertreeview.c
	* app/widgets/gimpcurveview.c
	* app/widgets/gimpdasheditor.c
	* app/widgets/gimpdatafactoryview.c
	* app/widgets/gimpdock.c
	* app/widgets/gimpdockable.c
	* app/widgets/gimpdockseparator.c
	* app/widgets/gimpfgbgeditor.c
	* app/widgets/gimpfgbgview.c
	* app/widgets/gimpgradienteditor.c
	* app/widgets/gimphandlebar.c
	* app/widgets/gimphistogrambox.c
	* app/widgets/gimphistogramview.c
	* app/widgets/gimpitemtreeview.c
	* app/widgets/gimpmenudock.c
	* app/widgets/gimpmessagebox.c
	* app/widgets/gimppaletteview.c
	* app/widgets/gimpscalebutton.c
	* app/widgets/gimpsessioninfo-book.c
	* app/widgets/gimpsessioninfo-dock.c
	* app/widgets/gimpsettingseditor.c
	* app/widgets/gimpstrokeeditor.c
	* app/widgets/gimptemplateeditor.c
	* app/widgets/gimptemplateview.c
	* app/widgets/gimpthumbbox.c
	* app/widgets/gimptoolbox.c
	* app/widgets/gimptooloptionseditor.c
	* app/widgets/gimptoolview.c
	* app/widgets/gimpuimanager.c
	* app/widgets/gimpviewabledialog.c
	* app/widgets/gimpviewrenderervectors.c
	* app/widgets/gimpwidgets-utils.c: use accessors instead of
	accessing members of GTK+ widgets directly.


svn path=/trunk/; revision=26008
2008-06-28 15:50:27 +00:00
Michael Natterer 8c66ea4b19 app/actions/layers-commands.c app/actions/view-actions.c
2008-06-28  Michael Natterer  <mitch@gimp.org>

	* app/actions/layers-commands.c
	* app/actions/view-actions.c
	* app/dialogs/about-dialog.c
	* app/dialogs/layer-options-dialog.c
	* app/dialogs/preferences-dialog.c
	* app/display/gimpcanvas.c
	* app/display/gimpdisplayshell-appearance.c
	* app/display/gimpnavigationeditor.c
	* modules/colorsel_water.c: use accessors instead of accessing
	members of GTK+ widgets directly.


svn path=/trunk/; revision=26006
2008-06-28 15:12:13 +00:00
Michael Natterer 29754a4cff include "libgimpbase/gimpbase.h" instead of "libgimpbase/gimpenv.h".
2008-06-28  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimplanguagestore-parser.c: include
	"libgimpbase/gimpbase.h" instead of "libgimpbase/gimpenv.h".


svn path=/trunk/; revision=26004
2008-06-28 13:55:24 +00:00
Michael Natterer 4329802e1c eek, include "gimpuimanager.h" not "gimpuimanager.c".
2008-06-28  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdbusservice.c: eek, include "gimpuimanager.h"
	not "gimpuimanager.c".


svn path=/trunk/; revision=26003
2008-06-28 13:32:45 +00:00
Michael Natterer f68cf01fe7 simply call gimp_enum_action_selected() instead of poking around in the
2008-06-28  Michael Natterer  <mitch@gimp.org>

	* app/actions/tools-commands.c (tools_activate_enum_action):
	simply call gimp_enum_action_selected() instead of poking around
	in the action's internals calling gimp_action_activate()


svn path=/trunk/; revision=26001
2008-06-28 11:50:29 +00:00
Michael Natterer 09b4adbe04 simplify the logic of setting "color" or "viewable" previews on menuitems.
2008-06-28  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpaction.c (gimp_action_set_proxy): simplify the
	logic of setting "color" or "viewable" previews on menuitems.


svn path=/trunk/; revision=25999
2008-06-28 01:54:05 +00:00
Michael Natterer f36cfc0bf2 swap the angles of the dynamics matrix' labels in RTL and LTR mode so the
2008-06-27  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimppaintoptions-gui.c (gimp_paint_options_gui): swap
	the angles of the dynamics matrix' labels in RTL and LTR mode so
	the beginning of the words are aligned and on bottom.


svn path=/trunk/; revision=25995
2008-06-27 20:26:57 +00:00
Michael Natterer e1fa7e31fe hide the popup's plus and minus buttons, they are completely pointless.
2008-06-26  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpscalebutton.c (gimp_scale_button_init): hide the
	popup's plus and minus buttons, they are completely pointless.


svn path=/trunk/; revision=25993
2008-06-26 15:03:09 +00:00
Michael Natterer 029849b7bd make sure the file dialog goes away when the settings box' toplevel is
2008-06-25  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpsettingsbox.c: make sure the file dialog goes
	away when the settings box' toplevel is hidden. Set the
	alternative button order on the file dialog.


svn path=/trunk/; revision=25992
2008-06-25 16:41:15 +00:00
Michael Natterer 4bdf9a6d2a add marshaller BOOLEAN__STRING for the change below.
2008-06-25  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpmarshal.list: add marshaller BOOLEAN__STRING for
	the change below.

	* app/widgets/gimpsettingsbox.[ch]: add the import/export dialogs
	here. Add a bunch of parameters to new() to be used by the
	dialogs, they are not properties yet. Changed import() and
	export() signals to pass the selected filename and return a
	boolean indicating success.

	* app/tools/gimpimagemaptool-settings.c: remove the dialog code
	here and connect the import/export functions directly to above
	GimpSettingsBox signals.

	* app/tools/gimpimagemaptool.[ch]: remove file dialog member.


svn path=/trunk/; revision=25991
2008-06-25 14:25:32 +00:00
Michael Natterer 7df6950e19 parse the first line of the file manually and detect whether we are
2008-06-25  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpcurvestool.c (gimp_curves_tool_settings_import):
	parse the first line of the file manually and detect whether we
	are importing an old curves file or a GimpConfig one.


svn path=/trunk/; revision=25988
2008-06-25 08:16:48 +00:00
Michael Natterer e9c8fed84f set any parsed negative value as -1 in the curves object because that's
2008-06-25  Michael Natterer  <mitch@gimp.org>

	* app/gegl/gimpcurvesconfig.c (gimp_curves_config_load_cruft):
	set any parsed negative value as -1 in the curves object because
	that's the only negative value allowed.


svn path=/trunk/; revision=25987
2008-06-25 08:13:57 +00:00
Michael Natterer db8369e7d1 select a neighboring item after deleting the selected one.
2008-06-25  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpsettingseditor.c
	(gimp_settings_editor_delete_clicked): select a neighboring item
	after deleting the selected one.


svn path=/trunk/; revision=25986
2008-06-24 23:26:42 +00:00
Michael Natterer bda7399b73 add dummy import and export buttons, give the list a minimum size.
2008-06-25  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpsettingseditor.[ch]: add dummy import and export
	buttons, give the list a minimum size.

	* app/widgets/gimpsettingsbox.c: use the correct dialog border.


svn path=/trunk/; revision=25985
2008-06-24 23:12:00 +00:00
Michael Natterer 49d4f3cb35 tweak buttons to look the same and have no spacing between them.
2008-06-25  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpsettingsbox.c (gimp_settings_box_constructor):
	tweak buttons to look the same and have no spacing between them.


svn path=/trunk/; revision=25984
2008-06-24 22:37:39 +00:00
Michael Natterer 5f7733e2e5 move "Add to favorites" out of the menu into a small button showing a '+'
2008-06-25  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpsettingsbox.c (gimp_settings_box_constructor):
	move "Add to favorites" out of the menu into a small button
	showing a '+' icon. Add a separator between the import/export and
	the manage menu items.


svn path=/trunk/; revision=25983
2008-06-24 22:25:51 +00:00
Michael Natterer b80fb1ec12 enable renaming the settings objects by editing them directly in the list
2008-06-24  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpsettingseditor.[ch]: enable renaming the
	settings objects by editing them directly in the list (renaming a
	recent setting moves it to the favorites section). Enable deleting
	settings. None of these changes is saved yet (need to trigger a
	save by confirming the tool or storing the current settings as
	favorite).


svn path=/trunk/; revision=25982
2008-06-24 21:37:10 +00:00
Michael Natterer 2d830d2321 don't dereference a NULL GError.
2008-06-24  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpitemtreeview.c (gimp_item_tree_view_name_edited):
	don't dereference a NULL GError.


svn path=/trunk/; revision=25981
2008-06-24 21:23:20 +00:00
Michael Natterer 60ca4baeb6 made the model column enum public and namespaced it.
2008-06-24  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainercombobox.[ch]: made the model column
	enum public and namespaced it.

	* app/widgets/gimpsettingsbox.c: use the enum value instead of a
	magic number.

	* app/widgets/gimpsettingseditor.c: add a separator between
	recently used settings and favorites.


svn path=/trunk/; revision=25979
2008-06-24 08:42:49 +00:00
Martin Nordholts 57e9c9943e Make switching selection mode through modifier keys work again.
2008-06-23  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimpfreeselecttool.c
	(gimp_free_select_tool_modifier_key): Make switching selection
	mode through modifier keys work again.

svn path=/trunk/; revision=25978
2008-06-23 18:41:53 +00:00
Michael Natterer ba7d6020da app/widgets/Makefile.am app/widgets/widgets-types.h skeleton of a widget
2008-06-22  Michael Natterer  <mitch@gimp.org>

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpsettingseditor.[ch]: skeleton of a widget to
	manage the list of saved settings for the image map tools. Does
	absolutely nothing yet apart from displaying the list of settings.

	* app/widgets/gimpsettingsbox.[ch]: add "Manage Settings" menu item
	and show a dialog containing the new widget.


svn path=/trunk/; revision=25977
2008-06-22 17:31:25 +00:00
Martin Nordholts e068c051f1 When applying angle constraints on the first segment vertex, base on the
2008-06-21  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimpfreeselecttool.c
	(gimp_free_select_tool_update_motion): When applying angle
	constraints on the first segment vertex, base on the last segment
	vertex rather than not applying any constraint at all.

svn path=/trunk/; revision=25972
2008-06-21 09:39:49 +00:00
Martin Nordholts 3c339adacb Make angle constraints with the Free Select Tool by using Ctrl work also
2008-06-20  Martin Nordholts  <martinn@svn.gnome.org>

	Make angle constraints with the Free Select Tool by using Ctrl
	work also when moving vertices, not only when creating new ones.

	* app/tools/gimpfreeselecttool.c
	(gimp_free_select_tool_active_modifier_key): Implement.

	(gimp_free_select_tool_update_motion): Put motion logic here so we
	can apply it from both _motion and _active_modifier_key.

	(gimp_free_select_tool_modifier_key): Ignore key presses from
	another display.

svn path=/trunk/; revision=25969
2008-06-20 12:34:37 +00:00