1. 18 Nov, 2003 1 commit
  2. 13 Apr, 2003 1 commit
    • Michael Natterer's avatar
      connect to "realize" of the scrolled window's viewport and scroll to the · 86ec502c
      Michael Natterer authored
      2003-04-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcontainergridview.c: connect to "realize" of the
      	scrolled window's viewport and scroll to the correct item
      	(because GtkViewport is too dumb to this by itself).
      
      	* app/widgets/gimpcontainerpopup.[ch]: added a "view_type"
      	parameter.
      
      	* app/widgets/gimpviewablebutton.[ch]: added new function
      	gimp_viewable_button_set_view_type() and pass the view_type
      	to the GimpContainerPopup.
      
      	* app/widgets/gimptemplateeditor.c: default to GIMP_VIEW_TYPE_GRID
      	for the stock icon popup.
      86ec502c
  3. 12 Apr, 2003 1 commit
    • Michael Natterer's avatar
      app/widgets/gimpcontainerpopup.[ch] added "preview_size" and · a4be816f
      Michael Natterer authored
      2003-04-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcontainerpopup.[ch]
      	* app/widgets/gimpviewablebutton.[ch]: added "preview_size" and
      	"preview_border_width" parameters to the constructors and use them
      	when creating the popup.
      
      	* app/tools/gimptextoptions.c
      	* app/tools/paint_options.c
      	* app/widgets/gimptemplateeditor.c: changed accordingly. Create the
      	icon popup without borders.
      a4be816f
  4. 26 Mar, 2003 1 commit
    • Michael Natterer's avatar
      added the scrolled_win to the GimpContainerView struct. Create it in · af37e71b
      Michael Natterer authored
      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.
      af37e71b
  5. 22 Mar, 2003 1 commit
    • Michael Natterer's avatar
      allow to create a GimpContainerEditor without a popup menu. · d1c99bee
      Michael Natterer authored
      2003-03-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcontainereditor.c: allow to create a
      	GimpContainerEditor without a popup menu.
      
      	* app/widgets/gimpcellrendererviewable.c: free the event we
      	got from gdk_get_current_event().
      
      	* app/widgets/gimpcontainerview.c: check view->hash_table for
      	being non-NULL before using it. Be prepared to be destroyed by as
      	a result of calling gimp_context_set_foo(view->context, foo).
      
      	* app/widgets/gimpcontainertreeview.[ch]: added
      	tree_view->editable_cells and handle *all* mouse clicks in
      	gimp_container_tree_view_button_press() (by returning TRUE). Start
      	editing on double-click only. Use gtk_tree_view_set_cursor()
      	instead of gtk_tree_selection_select_path() to avoid
      	selected/focus confusion when the focus enters the widget. Be
      	prepeared to be destroyed as a result of item selection.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpcontainerpopup.[ch]: new GtkWindow derived
      	widget which pops up a selection of any GimpContainer/GimpContext
      	combo.
      
      	* app/widgets/gimpdatafactoryview.c
      	* app/widgets/gimpitemtreeview.c: add the name cell to
      	tree_view->editable_cells so it becomes editable.
      
      	* app/tools/gimpblendoptions.c
      	* app/tools/paint_options.c: use the new container popup for
      	selecting brushes and gradients.
      d1c99bee