1. 12 May, 2004 4 commits
    • Michael Natterer's avatar
      app/actions/documents-actions.c app/actions/documents-commands.c · 2632cd8f
      Michael Natterer authored
      2004-05-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/documents-actions.c
      	* app/actions/documents-commands.c
      	* app/actions/edit-actions.c
      	* app/actions/edit-commands.[ch]
      	* app/actions/layers-actions.c
      	* app/actions/layers-commands.c
      	* app/actions/select-actions.c
      	* app/actions/select-commands.[ch]
      	* app/actions/vectors-actions.c
      	* app/actions/vectors-commands.[ch]: added tooltips for actions
      	which are now used for dialog buttons, added callback
      	implementations which formerly lived in various widgets, moved
      	some actions around and did some general cleanups.
      
      	* menus/image-menu.xml.in: s/edit-stroke/select-stroke/
      
      	* menus/Makefile.am
      	* menus/selection-editor-menu.xml: new popup menu.
      
      	* app/menus/menus.c: register <SelectionEditor> and <UndoEditor>
      	UI managers.
      
      	* app/widgets/gimpeditor.[ch]: added construct properties
      	"menu-factory", "menu-identifier", "ui-path" and "popup-data".
      	Implement GObject::constructor() and create the UI manager
      	if all needed properties were set. Enables creating action
      	buttons at widget construction time because they need a
      	UI manager.
      
      	(gimp_editor_add_action_button): changed to take a va_list of
      	"extended" actions which are invoked if the resp. button emits
      	"extended_clicked". Store the actions and their modifier masks in
      	a list attached to the button.
      
      	* app/widgets/gimpcontainerview.c
      	(gimp_container_view_item_selected): if the view has container
      	*and* context, simply change the context and return.
      
      	(gimp_container_view_context_changed): don't emit "select_item"
      	manually but simply call gimp_container_view_select_item().
      
      	(gimp_container_view_viewable_dropped): use
      	gimp_container_view_item_selected() instead of changing the
      	context directly.
      
      	* app/widgets/gimpcontainereditor.c
      	(gimp_container_editor_select_item): update the UI manager.
      
      	* app/widgets/gimpdockable.c: don't try to fiddle with the
      	dialog's menu if it doesn't have a ui_path (happens if the UI
      	manager is just a collection of actions for the dialog buttons and
      	has no menu registered).
      
      	* app/widgets/gimpimageeditor.c: connect to the image's "flush"
      	signal and update the UI manager in the callback.
      
      	* app/widgets/gimpitemtreeview.c: use GimpEditor's construct
      	properties to create the UI manager so GimpItemTreeView subclasses
      	can have action buttons. Update the UI manager in
      	gimp_item_tree_view_select_item().
      
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpdatafactoryview.c
      	* app/widgets/gimpfontview.c
      	* app/widgets/gimpimageview.c
      	* app/widgets/gimptemplateview.c
      	* app/widgets/gimptoolview.c: changed calls to
      	gimp_editor_add_action_button() accordingly and removed some
      	unneeded select_item() implementations.
      
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpvectorstreeview.[ch]
      	* app/widgets/gimpdocumentview.[ch]
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpselectioneditor.[ch]
      	* app/widgets/gimpundoeditor.[ch]: use action buttons and removed
      	lots of callbacks which went to the resp. action callbacks.
      
      	* app/widgets/widgets-types.h: removed some now unneeded function
      	prototypes.
      
      	* app/gui/dialogs-constructors.c: changed (simplified) many dialog
      	constructors accordingly.
      2632cd8f
    • Sven Neumann's avatar
      libgimpwidgets/gimpwidgets.c (gimp_scale_entry_new_internal) left-align · 6750667d
      Sven Neumann authored
      2004-05-12  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpwidgets.c (gimp_scale_entry_new_internal)
      	* app/widgets/gimpwidgets-utils.c (gimp_table_attach_stock):
      	left-align the label.
      
      	* app/actions/channels-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/qmask-commands.c
      	* app/actions/vectors-commands.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/gui/brush-select.c
      	* app/gui/file-new-dialog.c
      	* app/gui/info-dialog.c
      	* app/gui/info-window.c
      	* app/gui/module-browser.c
      	* app/gui/offset-dialog.c
      	* app/gui/palette-import-dialog.c
      	* app/gui/preferences-dialog.c
      	* app/gui/resize-dialog.c
      	* app/tools/gimpblendoptions.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimppaintoptions-gui.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpselectionoptions.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimptextoptions.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpgrideditor.c
      	* app/widgets/gimphistogrameditor.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpstrokeeditor.c
      	* app/widgets/gimpwidgets-utils.c: left-align labels as suggested
      	by the HIG.
      6750667d
    • Michael Natterer's avatar
      app/config/gimpconfig-deserialize.c app/config/gimpscanner.c · de7a9405
      Michael Natterer authored
      2004-05-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpscanner.c
      	* app/core/gimp-edit.c
      	* app/core/gimpchannel-combine.c
      	* app/core/gimpcontainer.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpdrawable-combine.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpgradient.c
      	* app/core/gimpimage-flip.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-projection.c
      	* app/core/gimpimage.c
      	* app/display/gimpdisplay-handlers.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpprogress.c
      	* app/gui/info-dialog.c
      	* app/gui/module-browser.c
      	* app/gui/offset-dialog.c
      	* app/plug-in/plug-in.c
      	* app/tools/gimpdrawtool.c
      	* app/tools/tool_manager.c
      	* app/widgets/gimpactiongroup.c
      	* app/widgets/gimpdialogfactory.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimpitemfactory.c
      	* app/widgets/gimppropwidgets.c
      	* app/widgets/gimpwidgets-utils.c
      	* app/xcf/xcf-save.c
      	* libgimp/gimpexport.c
      	* libgimpwidgets/gimphelpui.c
      	* libgimpwidgets/gimppixmap.c
      	* libgimpwidgets/gimpunitmenu.c: replaced G_GNUC_FUNCTION,
      	G_GNUC_PRETTY_FUNCTION, G_STRLOC and hardcoded function names in
      	g_warning()s by G_STRFUNC.
      de7a9405
    • Dmitry Mastrukov's avatar
  2. 11 May, 2004 18 commits
    • Sven Neumann's avatar
      started a list of changes and new features · 987cacec
      Sven Neumann authored
      987cacec
    • Sven Neumann's avatar
      make it compile again. · 16a78d89
      Sven Neumann authored
      2004-05-12  Sven Neumann  <sven@gimp.org>
      
      	* app/Makefile.am: make it compile again.
      
      	* app/app-sections.txt
      	* app/app.types: some minor updates, needs a lot more work.
      16a78d89
    • Michael Natterer's avatar
      app/actions/gradients-actions.c app/actions/palettes-actions.c added/fixed · 551e1f14
      Michael Natterer authored
      2004-05-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/gradients-actions.c
      	* app/actions/palettes-actions.c
      	* app/actions/patterns-actions.c: added/fixed tooltips.
      551e1f14
    • Michael Natterer's avatar
      define G*_DISABLE_DEPRECATED for all G* modules except GTK+. Don't do so · 741854b5
      Michael Natterer authored
      2004-05-11  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: define G*_DISABLE_DEPRECATED for all G* modules
      	except GTK+. Don't do so if compiling against GLib, GTK+ >= 2.5.0
      	and Pango >= 1.5.0
      
      	* libgimpwidgets/gimpoffsetarea.c: s/gdk_gc_unref/g_object_unref/
      
      	* app/config/gimpconfig-deserialize.c
      	* app/widgets/gimpdeviceinfo.c:
      	s/g_value_set_foo_take_ownership/g_value_take_foo/
      
      	* app/text/gimptext-vectors.c
      	* app/text/gimptext-bitmap.c:
      	s/pango_ft2_font_get_face/pango_fc_font_lock,unlock_face/
      741854b5
    • Michael Natterer's avatar
      added missing #includes. · 515712f3
      Michael Natterer authored
      2004-05-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/images-commands.c: added missing #includes.
      515712f3
    • Michael Natterer's avatar
      app/widgets/Makefile.am app/widgets/widgets-types.h · 8fbc7e2d
      Michael Natterer authored
      2004-05-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpcontainermenu.[ch]
      	* app/widgets/gimpcontainermenuimpl.[ch]
      	* app/widgets/gimpmenuitem.[ch]: removed. Obsoleted by
      	GimpContainerViewInterface implemented by GimpContainerComboBox.
      8fbc7e2d
    • Sven Neumann's avatar
      updated once more · de82df21
      Sven Neumann authored
      de82df21
    • Michael Natterer's avatar
      added action_data_get_context() and macro return_if_no_context(). · 11fa0925
      Michael Natterer authored
      2004-05-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/actions.[ch]: added action_data_get_context() and
      	macro return_if_no_context().
      
      	* app/actions/brushes-actions.c
      	* app/actions/buffers-actions.c
      	* app/actions/buffers-commands.c
      	* app/actions/data-commands.c
      	* app/actions/fonts-actions.c
      	* app/actions/fonts-commands.c
      	* app/actions/gradients-actions.c
      	* app/actions/images-actions.c
      	* app/actions/images-commands.c
      	* app/actions/palettes-actions.c
      	* app/actions/patterns-actions.c
      	* app/actions/templates-actions.c
      	* app/actions/templates-commands.[ch]
      	* app/actions/tools-actions.c
      	* app/actions/tools-commands.c: moved lots of code from widgets/
      	to the resp. action callbacks.
      
      	* app/widgets/gimpeditor.[ch]: added gimp_editor_add_action_button()
      	which creates a GtkButton connected to the resp. action.
      
      	* app/widgets/gimpdatafactoryview.[ch]: added "action_group"
      	parameters so we can distinguish brushes, patterns etc. actions.
      
      	* app/widgets/gimpimageview.[ch]
      	* app/widgets/gimpbrushfactoryview.c
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpfontview.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimppatternfactoryview.c
      	* app/widgets/gimptemplateview.[ch]
      	* app/widgets/gimptoolview.c: removed tons of GtkButton::clicked()
      	callbacks and use gimp_editor_add_action_button() instead
      	of simply _add_button().
      
      	* app/gui/dialogs-constructors.c
      	* app/gui/gradient-select.c
      	* app/gui/palette-select.c
      	* app/gui/pattern-select.c: changed accordingly.
      11fa0925
    • Michael Natterer's avatar
      correctly get the default GimpContainerViewInterface implementation and · e53a7cb4
      Michael Natterer authored
      2004-05-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcontainercombobox.c: correctly get the default
      	GimpContainerViewInterface implementation and chain up to it for
      	clear_items(). Update the preview renderers on "update", enable
      	deselecting everything.
      
      	* app/widgets/gimpimagedock.[ch]
      	* app/gui/file-new-dialog.c
      	* app/gui/palette-import-dialog.c
      	* app/gui/preferences-dialog.c
      	* app/gui/stroke-dialog.c: use GimpContainerComboBox instead of
      	GimpContainerMenuImpl.
      
      	* app/gui/palette-import-dialog.c: cleanup.
      e53a7cb4
    • Sven Neumann's avatar
      updated. · 2a481ce5
      Sven Neumann authored
      2004-05-11  Sven Neumann  <sven@gimp.org>
      
      	* POTFILES.in: updated.
      2a481ce5
    • Sven Neumann's avatar
      fixed spelling. · 2d8da0f0
      Sven Neumann authored
      2004-05-11  Sven Neumann  <sven@gimp.org>
      
      	* docs/gimptool.1.in: fixed spelling.
      2d8da0f0
    • Sven Neumann's avatar
      minor cleanup. · c636a085
      Sven Neumann authored
      2004-05-11  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpcontainertreeview.c: minor cleanup.
      c636a085
    • Michael Schumacher's avatar
      libgimp/gimp.def updated · 7b038417
      Michael Schumacher authored
      * libgimp/gimp.def
      * libgimpbase/gimpbase.def: updated
      7b038417
    • Michael Schumacher's avatar
      added: _gp_params_destroy · 786de011
      Michael Schumacher authored
      added:
      _gp_params_destroy
      786de011
    • Michael Schumacher's avatar
      added: _gimp_drawable_thumbnail _gimp_image_thumbnail · 846b178e
      Michael Schumacher authored
      added:
      _gimp_drawable_thumbnail
      _gimp_image_thumbnail
      846b178e
    • Sven Neumann's avatar
      removed the "Aborting Installation" page. We added it as a nice little · 3e4413a7
      Sven Neumann authored
      2004-05-11  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/user-install-dialog.c: removed the "Aborting
      	Installation" page. We added it as a nice little gimmick but
      	obviously people don't understand it's purpose. Fixes bug #142281.
      3e4413a7
    • Sven Neumann's avatar
      app/widgets/Makefile.am app/widgets/widgets-types.h added new widget, · 5de9756f
      Sven Neumann authored
      2004-05-11  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpcontainercombobox.[ch]: added new widget, almost
      	finished.
      
      	* app/widgets/gimpcontainerview.[ch]: added convenience functions
      	to get and set the GimpContainerView properties.
      
      	* app/widgets/gimpcontainerbox.c: use the convenience functions.
      
      	* app/gui/file-new-dialog.c: use the new GimpContainerComboBox.
      
      	* etc/templaterc: use "pixels" as the unit for pixel sized templates.
      5de9756f
    • Michael Natterer's avatar
      app/widgets/gimpchanneltreeview.c app/widgets/gimpcontainerbox.[ch] · 181a581f
      Michael Natterer authored
      2004-05-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpcontainerbox.[ch]
      	* app/widgets/gimpcontainereditor.c
      	* app/widgets/gimpcontainergridview.[ch]
      	* app/widgets/gimpcontainerpopup.c
      	* app/widgets/gimpcontainertreeview.[ch]
      	* app/widgets/gimpdatafactoryview.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimpfontview.c
      	* app/widgets/gimpimageview.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimppatternfactoryview.c
      	* app/widgets/gimptemplateview.c
      	* app/widgets/gimpvectorstreeview.c: code review / cleanup.
      181a581f
  3. 10 May, 2004 18 commits
    • Michael Natterer's avatar
      app/widgets/widgets-types.h made GimpContainerView an interface. Added · 930b621b
      Michael Natterer authored
      2004-05-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpcontainerview.[ch]: made GimpContainerView an
      	interface. Added accessors for all members in the private struct
      	and made it really private.
      
      	* app/widgets/gimpcontainerbox.[ch]: derive it from GimpEditor and
      	implement GimpContainerViewInterface and its properties.
      
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimpcontainertreeview-dnd.c
      	* app/widgets/gimpdrawabletreeview.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpvectorstreeview.c: implement
      	GimpContainerViewInterface and use the new accessor functions.
      
      	* app/widgets/gimpcontainerpopup.c
      	* app/widgets/gimpdocumentview.c: changed accordingly.
      
      	* app/widgets/gimptemplateview.c
      	* app/widgets/gimpcontainereditor.c
      	* app/widgets/gimpundoeditor.c
      	* app/actions/palettes-commands.c: #include "gimpcontainerview.h"
      930b621b
    • Sven Neumann's avatar
      libgimp/gimp.def libgimp/gimpui.def libgimpbase/gimpbase.def updated. · 2589d2ec
      Sven Neumann authored
      2004-05-11  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimp.def
      	* libgimp/gimpui.def
      	* libgimpbase/gimpbase.def
      	* libgimpwidgets/gimpwidgets.def: updated.
      2589d2ec
    • Samel Jn Gunnarsson's avatar
      Updated Icelandic translation by ki G. Karlsson <aki@akademia.is> · a18194a5
      Samel Jn Gunnarsson authored
      2004-05-10  Samel Jn Gunnarsson  <sammi@techattack.nu>
      
      	* is.po: Updated Icelandic translation by
      	ki G. Karlsson  <aki@akademia.is>
      a18194a5
    • Sven Neumann's avatar
      removed a redundant call to gtk_widget_queue_resize(). · f47cfffe
      Sven Neumann authored
      2004-05-10  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpframe.c (gimp_frame_style_set): removed a
      	redundant call to gtk_widget_queue_resize().
      f47cfffe
    • Sven Neumann's avatar
      fixed size of colormap property. Patch by Daniel Kobras, fixes bug · 1fd2fa61
      Sven Neumann authored
      2004-05-10  Sven Neumann  <sven@gimp.org>
      
      	* app/xcf/xcf-save.c (xcf_save_prop): fixed size of colormap
      	property. Patch by Daniel Kobras, fixes bug #142149.
      1fd2fa61
    • Henrik Brix Andersen's avatar
      fixed the spacing of the dialog, thanks to Sven for pointing out my · 7b836237
      Henrik Brix Andersen authored
      2004-05-10 Henrik Brix Andersen <brix@gimp.org>
      
      * plug-ins/common/screenshot.c (shoot_dialog): fixed the spacing
      of the dialog, thanks to Sven for pointing out my mistake.
      7b836237
    • Sven Neumann's avatar
      don't call gtk_widget_set_direction() on a non-existant widget. Fixes bug · 54cb4777
      Sven Neumann authored
      2004-05-10  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimptexteditor.c (gimp_text_editor_set_direction):
      	don't call gtk_widget_set_direction() on a non-existant widget.
      	Fixes bug #141792.
      54cb4777
    • Pablo Saratxaga's avatar
      converted to utf-8 · 9544608e
      Pablo Saratxaga authored
      9544608e
    • Pablo Saratxaga's avatar
      corrected file encoding · 8c6cdacf
      Pablo Saratxaga authored
      8c6cdacf
    • Sven Neumann's avatar
      added missing newline in error message. · 5c4b077f
      Sven Neumann authored
      2004-05-10  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/tips-dialog.c: added missing newline in error message.
      5c4b077f
    • Michael Natterer's avatar
      More GimpContainerView chopping: · 3adc0816
      Michael Natterer authored
      2004-05-10  Michael Natterer  <mitch@gimp.org>
      
      	More GimpContainerView chopping:
      
      	* app/widgets/gimpcontainerview.[ch]: added
      	GimpContainerViewPrivate struct (which is currently puclic :-) and
      	removed all members from the GimpContainerView struct. Added
      	accessors for "context", "container" and "preview_size /
      	preview_border_width". Added macro to get the private struct
      	(*not* via G_TYPE_INSTANCE_GET_PRIVATE because that's unavailable
      	for interfaces).
      
      	* app/widgets/gimpbrushfactoryview.c
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpcontainerbox.c
      	* app/widgets/gimpcontainereditor.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainerpopup.c
      	* app/widgets/gimpcontainertreeview-dnd.c
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimpdatafactoryview.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimpfontview.c
      	* app/widgets/gimpimageview.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpsessioninfo.c
      	* app/widgets/gimptemplateview.c
      	* app/widgets/gimptoolview.c
      	* app/actions/brushes-actions.c
      	* app/actions/buffers-actions.c
      	* app/actions/dockable-actions.c
      	* app/actions/dockable-commands.c
      	* app/actions/documents-actions.c
      	* app/actions/fonts-actions.c
      	* app/actions/gradients-actions.c
      	* app/actions/gradients-commands.c
      	* app/actions/images-actions.c
      	* app/actions/palettes-actions.c
      	* app/actions/palettes-commands.c
      	* app/actions/patterns-actions.c
      	* app/actions/templates-actions.c
      	* app/actions/tools-actions.c
      	* app/actions/tools-commands.c: changed accordingly.
      3adc0816
    • Sven Neumann's avatar
      the menu's called "Layer", not "Layers" (bug #142279, spotted by Branko · c1dc358d
      Sven Neumann authored
      2004-05-10  Sven Neumann  <sven@gimp.org>
      
      	* gimp-tips.xml.in: the menu's called "Layer", not "Layers" (bug
      	#142279, spotted by Branko Collin).
      c1dc358d
    • Sven Neumann's avatar
      app/tools/gimpmagnifyoptions.[ch] applied a patch from William Skaggs that · 486ccb33
      Sven Neumann authored
      2004-05-10  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpmagnifyoptions.[ch]
      	* app/tools/gimpmagnifytool.c: applied a patch from William Skaggs
      	that changes a misleading option label. Fixes bug #137508.
      486ccb33
    • Marco Ciampa's avatar
      Updated italian translation · 6a4733b8
      Marco Ciampa authored
      6a4733b8
    • Sven Neumann's avatar
      removed the display scale from the default image title because it's now · bceb09a8
      Sven Neumann authored
      2004-05-10  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpdisplayconfig.c (DEFAULT_IMAGE_TITLE_FORMAT):
      	removed the display scale from the default image title because
      	it's now displayed in the statusbar. Show the image pixel size
      	instead.
      
      	* app/gui/preferences-dialog.c: include a preset for the title
      	format string that shows the image size (bug #141720).
      bceb09a8
    • Michael Natterer's avatar
      Prepare for making an interface out of GimpContainerView: · d8d2c84d
      Michael Natterer authored
      2004-05-10  Michael Natterer  <mitch@gimp.org>
      
      	Prepare for making an interface out of GimpContainerView:
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpcontainerbox.[ch]: new GimpContainerView
      	subclass which implements GimpDocked interface and contains the
      	vbox-with-scrolled-window stuff common to GimpContainerGridView
      	and GimpContainerTreeView.
      
      	* app/widgets/gimpcontainerview.[ch]: removed that functionality
      	here.
      
      	* app/widgets/gimpcontainergridview.[ch]
      	* app/widgets/gimpcontainertreeview.[ch]: derive them from
      	GimpContainerBox.
      
      	* app/gui/brush-select.c
      	* app/gui/font-select.c
      	* app/gui/gradient-select.c
      	* app/gui/palette-select.c
      	* app/gui/pattern-select.c
      	* app/widgets/gimpcontainerpopup.c: changed accordingly.
      d8d2c84d
    • Sven Neumann's avatar
      added a stock icon for "view-zoom-1-1". · a08d648a
      Sven Neumann authored
      2004-05-10  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/view-actions.c: added a stock icon for "view-zoom-1-1".
      
      	* app/widgets/gimpunitcombobox.[ch]: added functions to get and
      	set the active unit.
      
      	* app/widgets/gimpunitstore.c (gimp_unit_store_tree_model_get_value):
      	need to special case GIMP_UNIT_PIXEL.
      
      	* app/display/Makefile.am
      	* app/display/display-types.h
      	* app/display/gimpscalecombobox.[ch]: new widget to be used in the
      	display's statusbar.
      
      	* app/display/gimpdisplayshell-cursor.[ch]: always display the
      	cursor position, not only if the cursor is inside the image. Added
      	new function gimp_display_shell_clear_cursor() to clear the cursor
      	label.
      
      	* app/display/gimpdisplayshell-callbacks.c: changed accordingly.
      
      	* app/display/gimpstatusbar.[ch]
      	* app/display/gimpdisplayshell.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-scale.c: do not explicitely resize
      	the statusbar cursor label, connect to GimpDisplayShell::scaled
      	instead. Added a GimpScaleComboBox to the status bar.
      a08d648a
    • Michael Natterer's avatar
      Started making the toolbox configurable. Addresses bug #105764. Not · da0de087
      Michael Natterer authored
      2004-05-10  Michael Natterer  <mitch@gimp.org>
      
      	Started making the toolbox configurable.
      	Addresses bug #105764. Not finished yet.
      
      	* app/core/gimptoolinfo.[ch]: renamed "in_toolbox" to "visible"
      	and made it a GObject property.
      
      	* app/tools/gimp-tools.[ch]: added new function
      	gimp_tools_get_default_order() which returns a GList of tool
      	identifiers.
      
      	* app/actions/tools-actions.c
      	* app/actions/tools-commands.[ch]: added actions & callbacks for
      	toggling the "visible" boolean and for resetting all tools.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimptoolview.[ch]: new widget which allows to
      	toggle a tool's visibility and to reorder the tools.
      
      	* app/widgets/gimptoolbox.[ch]: removed member "GtkWidget *trash"
      	and pack all tool buttons into the same wrap box. Connect to
      	"reoder" of the tool container and to "notify::visible" of all
      	tool infos and update the toolbox accordingly.
      
      	* app/gui/dialogs-constructors.c: create a GimpToolView for the
      	tools list/grid.
      
      	* app/menus/menus.c: register a <Tools> menu for the dialog above.
      
      	* menus/Makefile.am
      	* menus/tools-menu.xml: added the menu.
      da0de087