1. 08 Jun, 2001 2 commits
    • Havoc Pennington's avatar
      added this function · 7009511a
      Havoc Pennington authored
      2001-06-08  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_get_start_iter): added this
      	function
      
      	* gtk/gtktextview.c (gtk_text_view_get_default_attributes): added
      	this function
      7009511a
    • Havoc Pennington's avatar
      geez, don't call g_list funcs on GSList · 74e7da21
      Havoc Pennington authored
      2001-06-08  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_remove_all_tags): geez,
      	don't call g_list funcs on GSList
      
      	* gtk/gtkwidget.c (gtk_widget_child_focus): replaces
      	gtk_container_focus(), since some widgets have focusable locations
      	which are not other widgets. These widgets should not have to be
      	containers just to manage the focus. For example, GtkHSV is
      	currently a container for no good reason. Also, this cleans
      	up the "if (is_container && is_sensitive && is_drawable)
      	container_focus ()" mess in widget implementations.
      
      	* gtk/gtkcontainer.c (gtk_container_focus): deprecate this
      	function, and have it just call gtk_widget_child_focus().
      
      	* gtk/gtkhsv.c: derive from widget not container
      
      	Throughout: fix to reflect GtkContainer::focus change
      74e7da21
  2. 05 Jun, 2001 1 commit
  3. 04 Jun, 2001 1 commit
    • Havoc Pennington's avatar
      Handle case where we need to parse the xsetting as if it were an RC file · 1b3c9214
      Havoc Pennington authored
      2001-05-10  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtksettings.c (gtk_settings_get_property): Handle case where
      	we need to parse the xsetting as if it were an RC file string.
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_class_init): load initial
      	value of palette from settings, not from static variable
      
      	* gdk/x11/gdkevents-x11.c: add color palette, toolbar mode to
      	xsettings translation table
      
      	* gtk/gtktoolbar.c (gtk_toolbar_new): Remove arguments, because
      	hardcoding the toolbar style conflicts with new customizable
      	toolbar style philosophy
      	(gtk_toolbar_class_init): add settings for default toolbar style;
      	these are used unless the app specifically forces a toolbar style
      
      	* gtk/gtksettings.c (settings_install_property_parser): only
      	return at the start if we warn and parser == NULL
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_finalize): disconnect the
      	palette changed handler so we don't notify dead color selections
      
      	* gtk/gtkstyle.c (gtk_default_draw_shadow): handle
      	xthickness/ythickness of 0 or 1 properly
      	(gtk_default_draw_resize_grip): clear the background behind the
      	resize grips, and align to bottom right if we square the
      	area to be drawn.
      
      	* gtk/gtkstatusbar.c (gtk_statusbar_init): set horizontal usize on
      	statusbar label to 1, so it doesn't make toplevels resize oddly
      	(gtk_statusbar_size_request): add grip size to request
      	(gtk_statusbar_size_allocate): hack so the hbox still works with
      	the grip size in the request
      
      	* gtk/gtktoolbar.c (gtk_toolbar_show_all): override to fix
      	bug where showing all on a toplevel makes the toolbar
      	button text appear despite the toolbar mode
      
      	* gtk/gtkmenubar.c: add internal padding style property
      
      	* gtk/gtktoolbar.c: Add internal padding style property; add
      	shadow type style property
      
      	* gtk/gtkmenubar.c (gtk_menu_bar_paint): paint box with widget
      	state; and put Container::border_width outside the frame
      
      	* gtk/gtktextview.c: don't draw focus rectangle if we're in
      	interior focus mode, we just use blinking cursor
      1b3c9214
  4. 27 May, 2001 1 commit
  5. 25 May, 2001 2 commits
    • Havoc Pennington's avatar
      get sizes an icon set can render without falling back to missing image · 87684f95
      Havoc Pennington authored
      2001-05-25  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkiconfactory.c (gtk_icon_set_get_sizes): get sizes an icon
      	set can render without falling back to missing image icon
      
      	* gtk/gtktextview.c (gtk_text_view_size_request): request full
      	size of text, instead of random values
      
      	* gtk/gtktreeview.c (gtk_tree_view_size_request): request full
      	size of tree view, instead of random values
      
      	* gtk/gtkiconfactory.c (gtk_icon_set_render_icon): render fallback
      	image in an appropriate size
      
              * gtk/gtkstock.h: Rename the stock items including _BUTTON_,
      	etc. not to include that. i.e. s/GTK_STOCK_BUTTON_OK/GTK_STOCK_OK/
      
              Throughout: fix GTK_STOCK_BUTTON_ instances
      
      	* gtk/gtkstock.h, gtk/gtkstock.c, gtk/gtkiconfactory.h,
      	gtk/gtkiconfactory.c, gtk/stock-icons/Makefile.am:
      	Add a bunch of new stock items/icons
      
      	* gtk/gtktreeview.c (gtk_tree_view_insert_column_with_data_func):
      	new function, convenience for inserting columns with a data func
      
      	* gtk/gtkiconfactory.c: keep a list of all existing icon factories
      	(_gtk_icon_factory_list_ids): use list of all factories to
      	generate a list of all known IDs
      
      	* gtk/gtkstock.c (gtk_stock_list_ids): replace
      	gtk_stock_list_items() with a function that returns all IDs known
      	including those for GtkIconFactory.
      87684f95
    • Havoc Pennington's avatar
      New function · b995aae4
      Havoc Pennington authored
      2001-05-22  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtkbin.c (gtk_bin_get_child): New function
      b995aae4
  6. 18 May, 2001 2 commits
    • Owen Taylor's avatar
      Reset style attributes even if the widget isn't realized. · aa4a41fa
      Owen Taylor authored
      Fri May 18 15:26:26 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_style_set): Reset
      	style attributes even if the widget isn't realized.
      
      	* demos/gtk-demo/main.c: Use a slightly smaller font.
      aa4a41fa
    • Owen Taylor's avatar
      Add documentation about GtkSizeGroup. · 02d5f41c
      Owen Taylor authored
      Fri May 18 12:28:08 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/tmpl/gtksizegroup.sgml gtk/gtk-sections.txt gtk/gtk.types:
      	Add documentation about GtkSizeGroup.
      02d5f41c
  7. 10 May, 2001 1 commit
  8. 07 May, 2001 1 commit
    • Havoc Pennington's avatar
      fix some shell typos · b4e4a0ed
      Havoc Pennington authored
      2001-05-04  Havoc Pennington  <hp@redhat.com>
      
      	* configure.in: fix some shell typos
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_destroy): warning fix
      
      	* gtk/gtkimage.c: handle animations
      
      	* gtk/gtkcheckbutton.c (gtk_check_button_size_request): request
      	border_width * 2, not just border_width
      
      	* gtk/gtkscale.c: add "format_value" signal to allow people
      	to override the way values are drawn.
      	(gtk_scale_get_value_size): fix width/height mistake,
      	and compute size from actual displayed text, not
      	from made-up text.
      
      	* gtk/gtktexttag.c (gtk_text_tag_class_init): fix return type in
      	signal registration
      
      	* tests/testtext.c: Add "Remove all tags" menu item for testing
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_remove_all_tags): implement
      
      	* demos/gtk-demo/main.c (main): add hack so we can find modules
      	without installing gtk
      
      	* demos/gtk-demo/textview.c (insert_text): demo font scaling
      
      	* gtk/gtkcellrenderertext.c: Add "scale" property (font scaling
      	factor)
      	(gtk_cell_renderer_text_set_property): remove some bogus
      	g_object_notify
      
      	* gtk/gtktexttag.c: add "scale" property which is a font scaling
      	factor
      
      	* gtk/gtktextlayout.c (add_text_attrs): add font scale attribute
      	to layout
      
      	* gtk/gtktextiter.c (gtk_text_iter_is_start): rename from
      	gtk_text_iter_is_first
      
      2001-05-04  Havoc Pennington  <hp@redhat.com>
      
      	* pixops/pixops.c (pixops_process): merge fix from stable: Patch
      	 from hoshem@mel.comcen.com.au to fix nonzero X offsets.  Fixes
      	 bug #50371.
      
              * gdk-pixbuf/pixops/pixops.c (pixops_composite_nearest): merge
      	from stable: Patch from OKADA Mitsuru <m-okada@fjb.co.jp> to fix
      	confusion of using "src" instead of "p".
              (pixops_composite_color_nearest): Use a more accurate (and
      	correct, to begin with) compositing method.  This cures checks
      	showing through on images with no alpha.
      
      	* gdk-pixbuf.c (gdk_pixbuf_fill): fix bug that left some trailing
      	bytes unfilled.
      
      	* gdk-pixbuf-io.h: fix UpdatedNotifyFunc to use signed ints
      
      	* gdk-pixbuf-loader.h (struct _GdkPixbufLoaderClass): Change
      	area_updated signal to use signed ints.  Removed animation-related
      	signals.
      
      	* io-gif.c, io-gif-animation.h, io-gif-animation.c: Massive
      	rewrite action
      
      	* gdk-pixbuf-animation.c: Add GdkPixbufAnimationIter to abstract
      	all the pesky details. Remove old frame-based API. Make
      	GdkPixbufAnimation an abstract base class, derived by the loaders.
      b4e4a0ed
  9. 25 Apr, 2001 1 commit
  10. 23 Apr, 2001 1 commit
    • Jonathan Blandford's avatar
      add missing '}' that got munched by #endif. · 60051ff6
      Jonathan Blandford authored
      Mon Apr 23 18:57:03 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtksocket.c (gtk_socket_filter_func): add missing '}' that
      	got munched by #endif.
      
      	* gtk/Makefile.am (gtk_plug_c_sources): add missing '\'
      
      	* gtk/gtktreeview.c: Refactored code to clean up a number of
      	events.
      
      	* gtk/gtktreemodel.c (gtk_tree_path_compare): Switched return
      	values to make consistent with other functions.  Spotted by Jeff
      	Franks <jcf@tpg.com.au>.
      
      	* gtk/gtktreeview.h (struct _GtkTreeViewClass): Fixes to signal
      	declaration spotted by Jeff Franks <jcf@tpg.com.au>.
      60051ff6
  11. 18 Apr, 2001 1 commit
    • Havoc Pennington's avatar
      fix to properly queue resizes when the image is set · 60b6a010
      Havoc Pennington authored
      2001-04-18  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkimage.c: fix to properly queue resizes when the image is
      	set
      
      	* gtk/gtktextview.c (gtk_text_view_do_popup): desensitize Paste
      	if the insertion point isn't editable
      
      	* demos/gtk-demo/images.c: Added a GtkImage demo
      
      	* demos/gtk-demo/drawingarea.c: drawing area demo
      
      	* demos/gtk-demo/menus.c (create_menu): cleanups
      
      2001-04-18  Havoc Pennington  <hp@redhat.com>
      
      	* gdk-pixbuf.c (gdk_pixbuf_fill): Function to fill pixbuf with a
      	given color.
      60b6a010
  12. 04 Apr, 2001 1 commit
    • Tim Janik's avatar
      Released Gtk+-1.3.3. · dcb94348
      Tim Janik authored
      Wed Apr  4 09:18:18 2001  Tim Janik  <timj@gtk.org>
      
              * Released Gtk+-1.3.3.
      
      Wed Apr  4 07:42:23 2001  Tim Janik  <timj@gtk.org>
      
              * gdk/Makefile.am (EXTRA_DIST): add makeenums.pl to EXTRA_DIST.
      dcb94348
  13. 03 Apr, 2001 2 commits
    • Tim Janik's avatar
      changed gtk_item_factory_dump_items() and gtk_item_factory_dump_rc() · 748560e1
      Tim Janik authored
      Tue Apr  3 13:52:57 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkitemfactory.[hc]: changed gtk_item_factory_dump_items()
              and gtk_item_factory_dump_rc() GtkPatternSpec argument to
              GPatternSpec. this is actually unlikely to cause breakage in
              third-party apps since except for gle, pretty much ever caller
              passes NULL here.
      
              * gtk/gtkbindings.[hc]: removed gtk_pattern_*() API.
      
              * *.c: use g_pattern_*() API.
      
              * docs/Changes-2.0.txt: GtkPatternSpec->GPatternSpec updates.
      
              * gtk/gtkstyle.c (gtk_default_draw_resize_grip): assert unhandled
              directions aren't passed in.
      
              * gtk/gtksettings.[hc] (_gtk_settings_parse_convert): export conversion
              functionality to be usable from gtkstyle.c as well, give precedence
              for conversion to user-supplied parsers.
              s/_gtk_rc_property_parser_for_type/_gtk_rc_property_parser_from_type/;
      
              * gtk/gtkstyle.c (_gtk_style_peek_property_value): use
              _gtk_settings_parse_convert() for rcporperty value conversion.
      748560e1
    • Tim Janik's avatar
      use more elaborate variable names. · bb985d72
      Tim Janik authored
      Tue Apr  3 05:09:07 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmain.c (_gtk_boolean_handled_accumulator): use more elaborate
              variable names.
      
              * gtk/makeenums.pl: touch this so enum files get remade.
      bb985d72
  14. 02 Apr, 2001 1 commit
    • Jonathan Blandford's avatar
      BOXED,BOXED,BOXED,BOXED): new marshaller. · 29985af0
      Jonathan Blandford authored
      Mon Apr  2 16:56:15 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkmarshal.list (VOID:BOXED,BOXED,BOXED,BOXED): new
      	marshaller.
      
      	* gtk/gtktreemodel.c (gtk_tree_model_range_changed): change
      	"changed" signal to "range_changed".
      
      	* gtk/gtktreeview.c (gtk_tree_view_set_model): fix small bug where
      	removing a tree from one model would remove all trees from that
      	model.
      	* gtk/gtktreeview.c (gtk_tree_view_range_changed): use range
      	changed signal instead.
      29985af0
  15. 01 Apr, 2001 1 commit
    • Tim Janik's avatar
      got rid of gtk_widget_popup(), a function that bad needs to be nuked, not · 770938bf
      Tim Janik authored
      Sun Apr  1 08:00:13 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkwidget.[hc]: got rid of gtk_widget_popup(), a function that
              bad needs to be nuked, not just deprecated.
      
              * gtk/gtktooltips.c (gtk_tooltips_draw_tips): don't use
              gtk_widget_popup().
      
              * gtk/*.[hc]: s/activate_mnemonic/mnemonic_activate/g;
      
              * gtk/gtkmenufactory.[hc]: removed this long-standingly deprecated
              widget.
      
              * docs/Changes-2.0.txt: updates.
      770938bf
  16. 23 Mar, 2001 2 commits
    • Havoc Pennington's avatar
      Apply property patch from Lee Mallabone · dc0cd67d
      Havoc Pennington authored
      2001-03-23  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkhandlebox.c: Apply property patch from Lee Mallabone
      
      	* gtk/gtkbox.c: Apply property patch from Lee Mallabone
      
      	* gtk/gtkcheckmenuitem.c: Apply property patch from Lee Mallabone,
      	and deprecated gtk_check_menu_item_set_show_toggle().
      
      	* gtk/gtkbutton.c: Apply property patch from Lee Mallabone
      
      	* gtk/gtkfilesel.c: Apply property patch from Lee Mallabone
      
      	* gtk/gtkframe.c: Apply property patch from Lee Mallabone
      dc0cd67d
    • Havoc Pennington's avatar
      fix up some docs · 4291350f
      Havoc Pennington authored
      2001-03-23  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktoolbar.c, gtk/gtkimcontext.c, gtk/gtklabel.c: fix up
      	some docs
      
      2001-03-23  Havoc Pennington  <hp@redhat.com>
      
      	* gdk/gdk-sections.txt: updates
      
      	* gtk/gtk-sections.txt: updates
      
      	* gtk/gtk-docs.sgml: mop up TreeModelSimple entity
      
      	* gdk/gdk-docs.sgml: remove input method
      	and input context docs
      4291350f
  17. 22 Mar, 2001 2 commits
    • Havoc Pennington's avatar
      docs on GdkKeymap · 18b5348b
      Havoc Pennington authored
      2001-03-22  Havoc Pennington  <hp@redhat.com>
      
      	* gdk/tmpl/keys.sgml: docs on GdkKeymap
      18b5348b
    • Tim Janik's avatar
      some cleanups, fixed mnemonic_widget handling, added PROP_MNEMONIC_WIDGET. · c2c98d9e
      Tim Janik authored
      Thu Mar 22 13:01:44 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/gtklabel.[hc]: some cleanups, fixed mnemonic_widget handling,
              added PROP_MNEMONIC_WIDGET.
      
              * gtk/gtkwindow.c (gtk_window_activate_mnemonic):
              (gtk_window_remove_mnemonic):
              (gtk_window_add_mnemonic): fixed assertions.
              (gtk_window_activate_mnemonic): constrain modifier checks to those
              permitted by gtk_accelerator_get_default_mod_mask().
              got rid of gtk_window_get_default_accel_group().
      
              * gtk/gtkwidget.c (gtk_widget_real_activate_mnemonic): handle non
              activatable widgets either by focussing or a warning.
              added a signal accumulator to ::activate_mnemonic which stops the
              emission once a handler returned TRUE.
      c2c98d9e
  18. 19 Mar, 2001 1 commit
    • Havoc Pennington's avatar
      Make GtkIconSource an opaque datatype, and add a bunch of accessor · 73e9d113
      Havoc Pennington authored
      2001-03-19  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkiconfactory.c: Make GtkIconSource an opaque datatype, and
      	add a bunch of accessor functions. This is because we have
      	reasonable expectations of extending what fields it contains in
      	the future.
      
      	* gtk/gtkstyle.c (gtk_default_render_icon): adapt to icon source
      	changes
      
      	* gtk/gtkrc.c (gtk_rc_parse_icon_source): fix to use new
      	GtkIconSource
      73e9d113
  19. 18 Mar, 2001 1 commit
    • Tim Janik's avatar
      added rc-style argument GtkSpinButton::shadow_type. removed · ac68581f
      Tim Janik authored
      Sun Mar 18 01:15:30 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkspinbutton.[hc]: added rc-style argument
              GtkSpinButton::shadow_type.
              removed spin_button->shadow_type, gtk_spin_button_set_shadow_type()
              and ARG_SHADOW_TYPE as it doesn' make much sense to try to override
              rc-style settings.
      
              * gtk/gtkfixed.c: removed gtk_fixed_paint() (was unused).
      
              * gtk/gtkwidget.c: quark cleanups.
      
              * gtk/gtkrc.[hc]: added gtk_rc_scanner_new() to create an rc-file
              scanner with appropriate configuration, renamed GtkRcStyleClass.clone
              to create_rc_style() (we don't do cloning in standard OO sense).
              added per rc style properties.
      
              * gtk/gtkstyle.[hc]: added code to retrive pspec conformant rc-style
              property values and for caching those. some cleanups.
      
              * gtk/Makefile.am: -DG_DISABLE_CONST_RETURNS.
      
              * gtk/gtksettings.[hc]: new file for global rc-file properties
              (at least currently, should get extended to support X properties
              and other communication mechanisms).
      
              * gtk/gtkwidget.[hc]: added style property support:
              (gtk_widget_class_install_style_property_parser): install style
              property pspec with parser function for rc-file values other
              than LONG, DOUBLE or STRING.
              (gtk_widget_class_install_style_property): same as above without
              parser (parsers are going to be needed quite infrequently).
              (gtk_widget_style_get_property): retrive style property value.
              (gtk_widget_style_get_valist): same as above with varargs support,
              has NOCOPY semantics.
              (gtk_widget_style_get): wrapper around gtk_widget_style_get_valist().
      ac68581f
  20. 15 Mar, 2001 1 commit
    • Havoc Pennington's avatar
      Delete. · 872efdd9
      Havoc Pennington authored
      2001-03-14  Havoc Pennington  <hp@redhat.com>
      
              * gtk/gtkdata.h, gtk/gtkdata.c: Delete.
      
      	* gtk/gtk.h: remove gtkdata.h
      
      	* gtk/Makefile.am: remove gtkdata
      
      	* gtk/gtktext.c (gtk_text_set_adjustments): connect to "destroy"
      	not "disconnect" on the adjustments.
      
      	* gtk/gtktooltips.h, gtk/gtktooltips.c: derive from GtkObject not
      	GtkData
      
      	* gtk/gtkadjustment.h, gtk/gtkadjustment.c: derive from GtkObject
      	not GtkData
      
      	* configure.in: handle case where X render exists, but Pango lacks
      	Xft support.
      
      2001-03-14  Havoc Pennington  <hp@redhat.com>
      
      	* Makefile.am (gdk-pixbuf-marshal.c): Use different temporary file
      	from gdk-pixbuf-marshal.h, fixes parallel makes.
      
      2001-03-14  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtk-docs.sgml: remove gtkdata, gtktreemodelsimple
      
      	* gtk/gtk.types: remove gtk_data_get_type
      872efdd9
  21. 12 Mar, 2001 1 commit
  22. 09 Mar, 2001 1 commit
  23. 08 Mar, 2001 1 commit
    • Tim Janik's avatar
      added accumulator data argument to g_signal_newc() functions. · 06718ecf
      Tim Janik authored
      Thu Mar  8 16:51:21 2001  Tim Janik  <timj@gtk.org>
      
              * *.c: added accumulator data argument to g_signal_newc()
              functions.
      
              * gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_model):
              * gtk/gtktreeview.c (gtk_tree_view_setup_model):
              * gtk/treestoretest.c (make_window):
              s/g_signal_connect/g_signal_connectc/.
      
              * gtk/gtktextbuffer.c: completed signal arg fixups,
              they also needed G_SIGNAL_TYPE_STATIC_SCOPE flag.
      06718ecf
  24. 07 Mar, 2001 2 commits
    • Havoc Pennington's avatar
      new function, turns off decorations for a window. · 9d1e2a13
      Havoc Pennington authored
      2001-03-07  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkwindow.c (gtk_window_set_decorated): new function, turns
      	off decorations for a window.
      
      	* demos/gtk-demo/button_box.c (create_bbox): adapt to button box
      	changes
      
      	* gtk/gtklabel.c (gtk_label_get_layout_offsets): new function
      	to get location of PangoLayout inside the label, closes #51198
      
      	* gtk/testgtk.c (create_bbox): fix up button box usage
      
      	* gtk/testcalendar.c (create_calendar): fix up button box usage
      
      	* gtk/gtkfilesel.c (gtk_file_selection_init): fixup buttonbox usage
      
      	* gtk/gtkdialog.c (gtk_dialog_init): fixup buttonbox usage
      
      	* gtk/gtkhbbox.h: deprecations
      
      	* gtk/gtkvbbox.h: deprecations
      
      	* gtk/gtkbox.c (gtk_box_get_spacing): new function, used to
      	emulate deprecated gtk_button_box_get_spacing
      
      	* gtk/gtkbbox.h: deprecate some useless functions, remove entirely
      	the "set global default" functions
      	(struct _GtkButtonBox): remove "spacing" field, use the one from
      	GtkBox base class
      
      	* gtk/gtkbbox.c (_gtk_button_box_child_requisition): rename with uscore
      
      	* gtk/gtkiconfactory.c (gtk_icon_set_render_icon): If we fail to
      	render the icon, return the missing image icon.
      
      	* gtk/gtkimage.c (gtk_image_set_from_file): fall back to missing
      	image icon if the load fails.
      
      	* gtk/gtkstock.h (GTK_STOCK_MISSING_IMAGE): Add stock icon for use
      	when no image is found; should be the Netscape "missing image"
      	icon eventually but for now is a random image
      
      	* gtk/gtkwindow.c (gtk_window_set_role): new function, sets the
      	role for the session manager
      
      	* gtk/testgtk.c (dnd_drop): remove use of GTK_WINDOW_DIALOG
      
      	* gtk/gtkcompat.h (GTK_WINDOW_DIALOG): compat #define
      	GTK_WINDOW_DIALOG GTK_WINDOW_TOPLEVEL
      
      	* gtk/gtkenums.h (enum GtkWindowType): remove GTK_WINDOW_DIALOG
      9d1e2a13
    • Tim Janik's avatar
      marshaller fixes. · 35af5c4e
      Tim Janik authored
      Wed Mar  7 13:24:57 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/*.c: marshaller fixes.
      
              * gtk/gtkmarshal.list: extreme cleanup.
      
              * gtk/gtktreeview.c (gtk_tree_view_class_init): disable interface
              param spec for now.
      
              * gtk/gtktexttag.c (gtk_text_tag_set_property): use g_value_get_boxed()
              where appliable.
      
              * gtk/gtktypeutils.[hc]: updates to GLib API changes.
              special cased autogenerated boxed types from gtktypebuiltins_ids.c
              which are not reference counted:
              GtkSelectionData, GdkEvent, GdkColor, GtkTextIter, PangoTabArray,
              PangoFontDescription, GtkTreeIter and GtkTreePath.
      
      Thu Mar  1 03:58:56 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/gtktreeselection.h:
              * gtk/gtktreemodel.c:
              * gtk/gtktreedatalist.[hc]: fixed includes. no gobject/*
              file should be included directly, and gobject/gmarshal.h
              as well as gtk/gtkmarshal.h even can't be included directly.
      
              * Makefile.am: grr, install gtk-config-2.0.
      
              * gtk/testgtk.c:
              * gtk/simple.c:
              * gtk/gtkmenu.c:
              * gtk/gtkitemfactory.c: use g_object_connect() instead of
              passing "*signal*::*" args to gtk_widget_set().
      
              * gtk/gtktypeutils.[hc]: got rid of GTK_TYPE_SIGNAL.
      
              * gtk/*.c: removed trailer arg from property setters and getters.
              macro fixups.
      
      Thu Mar  1 04:01:57 2001  Tim Janik  <timj@gtk.org>
      
              * test-gdk-pixbuf.c: fixed includes.
      35af5c4e
  25. 03 Mar, 2001 1 commit
    • Owen Taylor's avatar
      You can't use + as a metacharacter for basic regular expressions. (This · a10898b6
      Owen Taylor authored
      Sat Mar  3 17:20:53 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* */Makefile.am (scan-build.stamp): You can't use
      	+ as a metacharacter for basic regular expressions.
      	(This was the "all objects disappear")
      
      	* gdk/gdk-sections.txt gdk-pixbuf/gdk-pixbuf-sections.txt
      
      	* */*-unused.sgml: Remove a lot of empty stuff. (No
      	point in saving old docs when there aren't any.)
      a10898b6
  26. 12 Feb, 2001 1 commit
    • Owen Taylor's avatar
      Use the new snazzy mother-of-all-gtk-doc-makefiles. · 32abeb4c
      Owen Taylor authored
      Sun Feb 11 22:16:34 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* */Makefile.am: Use the new snazzy mother-of-all-gtk-doc-makefiles.
      
      	* gdk/tmpl/* gdk-pixbuf/tmpl/*: Recover a bunch of docs that were
      	lost at one point.
      32abeb4c
  27. 03 Feb, 2001 1 commit
  28. 31 Jan, 2001 1 commit
    • Havoc Pennington's avatar
      bracket in #ifdef GTK_ENABLE_BROKEN. · f7d593c9
      Havoc Pennington authored
      2001-01-30  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtktreeitem.h, gtk/gtktree.h, gtk/gtktext.h: bracket in
      	#ifdef GTK_ENABLE_BROKEN.
      
      	* gtk/gtktreeitem.c, gtk/gtktree.c, gtk/gtktext.c: #define
      	GTK_ENABLE_BROKEN just before including the broken headers.
      
      	* gtk/gtktypeutils.c: #define GTK_ENABLE_BROKEN, so we can get the
      	deprecated types registered.
      
      	* gtk/testgtk.c, gtk/testselection.c: #define GTK_ENABLE_BROKEN,
      	we have to test the broken stuff.
      
              * docs/Changes-2.0.txt: explain GTK_ENABLE_BROKEN
      
      2001-01-30  Havoc Pennington  <hp@pobox.com>
      
              Also committed a bunch of automatic changes made by gtk-doc,
      	after reviewing for correctness.
      
      	* gtk/tmpl/gtktext.sgml: add warning about deprecation and note
      	about what to use instead
      
      	* gtk/tmpl/gtktree.sgml: ditto
      
      	* gtk/Makefile.am (scan): pass --deprecated-guards option to
      	gtk-doc; requires new version of gtk-doc from CVS
      
      	* gtk/gtk-docs.sgml: move GtkText to the deprecated section
      	instead of the GtkTextView section. Oops.
      f7d593c9
  29. 09 Jan, 2001 1 commit
    • Owen Taylor's avatar
      Restore build. · c26e3eee
      Owen Taylor authored
      Mon Jan  8 15:21:15 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* Makefile.am (SUBDIRS): Restore build.
      
      	* gdk/gdk-sections.txt gdk/gdk-docs.sgml
      	  gdk-pixbuf/gdk-pixbuf-sections.txt
      	  gtk/gtk-sections.txt gtk/gtk-docs.sgml: : Update.
      
      	* */tmpl/*: Changes from update.
      c26e3eee
  30. 21 Nov, 2000 1 commit
  31. 14 Nov, 2000 1 commit
  32. 06 Nov, 2000 1 commit
    • Havoc Pennington's avatar
      Derive from GtkDialog, and use stock buttons. Should be 100% source · 69f42512
      Havoc Pennington authored
      2000-11-02  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkfilesel.h, gtk/gtkfilesel.c: Derive from GtkDialog, and
      	use stock buttons. Should be 100% source compatible, appropriate
      	filesel fields now point to dialog->vbox and dialog->action_area.
      	On the bizarre side, dialog->action_area and filesel->action_area
      	are not the same widget.
      	(gtk_file_selection_init): Put some padding around the selection
      	entry, so it isn't touching the GtkDialog separator.
      
      	* gtk/gtkfontsel.h, gtk/gtkfontsel.c: Derive from GtkDialog,
      	use stock buttons, etc. Should also be source compatible.
      	Set the dialog default title in _init not _new().
      
      	* gtk/gtkcolorseldialog.c (gtk_color_selection_dialog_init):
      	Use stock buttons; don't put a button box inside the existing
      	dialog button box. Don't bother with push/pop colormap anymore.
      
      	* gtk/gtkdialog.h (GtkResponseType): Add a bunch of more
      	specific GTK_RESPONSE_* values. This is clearer than ACCEPT/REJECT
      	for message dialog, and necessary for the font selection and color
      	selection with help and apply buttons.
      
      	* gtk/gtkdialog.c (gtk_dialog_add_button): Return a pointer
      	to the created button widget. Set GTK_CAN_DEFAULT on the button.
      	(gtk_dialog_init): Default to GTK_BUTTONBOX_END, put less spacing
      	between buttons, put less padding around the action area.
      	(gtk_dialog_run): Exit on unmap rather than on destroy.
      	This will also exit the loop if the widget is hidden.
      	(gtk_dialog_delete_event_handler): Use GTK_RESPONSE_DELETE_EVENT
      	instead of GTK_RESPONSE_NONE; since we're already adding a bunch
      	of GTK_RESPONSE_* stuff, this seems cleaner, and lets you
      	special-case delete event.
      
      	* gtk/gtktexttagtable.c, gtk/gtktextview.c: Fix doc comment
      	formatting
      69f42512
  33. 05 Nov, 2000 1 commit