1. 21 Jun, 2001 3 commits
    • Owen Taylor's avatar
      Handle the case without XKB properly. · d809ceee
      Owen Taylor authored
      Thu Jun 21 13:42:01 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/x11/gdkkeys-x11.c (gdk_keymap_get_direction): Handle
      	the case without XKB properly.
      
      	* gtk/gtkrc.c (gtk_rc_set_default_files): Remove
      	unused gtk_rc_auto_parse variable.
      
      	* gtk/gtkrc.[ch] gtk/gtkstyle.c docs/Changes-2.0.txt:
      	Remove gtk_rc_set_image_loader(), gtk_rc_load_image(), no
      	longer needed with GdkPixbuf.
      
      	* gtk/gtkrc.c (_gtk_rc_init): Make private.
      d809ceee
    • Owen Taylor's avatar
      Update a bit. · 9c3c1cd3
      Owen Taylor authored
      Thu Jun 21 12:31:29 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtk-sections.txt: Update a bit.
      
      	* Makefile.am: build GTK+ docs.
      9c3c1cd3
    • Tim Janik's avatar
      added gtk_container_child_set_property() and · f1e23c40
      Tim Janik authored
      Thu Jun 21 02:13:40 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkcontainer.[hc]: added gtk_container_child_set_property() and
              gtk_container_child_get_property().
      f1e23c40
  2. 20 Jun, 2001 3 commits
  3. 19 Jun, 2001 3 commits
    • Jonathan Blandford's avatar
      New functions to clear a model. · 8413ee73
      Jonathan Blandford authored
      Tue Jun 19 19:13:19 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkliststore.c (gtk_list_store_clear):
      	* gtk/gtktreestore.c (gtk_tree_store_clear): New functions to
      	clear a model.
      8413ee73
    • Tim Janik's avatar
      fix PROP_EVENTS. · 5ebd1d02
      Tim Janik authored
      Mon Jun 18 02:00:49 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkwidget.c (gtk_widget_get_property): fix PROP_EVENTS.
      
              * gtk/Makefile.am:
              * gtk/gtk.h: disabled GtkPacker compilation.
      
              * gtk/gtkarg.[hc], gtk/gtkargcollector.c: got rid of these.
      
              * gtk/gtknotebook.c:
              * gtk/gtktable.c:
              * gtk/gtkbox.c: ported this over to child properties.
      
              * gtk/gtksettings.c: fetch class properties via
              g_object_class_list_properties().
      
              * gtk/gtkcontainer.[hc]: implemented child properties, got rid of the
              child arg interface. use gobjectnotifyqueue.c for child property
              notification.
      
              * gtk/gtkwidget.[hc]: provide necessary means for container child
              properties, i.e. ::child_notify signal,
              gtk_widget_freeze_child_notify(),
              gtk_widget_child_notify(),
              gtk_widget_thaw_child_notify().
      
              * tests/testgtk.c: removed inferior property handling code, for
              property editing, a generic module should be used, and GLE
              coincidentally fullfills that purpose.
      
              * docs/reference/Makefile.am: disabled gtk docs building, gtk-doc
              needs to be adapted to g_object_class_list_properties() before this
              builds again.
      5ebd1d02
    • Jonathan Blandford's avatar
      New function to test if a node is expanded. · 07ddd35c
      Jonathan Blandford authored
      Mon Jun 18 20:06:10 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_row_expanded): New function to
      	test if a node is expanded.
      07ddd35c
  4. 18 Jun, 2001 1 commit
  5. 15 Jun, 2001 4 commits
    • Jonathan Blandford's avatar
      Rename gtk_tree_sortable_sort_column_id_set_func. It's much shorter now. · 67f8b5bd
      Jonathan Blandford authored
      
      Fri Jun 15 18:53:48 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreesortable.c (gtk_tree_sortable_set_sort_func): Rename
      	gtk_tree_sortable_sort_column_id_set_func.  It's much shorter now.
      	* gtk/gtktreeview.c (gtk_tree_view_sort_iter_changed): WOOO!!!
      	Now I can really reorder/sort all Store widgets.  treesorttest
      	seems to just work now.
      	* gtk/gtklistview.c (gtk_list_store_iter_changed): Whoops.
      	testtreesort worked through a big coincidence all this time.
      	* gtk/gtkrbtree.c (_gtk_rbtree_reorder): Nasty bug fix in nasty
      	code.
      	* tests/testtreecolumns.c: Big 'ol warning at the top letting
      	people know that this code should never ever ever be copied.
      
      HA!
      
      While everyone else was busy flaming eash other over configuration
      engines, I secretly got sorting completely working with store widgets
      and GtkTreeView.  GtkTreeModelSort, here I come!!!!!
      67f8b5bd
    • Jonas Borgstrm's avatar
      Fixed a small typo, it should be GTK_WINDOW_GROUP_GET_CLASS and not · 6adcae81
      Jonas Borgstrm authored
      2001-06-15  Jonas Borgstrm  <jonas@codefactory.se>
      
      	* gtk/gtkwindow.h: Fixed a small typo, it should be
      	GTK_WINDOW_GROUP_GET_CLASS and not GTK_WINDOW_GET_CLASS
      	on line 134.
      6adcae81
    • Havoc Pennington's avatar
      Docs fixups, and: · 85b23757
      Havoc Pennington authored
      2001-06-14  Havoc Pennington  <hp@redhat.com>
      
              Docs fixups, and:
      
      	* gtk/gtkcompat.h: remove GTK_DISABLE_COMPAT_H, replace with
      	GTK_DISABLE_DEPRECATED
      85b23757
    • Alexander Larsson's avatar
      Update to new PangoLanguage changes. · 46880b96
      Alexander Larsson authored
      2001-06-15  Alexander Larsson  <alexl@redhat.com>
      
      	* gdk/linux-fb/gdkfont-fb.c (gdk_font_from_description):
      	Update to new PangoLanguage changes.
      
      	* gtk/gtkwindow-decorate.c:
      	* gtk/gtkwindow.[ch]:
      	Added setting argument to gtk_window_set_has_frame ()
      46880b96
  6. 14 Jun, 2001 7 commits
    • Jonathan Blandford's avatar
      Whoops. Forgot this a couple months ago. Now GtkTreeStore sort of sorts. · 426ac9c6
      Jonathan Blandford authored
      Thu Jun 14 19:21:27 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreestore.c (gtk_tree_store_sort_helper): Whoops.  Forgot
      	this a couple months ago.  Now GtkTreeStore sort of sorts.  I'll
      	finish it off tonight, though it basically works now when it's a
      	list.  Also, I have a sinking feeling neither GtkTreeStore or
      	GtkListStore actually resort when adding a new item.  I'll look
      	into it.
      426ac9c6
    • Havoc Pennington's avatar
      fix bug identified by warnings I just added to gtktextbuffer · c6046481
      Havoc Pennington authored
      2001-06-14  Havoc Pennington  <hp@redhat.com>
      
      	* demos/gtk-demo/main.c (load_file): fix bug identified by
      	warnings I just added to gtktextbuffer
      c6046481
    • Havoc Pennington's avatar
      fix other typo · a0021967
      Havoc Pennington authored
      2001-06-14  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkwindow.c (window_group_cleanup_grabs): fix other typo
      
      	* gtk/gtkwidget.c (gtk_widget_propagate_state): fix typo
      
      	* gtk/gtktextbtree.c: don't leak node data all over the place.
      
      	* demos/gtk-demo/main.c (main): create fontify tags for the right
      	buffer
      
      	* gtk/gtktextbuffer.c, gtk/gtktexttagtable.c: enhance docs
      	to mention tags in the same table can't have the same name,
      	suggested by Skip Montanaro
      
      2001-06-11  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktexttagtable.c (gtk_text_tag_table_add): improve warning
      	for trying to add two tags with same name to the tag table
      
      	* demos/gtk-demo/main.c (main): fix colors ;-)
      a0021967
    • Owen Taylor's avatar
      Add a GtkWindowGroup struct that allows grouping together multiple windows · cf2fab90
      Owen Taylor authored
      Fri Jun  8 17:56:52 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwindow.[ch] gtk/gtkmain.c: Add a GtkWindowGroup struct
      	that allows grouping together multiple windows so that grabs
      	within that set of windows only affect those windows.
      
      	* gtk/gtkmain.c gtk/gtkwidget.[ch]: Add a "grab_notify"
      	signal for notification when a widget becomes shadowed
      	by a grab or is no longer shadowed by a grab.
      
      	* gtk/gtkwidget.c (gtk_widget_propagate_state)
      	  gtk/gtkmain.c: (gtk_widget_grab_add): Don't allow
      	insenstive widgets to maintain a grab.
      cf2fab90
    • Owen Taylor's avatar
      Add missing gdk_rectangle_get_type() prototype. · 22491fd6
      Owen Taylor authored
      Mon Jun 11 18:15:16 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdk.h: Add missing gdk_rectangle_get_type() prototype.
      
      	* gtk/gtk[hv]scale.c: Include math.h, stdlib.h
      
      	* gdk/gdkpango.h gtk/gtkclist.c gtk/gtkentry.c gtk/gtkmain.[ch]
      	  gtk/gtkspinbutton.c gtk/gtkstyle.c gtk/gtktextbuffer.c
      	  gtk/gtktextdisplay.c gtk/gtktextiter.[ch]
      	  gtk/gtktextlayout.c gtk/gtktexttag.[ch] gtk/gtkwidget.c: Adapt
      	  to recent changes in Pango.
      
      	* tests/testgtk.c: Set language tags with gtk_label_set_markup()
      	  to test whether the basic engine honors them.
      22491fd6
    • Alexander Larsson's avatar
      Add some example config files that can be used with the URW fonts. · 7d1a049b
      Alexander Larsson authored
      2001-06-14  Alexander Larsson  <alexl@redhat.com>
      
              * docs/README.linux-fb:
      	Add some example config files that can be used with the URW fonts.
      
      	* gdk/linux-fb/gdkvisual-fb.c (gdk_visual_init):
      	Set up the color ramps for DirectColor mode.
      7d1a049b
    • Havoc Pennington's avatar
      version to 1.3.6 · 68514482
      Havoc Pennington authored
      2001-06-11  Havoc Pennington  <hp@redhat.com>
      
      	* configure.in: version to 1.3.6
      68514482
  7. 13 Jun, 2001 6 commits
  8. 12 Jun, 2001 2 commits
    • Alexander Larsson's avatar
      New functions. · a20b4599
      Alexander Larsson authored
      2001-06-12  Alexander Larsson  <alla@lysator.liu.se>
      
      	* gdk/linux-fb/gdkkeyboard-fb.c (gdk_keymap_get_default,
      	gdk_keymap_get_direction): New functions.
      a20b4599
    • Jonathan Blandford's avatar
      further justify gtk_tree_model_get_flags by adding a second flag for atk. · 5c60d1cf
      Jonathan Blandford authored
      Tue Jun 12 12:41:27 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodel.h (GTK_TREE_MODEL_LIST_ONLY): further justify
      	gtk_tree_model_get_flags by adding a second flag for atk.
      
      	* gtk/gtktreemodel.c: make cursor behavior interact better with
      	mouse presses.
      5c60d1cf
  9. 11 Jun, 2001 1 commit
  10. 10 Jun, 2001 1 commit
  11. 09 Jun, 2001 1 commit
    • Havoc Pennington's avatar
      add read-only "scroll_offset" property for notification when the layout · 994a8daa
      Havoc Pennington authored
      2001-06-08  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkentry.c (gtk_entry_class_init): add read-only
      	"scroll_offset" property for notification when the layout offsets
      	may have changed
      	(gtk_entry_adjust_scroll): add notify for scroll_offset
      	(gtk_entry_layout_index_to_text_index): function to compensate for
      	preedit string when doing coordinate stuff on the entry's layout
      	(gtk_entry_text_index_to_layout_index): inverse function
      	(gtk_entry_get_layout_offsets): hook to get current position of
      	the layout
      	(gtk_entry_get_layout): hook to get the layout itself.
      
      	* gtk/gtklabel.c (gtk_label_get_layout): new function
      994a8daa
  12. 08 Jun, 2001 8 commits
    • Jonathan Blandford's avatar
      New keybinding. (gtk_tree_view_focus): Fix merge conflict. · a055d062
      Jonathan Blandford authored
      Fri Jun  8 19:49:29 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row): New
      	keybinding.
      	(gtk_tree_view_focus): Fix merge conflict.
      a055d062
    • Jonathan Blandford's avatar
      new function to clean up cursor handling. · f92ccfc0
      Jonathan Blandford authored
      Fri Jun  8 18:41:30 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_set_cursor): new function to
      	clean up cursor handling.
      
      	Pretty much nailed single selection motion, and multi-selection
      	focus minus the fact that the anchor isn't quite right.
      f92ccfc0
    • Havoc Pennington's avatar
      remove bogus g_return_if_fail · 30d3e85d
      Havoc Pennington authored
      2001-06-08  Havoc Pennington  <hp@redhat.com>
      
      	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_load_module): remove
      	bogus g_return_if_fail
      
      	* io-gif.c (gif_get_lzw): if delay time is 0 or smaller than
      	likely timeout resolution, set it to an arbitrarily-chosen short
      	delay.
      	Fixes bug #55953 from warmenhoven@yahoo.com
      30d3e85d
    • 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
    • Alexander Larsson's avatar
      Added compat macros for all old GTK_TYPE_GDK_xxx types. Fixes bug #52892 · 34848237
      Alexander Larsson authored
      2001-06-08  Alex Larsson  <alexl@redhat.com>
      
      	* gtk/gtkcompat.h.in:
      	Added compat macros for all old GTK_TYPE_GDK_xxx types.
      	Fixes bug #52892
      34848237
    • Havoc Pennington's avatar
      forgot to save · aa0b73d8
      Havoc Pennington authored
      aa0b73d8
    • Havoc Pennington's avatar
      had GtkContainerClass as parent still · c9651bfd
      Havoc Pennington authored
      2001-06-08  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkhsv.h (struct _GtkHSVClass): had GtkContainerClass as
      	parent still
      c9651bfd
    • 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