1. 18 Sep, 2001 4 commits
    • Owen Taylor's avatar
      Fix up for changes to PangoFontDescription. · a15d5c36
      Owen Taylor authored
      Wed Sep 12 11:21:14 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkcellrenderertext.[ch] gtk/gtktexttag.[ch]
      	  gtk/gtktextview.c tests/testgtk.c: Fix up for changes to
      	PangoFontDescription.
      
      	* gtk/gtkentry.c gtk/gtkclist.c gtk/gtkcellrenderertext.c
      	gtk/gtkspinbutton.c: Fix up for change to PangoMetrics
      	structure.
      
      	* gtk/gtkfontsel.c: Fix up for new Pango font listing API.
      
      	* gtk/gtkstyle.[ch]: Add gtk_style_get_font/set_font to replace
        	direct access to style->font. Deprecate gtk_style_ref/unref.
      
       	* gtk/gtkclist.c gtk/gtkctree.c gtk/gtkstyle.c gtk/gtkwidget.c:
        	Remove gtk_style_ref/unref with g_object_ref/unref.
      
        	* gtk/gtkcalendar.c: Remove leftover macros accessing
        	style->font.
      
        	* gtk/gtkhruler.c (gtk_hruler_draw_ticks): Remove unused
        	variable.
      
        	* gtk/gtktext.c gtk/gtklabel.c: Use gtk_style_get_font() instead of
      	style->font.
      a15d5c36
    • Jonathan Blandford's avatar
      Get rid of broken "can_edit" and "can_activate" properties in favor of · c45ee0bf
      Jonathan Blandford authored
      Tue Sep 18 13:51:35 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkcellrenderer.h (enum): Get rid of broken "can_edit" and
      	"can_activate" properties in favor of
      	GTK_CELL_RENDERER_MODE_INERT, GTK_CELL_RENDERER_MODE_ACTIVATABLE,
      	and GTK_CELL_RENDERER_MODE_EDITABLE
      c45ee0bf
    • Jonathan Blandford's avatar
      Add put for use with editable widgets. This function is private, and · f724f836
      Jonathan Blandford authored
      Tue Sep 18 12:12:43 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_put): Add put for use with
      	editable widgets.  This function is private, and should only be
      	used by GtkTreeView.
      f724f836
    • Matt Wilson's avatar
      don't use += before = · cbae2794
      Matt Wilson authored
      2001-09-18  Matt Wilson  <msw@redhat.com>
      
      	* docs/Makefile.am (EXTRA_DIST): don't use += before =
      
      	* docs/faq/Makefile.am (EXTRA_DIST): likewise
      
      	* docs/tutorial/Makefile.am (EXTRA_DIST): likewise
      
      	* gdk/Makefile.am (MAINTAINERCLEANFILES): likewise
      	(EXTRA_HEADERS): likewise
      
      	* gtk/Makefile.am (MAINTAINERCLEANFILES): likewise
      	(EXTRA_HEADERS): likewise
      	(EXTRA_DIST): likewise
      	(CLEANFILES): likewise
      
      	* gtk/stock-icons/Makefile.am (CLEANFILES): likewise
      
      	* tests/Makefile.am (EXTRA_DIST): likewise
      
      	* Makefile.am (install-data-local): changed to use
      	install-data-hook, which runs after install-pkgconfigDATA, so that
      	the pkgconfigdir will have been created and populated first.
      
      gdk-pixbuf/ChangeLog
      
      2001-09-17  Matt Wilson  <msw@redhat.com>
      
      	* Makefile.am (libpixbufloader_xbm_la_LDFLAGS): removed duplicate
      	LDFLAGS definition, use the -avoid-version one.
      	(libpixbufloader_tga_la_LDFLAGS): likewise
      cbae2794
  2. 17 Sep, 2001 2 commits
    • Jonathan Blandford's avatar
      Add editable interface. This should be the last big GtkTreeView API · a2516791
      Jonathan Blandford authored
      Mon Sep 17 17:39:52 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkcelleditable.[ch]: Add editable interface.  This should
      	be the last big GtkTreeView API change.
      
      	* gtk/gtkcellrenderer.[ch]: Get rid of the "event" vfunc, and
      	replace with "activate" and "start_editing".  Also, added a
      	"can_activate" and "can_edit" property.
      
      	* gtk/gtktreeviewcolumn.c: modify to use above.
      a2516791
    • Alexander Larsson's avatar
      Handle scroll wheel events. · 9c7f0f8c
      Alexander Larsson authored
      2001-09-16  Alexander Larsson  <alla@lysator.liu.se>
      
      	* gtk/gtkoptionmenu.c:
      	Handle scroll wheel events.
      9c7f0f8c
  3. 14 Sep, 2001 2 commits
  4. 13 Sep, 2001 2 commits
  5. 12 Sep, 2001 4 commits
  6. 11 Sep, 2001 4 commits
    • Owen Taylor's avatar
      Implement a search path for GTK+ modules. · 69915aa7
      Owen Taylor authored
      Sat Sep  8 16:19:02 2001  Owen Taylor  <otaylor@redhat.com>
      
       	* gtk/gtkmain.c: Implement a search path for GTK+ modules.
      
       	* configure.in gtk/gtkrc.c gtk/Makefile.am: Look for modules
       	in gtk-2.0/<type>/major.minor.(micro-binary_age) rather
       	than in gtk-2.0/major.minor.micro/<type>/. This
       	works better for a search path for modules.
      
       	* gtk+-2.0.pc.in gtk+-2.0-uninstalled.pc.in: Add
       	gtk_binary_version variable holding major.minor.(micro-binary_age).
      
       	* modules/input/Makefile.am (moduledir): Fix installation
       	directory to match change in lookup location.
      
       	* gtk/gtkmain.c (gtk_init_check): Remove OS/2 code for dll
       	suffixes. Needs to be handled in g_module_build_path().
      
      	* gtk/gtkrc.c gtk/queryimmodules.c: Use g_build_filename() where
      	appropriate.
      69915aa7
    • Owen Taylor's avatar
      Fixed reversed comparison causing RC properties not to work. · 40a16c82
      Owen Taylor authored
      Tue Sep 11 13:59:12 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkrc.c (insert_rc_property): Fixed reversed comparison
      	causing RC properties not to work.
      40a16c82
    • Jakub Steiner's avatar
      d442fe57
    • Joshua N Pritikin's avatar
      minor fixes · 4eece537
      Joshua N Pritikin authored
      4eece537
  7. 10 Sep, 2001 8 commits
  8. 09 Sep, 2001 2 commits
  9. 08 Sep, 2001 11 commits
    • Havoc Pennington's avatar
      move some of the accel group functions into a Private subsection · 002d2b73
      Havoc Pennington authored
      2001-09-08  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtk-sections.txt: move some of the accel group functions
      	into a Private subsection
      
      2001-09-08  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtkaccelgroup.c: add docs to functions that I can imagine
      	people might want to use
      002d2b73
    • Havoc Pennington's avatar
      default xscale/yscale to 0.0, not 0.5, 0.5 isn't useful · 9ddcb3e0
      Havoc Pennington authored
      2001-09-08  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtkalignment.c (gtk_alignment_class_init): default
      	xscale/yscale to 0.0, not 0.5, 0.5 isn't useful
      
      	* tests/testtextbuffer.c: fix usage of gtk_text_iter_spew
      
      	* gtk/gtktextiter.c: fix docs
      	(gtk_text_iter_spew): get rid of this
      
      	* gtk/gtklayout.c: docs
      
      	* gtk/gtkbutton.c (gtk_button_construct_child): add an alignment
      	to center image and label together, instead of having image on
      	left and label centered, patch/suggestion from Jacob
      
      	* gtk/gtkdialog.c: docs
      
      2001-09-08  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/tmpl/gtklayout.sgml: docs
      
      	* gdk-pixbuf/gdk-pixbuf.sgml: remove the section on compiling
      	gdk-pixbuf since it isn't a standalone package anymore
      
      	* gtk/building.sgml: section on compiling GTK itself
      9ddcb3e0
    • Jonathan Blandford's avatar
      Write documentation Write documentation · 9e1fc3a7
      Jonathan Blandford authored
      Sat Sep  8 14:19:49 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkliststore.c: Write documentation
      	* gtk/gtktreestore.c: Write documentation
      
      Quick Documentation cleanup pass.
      9e1fc3a7
    • Owen Taylor's avatar
      Replace uses of GBSearchArray with GArray and bsearch(), to remove · fd97e931
      Owen Taylor authored
      Sat Sep  8 13:53:09 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkrc.[ch] gtk/gtkstyle.[ch]: Replace uses of GBSearchArray
      	with GArray and bsearch(), to remove dependency on a still
      	evolving interface that we want to keep private to glib/gobject.
      fd97e931
    • Havoc Pennington's avatar
      put GtkPacker back in here so it won't be in gtk-unused.txt, but don't put · 372853b1
      Havoc Pennington authored
      2001-09-08  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtk-sections.txt: put GtkPacker back in here so it won't be
      	in gtk-unused.txt, but don't put it back in gtk-docs.sgml.
      
      	Tons of other additions from gtk-unused.txt, but mostly skipping
      	all the tree stuff for now.
      
      2001-09-08  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_add_attribute):
      	docs fixes
      
      	* gtk/gtktable.c (gtk_table_get_col_spacing): docs fixes
      
      	* gtk/gtkspinbutton.c (gtk_spin_button_get_increments): docs fixes
      
      	* gtk/gtksocket.c (gtk_socket_steal): docs fixes
      
      	* gtk/gtkscrolledwindow.h: docs fixes
      
      	* gtk/gtkimage.c (gtk_image_new): docs fixes
      372853b1
    • Owen Taylor's avatar
      Prevent a false alarm constness warning with a cast. · f6d7585d
      Owen Taylor authored
      Sat Sep  8 01:49:22 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/x11/gdkmain-x11.c (_gdk_windowing_init_check): Prevent a
      	false alarm  constness warning with a cast.
      
      	* gdk/x11/gdkx.h: Undefine GDK_ROOT_PARENT before redefining it
      	for the inside-gdk case.
      f6d7585d
    • Jonathan Blandford's avatar
      remove g_print. · 92ed35d3
      Jonathan Blandford authored
      Sat Sep  8 01:44:18 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_set_dirty):
      	remove g_print.
      
      	* gtk/gtktreeview.c (gtk_tree_view_set_model): unref model when we
      	change models, #59899
      
      Sat Sep  8 01:44:32 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* POTFILES.in: missed one.
      92ed35d3
    • Havoc Pennington's avatar
      remove CellRendererTextPixbuf · ecc13fb5
      Havoc Pennington authored
      2001-09-08  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtk-docs.sgml: remove CellRendererTextPixbuf
      
      	* gtk/resources.sgml: add section on mailing lists, bugzilla, etc.
      
      	* gtk/tmpl/gtkaccelgroup.sgml: add long description
      
      	* gtk/gtk-sections.txt: reorder accel group section; probably need
      	to delete most of it
      
      	* gtk/tmpl/gtkmain.sgml: Clean it up a little bit
      
      	* gtk/gtk-docs.sgml: rearrange the list of "core/misc" sections so
      	that useful things are near the top and stupid junk is near the
      	bottom.
      
      	* gtk/tmpl/gtkfeatures.sgml: fix/finish this section
      
      	* gtk/gtk-docs.sgml: create a separate section for
      	overview/tutorial material and special notes, and put the
      	reference docs for the "misc non-widget" stuff into its own
      	section.
      
      	* gtk/compiling.sgml: write this section
      
      	* gtk/gtk-docs.sgml: The intro section weirdly had two paragraphs
      	that said the same thing. Delete one of them.
      ecc13fb5
    • Havoc Pennington's avatar
      tsk tsk, jrb broke the build · 162cabc7
      Havoc Pennington authored
      2001-09-07  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtk.h: tsk tsk, jrb broke the build
      162cabc7
    • Jonathan Blandford's avatar
      Removed 'fill' attribute. It was silly b/c that was a property of the cell · 4a9a6249
      Jonathan Blandford authored
      Fri Sep  7 20:45:29 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_pack_{start,end}):
      	Removed 'fill' attribute.  It was silly b/c that was a property of
      	the cell renderer, anyway.
      	(gtk_tree_view_column_render): Actually render the packed
      	renderers.
      	* doc/tree-column-sizing.txt: initial devel documentation.
      	* gtk/gtktreeview.c (gtk_tree_view_expand_all): Fix bug.
      	* gtk/gtkcellrenderertextpixbuf.[ch]: removed.
      
      	* tests/testtreefocus.c: fix up to reflect above changes.
      	* tests/testtreeview.c: ditto
      	* demos/gtk-demo/stock_browser.c: ditto
      4a9a6249
    • Alexander Larsson's avatar
      Removed unused function. · 27401e1e
      Alexander Larsson authored
      2001-09-07  Alex Larsson  <alexl@redhat.com>
      
      	* gdk/linux-fb/gdkcolor-fb.c:
      	Removed unused function.
      
      	* gdk/linux-fb/gdkdrawable-fb2.c
      	* gdk/linux-fb/gdkfont-fb.c:
      	Use PangoLanguage functions.
      
      	* gdk/linux-fb/gdkinput.c:
      	* gdk/linux-fb/gdkselection-fb.c:
      	Fix const warnings.
      
      	* gdk/linux-fb/gdkwindow-fb.c:
      	Fix warning. Implement gdk_window_set_icon_list() and
      	gdk_window_get_frame_extents(). (No icon support yet though.)
      
      	* gtk/gtkwindow.c (gtk_window_get_position):
      	If window->frame is set get the extents of it instead.
      27401e1e
  10. 07 Sep, 2001 1 commit
    • Owen Taylor's avatar
      Make the default default colormap the GdkRGB colormap, not the system · 6341c2f9
      Owen Taylor authored
      Fri Sep  7 18:50:59 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.c (gtk_widget_get_default_colormap):
      	Make the default default colormap the GdkRGB colormap,
      	not the system colormap.
      
      	* gtk/gtkinvisible.c (gtk_invisible_init)
      	  gtk/gtkwindow.c (gtk_window_init): Set the current
      	colormap, as returned by _gtk_widget_peek_colormap()
      	on the widget.
      
      	* gtk/gtkwidget.[ch]: Export _gtk_widget_peek_colormap
      	to GTK+. Make it return %NULL instead of the default
      	colormap if no colormap has explicitely been pushed.
      
      	* gtk/gtkwidget.c (gtk_widget_get_colormap): Check for
      	colormaps on ancestral widgets before defaulting the
      	the system default colormap.
      
      	* docs/Changes-2.0.txt: explain colormap changes.
      6341c2f9