Commit Graph

25 Commits

Author SHA1 Message Date
Sven Neumann 414e661696 connect to the chain-button and update the "keep-aspect" property when it
2006-05-19  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpsizebox.c: connect to the chain-button and
	update the "keep-aspect" property when it is toggled.
2006-05-19 10:45:25 +00:00
Sven Neumann 6ebcf700d1 removed erroneous semicolon after G_DEFINE_TYPE macros.
2006-05-15  Sven Neumann  <sven@gimp.org>

	* app/*/*.c:
	* lib*/*.c: removed erroneous semicolon after G_DEFINE_TYPE macros.
2006-05-15 09:46:31 +00:00
Sven Neumann 8f57c23d89 app/dialogs/preferences-dialog.c app/widgets/gimpimagepropview.c
2006-04-05   Sven Neumann  <sven@gimp.org>

	* app/dialogs/preferences-dialog.c
	* app/widgets/gimpimagepropview.c
	* app/widgets/gimpsizebox.c
	* app/widgets/gimptemplateeditor.c: replaced "dpi" with "ppi"
	(bug #326718).
2006-04-05 16:45:27 +00:00
Sven Neumann 5e7ce540c1 app/core/gimpbrush.c app/core/gimpbuffer.c app/core/gimpimagefile.c
2006-02-28  Sven Neumann  <sven@gimp.org>

	* app/core/gimpbrush.c
	* app/core/gimpbuffer.c
	* app/core/gimpimagefile.c
	* app/core/gimppattern.c
	* app/dialogs/preferences-dialog.c
	* app/tools/gimpmeasuretool.c
	* app/tools/gimprectangletool.c
	* app/tools/gimprectselecttool.c
	* app/widgets/gimpimagepropview.c
	* app/widgets/gimpsizebox.c
	* app/widgets/gimptemplateeditor.c
	* plug-ins/imagemap/imap_statusbar.c: use U+00D7 MULTIPLICATION SIGN
	instead of x when displaying sizes.
2006-02-28 12:15:51 +00:00
Michael Natterer e1ceed5147 define GIMP_PARAM_STATIC_STRINGS which is G_PARAM_STATIC_NAME|NICK|BLURB.
2006-01-18  Michael Natterer  <mitch@gimp.org>

	* app/config/config-types.c: define GIMP_PARAM_STATIC_STRINGS
	which is G_PARAM_STATIC_NAME|NICK|BLURB. Also define
	GIMP_PARAM_READABLE, _WRITABLE and _READWRITE which include
	GIMP_PARAM_STATIC_STRINGS.

	* app/*/*.c: use them for all object properties so their
	strings are not copied.
2006-01-18 20:29:40 +00:00
Michael Natterer 61df53ec54 port to G_DEFINE_TYPE() and friends. Some related cleanup.
2005-12-19  Michael Natterer  <mitch@gimp.org>

	* app/widgets/*.c: port to G_DEFINE_TYPE() and friends. Some
	related cleanup.
2005-12-19 22:37:49 +00:00
Sven Neumann bdf1580d6c app/core/gimpimagefile.c app/widgets/gimpimagepropview.c
2005-11-02  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimagefile.c
	* app/widgets/gimpimagepropview.c
	* app/widgets/gimpsizebox.c
	* app/widgets/gimptemplateeditor.c: use ngettext() for plural forms.
2005-11-02 16:07:07 +00:00
Michael Natterer 67ee237bd8 added a GtkSizeGroup member and put all labels into the group.
2005-11-02  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpsizebox.[ch]: added a GtkSizeGroup member and put
	all labels into the group.

	* app/dialogs/scale-dialog.c: put the "Interpolation:" label into
	the same size box.
2005-11-02 09:27:15 +00:00
William Skaggs a395b02f6f Bill Skaggs <weskaggs@primate.ucdavis.edu>
* libgimpwidgets/gimppropwidgets.[ch]: magic-copied from app/widgets
	and un-movable things then removed.

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpwidgets.def
	* libgimpwidgets/gimpwidgets.h: corresponding changes

	* app/widgets/gimppropwidgets.[ch]: remove functions that were
	moved.

	* app/dialogs/stroke-dialog.c
	* app/dialogs/tips-dialog.c
	* app/dialogs/user-install-dialog.c
	* app/tools/gimpairbrushtool.c
	* app/tools/gimpblendoptions.c
	* app/tools/gimpbucketfilloptions.c
	* app/tools/gimpclonetool.c
	* app/tools/gimpcoloroptions.c
	* app/tools/gimpcolorpickeroptions.c
	* app/tools/gimpconvolvetool.c
	* app/tools/gimpcropoptions.c
	* app/tools/gimpcurvestool.c
	* app/tools/gimpdodgeburntool.c
	* app/tools/gimperasertool.c
	* app/tools/gimpflipoptions.c
	* app/tools/gimphistogramoptions.c
	* app/tools/gimpimagemaptool.c
	* app/tools/gimpinkoptions-gui.c
	* app/tools/gimplevelstool.c
	* app/tools/gimpmagnifyoptions.c
	* app/tools/gimpmeasureoptions.c
	* app/tools/gimpmoveoptions.c
	* app/tools/gimpselectionoptions.c
	* app/tools/gimpsmudgetool.c
	* app/tools/gimpthresholdtool.c
	* app/tools/gimptransformoptions.c
	* app/tools/gimpvectoroptions.c
	* app/widgets/gimpcontainerbox.c
	* app/widgets/gimpcontrollereditor.c
	* app/widgets/gimpdevicestatus.c
	* app/widgets/gimpgrideditor.c
	* app/widgets/gimphistogrambox.c
	* app/widgets/gimphistogrameditor.c
	* app/widgets/gimpsizebox.c
	* app/widgets/gimpstrokeeditor.c
	* app/widgets/gimptemplateeditor.c
	* app/widgets/gimptooloptionseditor.c: fix includes.
2005-02-04 20:47:42 +00:00
William Skaggs 1cee9b7298 continuing commit after broken pipe 2005-01-25 19:11:26 +00:00
Sven Neumann 23a3bdf31e app/widgets/gimpsizebox.c round displayed resolution instead of just
2005-01-02  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpsizebox.c
	* app/widgets/gimptemplateeditor.c: round displayed resolution
	instead of just casting to integer values. Use image size limits
	from libgimpbase/gimplimits.h instead of some arbitrary numbers.
2005-01-02 16:55:50 +00:00
Sven Neumann 8511b4c226 fixed position of pixel and resolution labels.
2005-01-02  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpsizebox.c (gimp_size_box_constructor): fixed
	position of pixel and resolution labels.
2005-01-02 02:07:46 +00:00
William Skaggs 129c953b6f Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/widgets/gimpsizebox.c: give correct arguments to
	gimp_coordinates_new().  Fixes problem described in
	comment 6 of bug #162387.
2004-12-31 00:27:35 +00:00
Sven Neumann 4d27239a9c renamed menu_path parameter to menu_label and added a pointer to
2004-12-28  Sven Neumann  <sven@gimp.org>

	* libgimp/gimp.[ch] (gimp_install_procedure, gimp_install_temp_proc):
	renamed menu_path parameter to menu_label and added a pointer to
	gimp_plugin_menu_register()

	* app/widgets/gimpsizebox.c (gimp_size_box_constructor): removed
	unused variables.
2004-12-28 15:21:16 +00:00
William Skaggs 1380e5ea0b Bill Skaggs <weskaggs@primate.ucdavis.edu>
* gimp/app/widgets/gimpsizebox.c: fix incorrect Update
	Policy for size entry as pointed out by mitch.
2004-12-24 00:19:41 +00:00
William Skaggs 09951fcf99 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* gimp/app/widgets/gimpsizebox.c: use gimp_coordinates_new()
	instead of duplicating a lot of code.  Fixes bug #161756.

	* gimp/app/widgets/gimppropwidgets.c: small change in
	chainbutton handling to make above work.
2004-12-23 18:12:23 +00:00
Michael Natterer 01e94fcb19 app/dialogs/print-size-dialog.c set a focus_chain on the size_entries so
2004-12-09  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/print-size-dialog.c
	* app/widgets/gimpsizebox.c: set a focus_chain on the size_entries
	so the focus order is width->height->chain->unitmenu and not
	width->chain->height->unitmenu.

	* app/widgets/gimptemplateeditor.c: changed focus_chain code to
	work like above (cosmetics).
2004-12-09 16:22:25 +00:00
Sven Neumann 869a1b680d started to redo this dialog without using a GimpSizeBox. The widgets
2004-11-15  Sven Neumann  <sven@gimp.org>

	* app/dialogs/print-size-dialog.c: started to redo this dialog
	without using a GimpSizeBox. The widgets aren't connected, so it
	isn't usable yet.

	* app/widgets/gimpprogressbox.c
	* app/widgets/gimpprogressdialog.c
	* app/widgets/gimpsizebox.c: trivial cleanups.

	* data/images/gimp-splash.png: splash for 2.2-pre2, done by Jimmac.
2004-11-14 23:51:46 +00:00
Sven Neumann ce7f034638 fixed most of the Reset functionality (bug #157495). The offset box is
2004-11-06  Sven Neumann  <sven@gimp.org>

	* app/dialogs/resize-dialog.c (resize_dialog_reset): fixed most of
	the Reset functionality (bug #157495). The offset box is still not
	working correctly.

	* app/widgets/gimpsizebox.c (gimp_size_box_update_resolution):
	check for availability of the size entry before accessing it.
2004-11-06 12:30:38 +00:00
Sven Neumann fcbe26d888 added a size entry to edit the resolution. This should close bug #151022.
2004-10-31  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpsizebox.c: added a size entry to edit the
	resolution. This should close bug #151022.
2004-10-30 23:55:34 +00:00
Sven Neumann 4349469e3c changed menu label from "Show Image Menu" to "Show Image Selection".
2004-10-27  Sven Neumann  <sven@gimp.org>

	* app/actions/dockable-actions.c (dockable_toggle_actions): changed
	menu label from "Show Image Menu" to "Show Image Selection".

	* app/widgets/gimpsizebox.c: unmarked a string for translation.

	* app/dialogs/scale-dialog.c: added back the message when scaling
	an indexed image.
2004-10-27 15:59:52 +00:00
Sven Neumann fffebe8ec2 app/dialogs/Makefile.am a wrapper around the scale dialog that takes care
2004-10-27  Sven Neumann  <sven@gimp.org>

	* app/dialogs/Makefile.am
	* app/dialogs/image-scale-dialog.[ch]: a wrapper around the scale
	dialog that takes care verifying the user input and optionally
	asking for confirmation. Most of this moved out of image-commands.c.

	* app/actions/image-commands.c: use the new image scale dialog
	even though it doesn't allow to edit the resolution yet. That's a
	temporary regression that will get fixed soon.

	* app/actions/layers-commands.c: cosmetics.

	* app/dialogs/scale-dialog.c (scale_dialog_reset): also reset the
	resolution.

	* app/widgets/gimpsizebox.c: fixed cut'n'paste error.
2004-10-27 01:20:07 +00:00
Sven Neumann b0330f95d4 added a resolution label similar to one in the template editor. Prepared
2004-10-27  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpsizebox.[ch]: added a resolution label similar
	to one in the template editor. Prepared for editable resolution,
	work in progress...

	* app/dialogs/scale-dialog.[ch]: added resolution and resolution
	unit parameters to ScaleDialogCallback.

	* app/actions/layers-commands.c: changed accordingly.
2004-10-26 23:31:34 +00:00
Sven Neumann 664b5a0a09 commented out the memory size label. The visual clutter of it's bold
2004-10-26  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimptemplateeditor.c: commented out the memory size
	label. The visual clutter of it's bold appearance was IMO not
	appropriate. I think the dialog is better without it.

	* app/widgets/gimpsizebox.c: added a pixel size label as in the
	Image New dialog.
2004-10-26 21:18:20 +00:00
Sven Neumann 22a1384b5a app/widgets/Makefile.am app/widgets/widgets-types.h added new widget
2004-10-12  Sven Neumann  <sven@gimp.org>

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpsizebox.[ch]: added new widget GimpSizeBox.

	* app/widgets/gimppropwidgets.c: the order of setting the X and Y
	properties does matter.

	* app/dialogs/Makefile.am
	* app/dialogs/scale-dialog.[ch]: added first version of a new
	Scale dialog in an attempt to address bug #151022.

	* app/actions/layers-commands.c: use the new scale dialog.
2004-10-12 14:59:14 +00:00