1. 01 Jul, 2002 1 commit
  2. 08 Jun, 2002 1 commit
    • Jonathan Blandford's avatar
      Fix sizing bug. · 79c202b5
      Jonathan Blandford authored
      Fri Jun  7 23:11:42 2002  Jonathan Blandford  <jrb@gnome.org>
      
      	* gtk/gtktreeview.c (gtk_tree_view_real_expand_row): Fix sizing
      	bug.
      
      	* docs/reference/gtk/tmpl/gtkbutton.sgml: Remove ^M's.
      
      Not sure why all the docs updated.
      79c202b5
  3. 30 May, 2002 1 commit
  4. 28 May, 2002 1 commit
    • Matthias Clasen's avatar
      Markup fixes · 2aaf3c0e
      Matthias Clasen authored
      	* gtk/gtkwindow.c (gtk_window_move): Markup fixes
      
      	* gtk/gtkrc.c (gtk_rc_get_module_dir): Markup fixes.
      
      	* gdk/x11/gdkcursor-x11.c (gdk_cursor_new_for_screen): Update docs
      	for Docbook XML.
      
      	* gtk/*, gdk/*, gdk-pixbuf/*: Create XML, not SGML.
      
      	* gtk/tmpl/*: Remove property documentation which comes from the
      	source now.
      
      	* gtk/building.sgml: Remove traces of gxi.
      2aaf3c0e
  5. 14 May, 2002 1 commit
    • Owen Taylor's avatar
      Set the width of the layout to the actual wrap width (our requisition) not · 11aed263
      Owen Taylor authored
      Tue May 14 16:44:09 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtklabel.c (gtk_label_ensure_layout): Set
              the width of the layout to the actual wrap width
              (our requisition) not the width we set when calculating
              the width. This results in the lines being justified
              within the correct area. (#79157, Anders Carlsson)
      
              * gtk/gtkaccelgroup.c gtk/gtkmarshelers.list: Corrected
              registered parameter types of "accel_activate" and
              "accel_changed" signals. (Patch from Murray Cumming, #78798)
      
              * gtk/gtkrc.c (gtk_rc_make_default_dir): Switch
              binary-version and type to correspond to the
              current ordering in _gtk_get_module_path.
              (#78746, Sergey Kuzminov)
      
              * gtk/gtkrc.c (gtk_rc_get_module_dir): Add docs
              pointing to the GTK_PATH documentation.
      
              * gtk/Makefile.am (uninstall-local): Delete
              key themes as well. (#81286, Kristian Rietveld.)
      11aed263
  6. 30 Apr, 2002 1 commit
    • Owen Taylor's avatar
      Update for multihead. · 4f13adf9
      Owen Taylor authored
      Tue Apr 30 14:16:12 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtk-sections.txt: Update for multihead.
      4f13adf9
  7. 20 Apr, 2002 1 commit
  8. 18 Apr, 2002 1 commit
    • Matthias Clasen's avatar
      s/<!>/<!-- -->/g throughout the documentation to bring the produced · 1f75708d
      Matthias Clasen authored
      	* gtk/gtkitemfactory.c:
      	* gtk/gtkiconfactory.c:
      	* gtk/gtkwidget.c:
      	* gtk/gtkstyle.c:
      	* gtk/gtkrc.c:
      	* gtk/gtktreeviewcolumn.c:
      	* gtk/gtkdialog.c:
      	* gtk/gtktreemodel.c: s/<!>/<!-- -->/g throughout the
      	documentation to bring the produced Docbook closer to XML.
      
      	* gdk/tmpl/rgb.sgml:
      	* gdk/tmpl/general.sgml:
      	* gtk/tmpl/gtktogglebutton.sgml:
      	* gtk/tmpl/gtkaccellabel.sgml:
      	* gtk/tmpl/gtkradiobutton.sgml:
      	* gtk/tmpl/gtktreemodel.sgml:
      	* gtk/tmpl/gtkwidget.sgml:
      	* gtk/tmpl/gtkimage.sgml:
      	* gtk/tmpl/gtktooltips.sgml:
      	* gtk/tmpl/gtksignal.sgml:
      	* gtk/tmpl/gtkcombo.sgml:
      	* gtk/tmpl/gtkdnd.sgml:
      	* gtk/tmpl/gtksocket.sgml:
      	* gtk/tmpl/gtkdrawingarea.sgml:
      	* gtk/tmpl/gtkobject.sgml:
      	* gtk/tmpl/gtkpaned.sgml:
      	* gtk/tmpl/gtkmain.sgml: s/<!>/<!-- -->/g throughout the
      	documentation to bring the produced Docbook closer to XML.
      1f75708d
  9. 08 Feb, 2002 1 commit
    • Havoc Pennington's avatar
      add change_value virtual function, to fix build · b0c6f4f2
      Havoc Pennington authored
      2002-02-07  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtkspinbutton.h (struct _GtkSpinButtonClass): add
      	change_value virtual function, to fix build
      
      	* gtk/gtkpixmap.c (gtk_pixmap_class_init): parent_class was
      	from GtkWidget not GtkMisc. Not that it ever mattered.
      b0c6f4f2
  10. 30 Jan, 2002 1 commit
    • Owen Taylor's avatar
      Add x11.sgml. · e4cd6ef7
      Owen Taylor authored
      Tue Jan 29 23:41:31 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/Makefile.am (content_files): Add x11.sgml.
      
              * gtk/changes-2.0.sgml: SGML fix.
      
              * gtk/gtk-sections.txt: Updated.
      e4cd6ef7
  11. 12 Jan, 2002 1 commit
    • Havoc Pennington's avatar
      sgml fixes · c627d729
      Havoc Pennington authored
      2002-01-11  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/running.sgml: sgml fixes
      
      	* gtk/tmpl/gtksignal.sgml: sgml fixes
      
      	* gtk/tmpl/gtklabel.sgml: do the intro section
      
      2002-01-11  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtklabel.c: put in more links to Pango markup format docs
      	(gtk_label_set_justify): mention gtk_misc_set_alignment
      c627d729
  12. 10 Jan, 2002 1 commit
    • Matthias Clasen's avatar
      Rename to reset_rc_styles_recurse(). (#68084) · e5bba6a1
      Matthias Clasen authored
              * gtk/gtkwidget.c (gtk_widget_set_style_recurse): Rename to
              reset_rc_styles_recurse(). (#68084)
      
              * gtk/tmpl/gtkaccellabel.sgml: Remove duplicate docs.
      
              * gdk-pixbuf/Makefile.am (content_files): Add
              gdk-pixbuf-from-drawables.sgml. (#68232)
      
              * gtk/tmpl/gtkwidget.sgml: Improve docs for GTK_NO_REPARENT
              and GTK_APP_PAINTABLE. (#68060)
      e5bba6a1
  13. 08 Jan, 2002 1 commit
    • Matthias Clasen's avatar
      Doc typo fix. (#68172) · c1808baa
      Matthias Clasen authored
              * gtk/gtksocket.c (gtk_socket_get_id): Doc typo fix. (#68172)
      
              * gtk/gtktreemodel.c (gtk_tree_path_is_descendant): Fix docs.
      
              * gtk/gtktreemodel.c (gtk_tree_model_rows_reordered): Document.
      
              * gtk/gtkwindow.c (gtk_window_remove_accel_group): Fix docs.
      
              * gtk/gtkrc.c (gtk_rc_get_style_by_paths),
              gtk/gtkwidget.c (gtk_widget_get_toplevel,
              gtk_widget_push_composite_child), gtk/gtkdialog.c
              (gtk_dialog_new_with_buttons, gtk_dialog_run): Keep gtk-doc
              from messing up the indentation of inline examples.
      
              * gtk/gtkmain.c, gtk/gtkrc.c: Consistently call g_getenv()
              instead of getenv().
      
              * gtk/gtktreemodel.c, gtk/gtkaccelgroup.c, gtk/gtkclipboard.c,
              gtk/gtkdnd.c, gtk/gtkiconfactory.c, gtk/gtkrc.c,
              gtk/gtkstyle.c, gtk/gtkselection.c: Doc fixes.
      
              * gtk/gtkaccelmap.c (gtk_accel_map_add_filter,
              gtk_accel_map_foreach_unfiltered, gtk_accel_map_load_scanner):
              Document.
      
              * gtk/tmpl/gtksocket.sgml: Mention gtk_socket_get_id()
              instead of GTK_WINDOW_XWINDOW().  (#68172)
      
              * gtk/gtk-sections.txt: Move functions which are documented
              as "private" or "internal" into Private subsections.
      
              * gtk/tmpl/gtkdnd.sgml, gtk/tmpl/gtkobject.sgml,
              gtk/tmpl/gtkrc.sgml, gtk/tmpl/gtktooltips.sgml,
              gtk/tmpl/gtkwidget.sgml, gtk/tmpl/gtkclipboard.sgml,
              gtk/tmpl/gtkstyle.sgml, gtk/tmpl/gtkselection.sgml,
              gtk/tmpl/gtkfeatures.sgml: Minor markup fixes.
      
              * gtk/tmpl/gtksignal.sgml: Add link to GLib signal docs.
      
              * gtk/tmpl/gtkpreview.sgml, gtk/tmpl/gtktext.sgml,
              gtk/tmpl/gtktree.sgml: Remove "deprecated" from short desc.
      
              * gtk/tmpl/gtkrc.sgml: Correct names of default RC files.
      c1808baa
  14. 07 Jan, 2002 1 commit
    • Matthias Clasen's avatar
      Replace GTK_NO_CHECK_CASTS by G_DISABLE_CAST_CHECKS. · ed29c8dd
      Matthias Clasen authored
              * docs/debugging.txt: Replace GTK_NO_CHECK_CASTS by
              G_DISABLE_CAST_CHECKS.
      
              * gtk/gtkaccelgroup.c (gtk_accel_group_from_accel_closure,
              gtk_accel_group_query, gtk_accel_group_find,
              gtk_accel_groups_from_object): Document.
      
              * gtk/gtkaccellabel.c (gtk_accel_label_set_accel_closure): Document.
      
              * gtk/tmpl/gtktypeutils.sgml: Replace GTK_NO_CHECK_CASTS by
              G_DISABLE_CAST_CHECKS, fix some markup and add stuff.
      
              * gtk/tmpl/gtkaccelgroup.sgml, gtk/tmpl/gtkwidget.sgml: Additions.
      
              * gtk/gtk-sections.txt: Make gtk_accel_group_get_type private.
      ed29c8dd
  15. 06 Jan, 2002 1 commit
    • Havoc Pennington's avatar
      remove gtk- prefix from TreeView and a few other entities, more consistent · 824e8e2d
      Havoc Pennington authored
      2002-01-06  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtk-docs.sgml: remove gtk- prefix from TreeView and a few
      	other entities, more consistent anyway (I thought this would make
      	links to "GtkTreeView" etc. go to the ref page, not the struct,
      	but it wasn't the problem, the issue is the way gtkdoc-mkdb
      	decides what's an object, see CheckIsObject() routine)
      
      	* gtk/changes-1.2.sgml: sgml fixes to get rid of warnings
      
      	* gtk/changes-2.0.sgml: ditto
      
      	* gtk/question_index.sgml: add some questions
      824e8e2d
  16. 05 Jan, 2002 1 commit
  17. 04 Jan, 2002 1 commit
    • Matthias Clasen's avatar
      Fix a comment. · 2f14e89b
      Matthias Clasen authored
              * gtk/gtkobject.c (gtk_object_dispose): Fix a comment.
      
              * gtk/gtkwidget.c (gtk_widget_set_sensitive): tiny docs change
      
              * gtk/changes-1.2.sgml, gtk/changes-2.0.sgml: SGML fixes.
      
              * gtk/tmpl/gtkobject.sgml: Document GTK_IN_DESTRUCTION.
      
              * gtk/tmpl/gtkwidget.sgml: Additions.
      2f14e89b
  18. 05 Dec, 2001 1 commit
    • Matthias Clasen's avatar
      Deprecate. (#65851) · a7bab735
      Matthias Clasen authored
              * gdk/gdkcolor.h (gdk_colormap_change): Deprecate. (#65851)
      
              * gdk/gdktypes.h (GdkKeyInfo): Remove. (#66025)
      
              * gtk/gtkwindow.c, gtk/gtkwidget.c: Add docs, markup fixes.
      
              * gtk/tmpl/gtkwidget.sgml: Updates.
              * gtk/Makefile.am (IGNORE_HFILES): Remove gtktextchild.h.
      a7bab735
  19. 21 Nov, 2001 1 commit
    • Owen Taylor's avatar
      Updates · b56118cf
      Owen Taylor authored
      Wed Nov 21 15:57:29 2001  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtk-sections.txt: Updates
      
              * gtk/tmpl/gtkstock.sgml: Close end tags.
      
              * gtk/gtk.types: Remove interface types which gtk-doc
              can't handle currently.
      
              * gtk/tmpl/gtknotebook.sgml: Fix some garbage in file.
      
              * gdk/tmpl/x_interaction.sgml: Fix SGML errors.
      
              * gdk/gdk-overrides.txt gdk/gdk-sections.txt: Updates.
      b56118cf
  20. 20 Nov, 2001 1 commit
    • Tim Janik's avatar
      applied patch from owen to get rid of accel map notifiers. changed things · 9800f731
      Tim Janik authored
      Tue Nov 20 21:25:08 2001  Tim Janik  <timj@gtk.org>
      
      	* applied patch from owen to get rid of accel map notifiers.
      	changed things to fix reentrancy and API as discussed on gtk-devel.
      
      	* gtk/gtkaccelgroup.[hc]:
      	(gtk_accel_group_finalize): unregister this accel group from all
      	accel map paths.
      	(accel_closure_invalidate): handle invalidation of closures by
      	disconnecting their accelerators.
      	(quick_accel_add): move closure connection and changed notification
      	into this function to reduce code duplication. don't emit change
      	notification on closurers without accelerators.
      	(quick_accel_remove): rewrite, do the exact opposite of quick_accel_add
      	for a GtkAccelGroupEntry.
      	(gtk_accel_group_connect): get rid of the accel_path_quark argument.
      	(gtk_accel_group_connect_by_path): new function to add accelerators
      	with an accel path.
      	(gtk_accel_group_disconnect_closure): new function, disconnect a
      	closure from of an accel group.
      	(gtk_accel_group_disconnect): loop over all closure for a accel_ley,
      	accel_mods pair and remove them.
      	(_gtk_accel_group_reconnect): new function that basically does
      	gtk_accel_group_disconnect_closure() and
      	gtk_accel_group_connect_by_path() once an accel path changed.
      	(gtk_accel_groups_disconnect_closure): remove this, there's
      	gtk_accel_group_disconnect_closure().
      
      	* gtk/gtkaccelmap.[hc]: keep list of accel groups per entry now,
      	nuke notifiers.
      	(_gtk_accel_path_is_valid): make this non-static for
      	gtkwidget.c and gtkaccelgroup.c assertions.
      	(gtk_accel_map_add_notifer): removed this function.
      	(gtk_accel_map_remove_notifer): same.
      	(_gtk_accel_map_add_group):
      	(_gtk_accel_map_remove_group): (un-)register accel groups, with
      	accel paths for correct propagation.
      	(gtk_accel_map_add_entry): return void.
      	(gtk_accel_map_lookup): return gboolean instead of GQuark.
      
      	* gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): always
      	set accel_path on widgets.
      
      	* gtk/gtkwidget.[hc]:
      	(accel_path_changed): got rid of this, changes are handled by
      	accel maps internally now.
      	(_gtk_widget_set_accel_path): get things to work without notifiers.
      	(gtk_widget_list_accel_closures): list accel closures of a widget.
      
      	* gtk/gtkwindow.[hc]: rename ::accels_changed, to ::keys_changed.
      9800f731
  21. 13 Nov, 2001 1 commit
    • Tim Janik's avatar
      added gtkaccelmap.sgml. other updates. · d07573c0
      Tim Janik authored
      Mon Nov 12 23:06:38 2001  Tim Janik  <timj@gtk.org>
      
              * added gtkaccelmap.sgml. other updates.
      
      Mon Nov 12 23:08:37 2001  Tim Janik  <timj@gtk.org>
      
      	* gtk/maketypes.awk: fix type utils generation on unix.
      
      	* gtk/gtkaccelmap.[hc]: new files, implementing a global accelerator
      	registry.
      
      	* gtk/gtkaccelgroup.[hc]: major API/implementation revamp:
      	removed GTK_ACCEL_SIGNAL_VISIBLE, gtk_accel_group_get_default,
      	gtk_accel_group_get_entry, gtk_accel_group_(un)lock_entry,
      	gtk_accel_group_add/remove, gtk_accel_group_handle_add/remove,
      	gtk_accel_group_create_add/remove, gtk_accel_group_entries_from_object.
      	introduced ::accel_changed signal for change notification, and
      	gtk_accel_group_connect/disconnect to connect closures to accel groups.
      	made gtk_accel_group_attach/detach and gtk_accel_group_activate private
      	functions.
      	deprecated gtk_accel_group_ref/unref.
      
      	* gtk/gtkaccellabel.[hc]: changes to make accellabels pay attention
      	to accel group changed notification and basically operate on closures.
      	removed gtk_accel_label_get_accel_object and
      	gtk_accel_label_set_accel_object.
      	introduced gtk_accel_label_set_accel_closure, and for convenience,
      	gtk_accel_label_set_accel_widget.
      
      	* gtk/gtkitemfactory.[hc]: removed accelerator propagation code
      	which mostly moved into gtkaccelmap.[hc].
      	removed gtk_item_factory_parse_rc*, gtk_item_factory_dump_*
      	and gtk_item_factory_print_func.
      
      	* gtk/gtkmain.c: call _gtk_accel_map_init().
      
      	* gtk/gtkmenuitem.[hc]: introduced gtk_menu_item_set_accel_path(),
      	that associates an accelerator path with menu items, through which
      	persistent accelerator settings on menu items are enabled.
      
      	* gtk/gtkmenu.[hc]: added gtk_menu_set_accel_path() so accelerator
      	paths of menu item can be default constructed to allow installation
      	of accelerators on menu items that don't come with an accelerator
      	binding by default.
      
      	* gtk/gtksettings.c: fix STRING type rc settings by special casing
      	them appropriately in the parser.
      
      	* gtk/gtksignal.[hc]: allow a class function offset of 0 for
      	gtk_signal_newv().
      
      	* gtk/gtkwidget.[hc]: accelerator API revamp.
      	removed ::accelerator_add/remove signals, gtk_widget_accelerator_signal,
      	gtk_widget_accelerators_locked, gtk_widget_remove_accelerators and
      	gtk_widget_(un)lock_accelerators.
      	accelerators maintained through gtk_widget_add/remove_accelerator()
      	are not runtime changable now, the correct sequence to setup a
      	widget for runtime changable accelerators is now:
      	  gtk_accel_map_add_entry(accel_path, key, mods);
      	  _gtk_widget_set_accel_path(widget, accel_path, accel_group);
      
      	* gtk/gtkwindow.[hc]: accelerator changes, proxy and coalesce accel
      	group changes (as well as mnemonic changes) through the new signal
      	::accels_changed.
      
      Sat Nov 10 12:08:56 2001  Tim Janik  <timj@gtk.org>
      
      	* gtk/gtksettings.c (_gtk_settings_parse_convert): properly handle
      	GString->string conversions.
      d07573c0
  22. 13 Oct, 2001 1 commit
    • Tim Janik's avatar
      to compare pattern specs, use g_pattern_spec_equal() instead of direct · cf9f0b77
      Tim Janik authored
      Sat Oct 13 07:09:30 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkbindings.c (gtk_binding_set_add_path): to compare pattern
              specs, use g_pattern_spec_equal() instead of direct field accesses.
              upon compressing two equal paths of the same type, the resulting
              priority has to be the maximum.
              * gtk/gtkenums.h (enum): take GTK_PATH_PRIO_MASK out of the
              GtkPathPriorityType enum and make it a macro.
      cf9f0b77
  23. 21 Sep, 2001 1 commit
  24. 08 Sep, 2001 1 commit
    • 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
  25. 21 Aug, 2001 1 commit
    • Owen Taylor's avatar
      Remove GtkPacker · 66aaf009
      Owen Taylor authored
      Tue Aug 21 12:42:19 2001  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtk-sections.txt: Remove GtkPacker
      66aaf009
  26. 10 Aug, 2001 1 commit
    • Havoc Pennington's avatar
      fix a typo. · f37a0627
      Havoc Pennington authored
      2001-08-07  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtkfilesel.c (open_ref_dir): fix a typo.
      
      	* gtk/gtkplug.c (gtk_plug_init): remove setting of auto_shrink;
      	some fixage is needed here, but nothing simple. Owen understands
      	it. ;-)
      
              * gtk/gtkwindow.h, gtk/gtkwindow.c: Rework code and API for window
      	sizing and positioning.  Also, fix bug in compute_geometry_hints
      	(width/height confusion for setting min size).
      	(gtk_window_move): new function
      	(gtk_window_resize): new function
      	(gtk_window_get_size): new function
      	(gtk_window_get_position): new function
      	(gtk_window_parse_geometry): new function
      
       	* gtk/gtkwidget.c (gtk_widget_set_size_request): new function
       	(gtk_widget_get_size_request): new function
       	(gtk_widget_get_usize): delete, that was a short-lived function
       	;-)
       	(gtk_widget_set_usize): deprecate
       	(gtk_widget_set_uposition): deprecate, make it a trivial
      	gtk_window_move() wrapper
      	(gtk_widget_class_init): remove x/y/width/height properties,
      	add width_request height_request
      
              * demos/*: update to avoid deprecated functions
      
      	* gtk/gtklayout.c: add x/y child properties
      
      	* gtk/gtkfixed.c: add x/y child properties, and get rid of
      	uses of "gint16"
      
      	* tests/testgtk.c (create_window_sizing): lots of tweaks to window
      	sizing test
      
      	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Ensure that
      	configure events on toplevel windows are always in root window
      	coordinates, following ICCCM spec that all synthetic events
      	are in root window coords already, while real events are
      	in parent window coords. Previously the code assumed that
      	coords of 0,0 were parent window coords, which was
      	really broken.
      
       	* gtk/gtkcontainer.c (gtk_container_get_focus_chain): fix
       	warning
      
       	* gdk/gdkwindow.h (GdkWindowHints): add GDK_HINT_USER_POS
       	and GDK_HINT_USER_SIZE so we can set USSize and USPosition
       	hints in gtk_window_parse_geometry()
      
       	* gdk/x11/gdkwindow-x11.c (gdk_window_set_geometry_hints): support
       	new USER_POS USER_SIZE hints
      f37a0627
  27. 02 Jul, 2001 1 commit
    • Tim Janik's avatar
      s/signal_newc/signal_new/ · 93db42e7
      Tim Janik authored
      Mon Jul  2 06:35:10 2001  Tim Janik  <timj@gtk.org>
      
              * gdk/gdkkeys.c (gdk_keymap_class_init): s/signal_newc/signal_new/
      
              * gtk/gtkobject.c (gtk_object_destroy): invoke
              g_object_run_dispose().
      
              * gtk/gtkwindow.c:
              * gtk/gtkwidget.c:
              * gtk/gtkobject.c:
              * gtk/gtklist.c: s/shutdown/dispose/ for the GObject
              method.
      93db42e7
  28. 29 Jun, 2001 1 commit
    • Havoc Pennington's avatar
      Clip the retrieved image data to the screen, using a server grab to avoid · 0bee26c7
      Havoc Pennington authored
      2001-06-28  Havoc Pennington  <hp@pobox.com>
      
      	* gdk/x11/gdkimage-x11.c (_gdk_x11_get_image): Clip the retrieved
      	image data to the screen, using a server grab to avoid race
      	conditions.
      
      	* gtk/gtkitemfactory.c (gtk_item_factory_create_item): remove
      	check for NULL return from gtk_image_new_from_stock(), it never
      	returns NULL.
      	(gtk_item_factory_create_item): fix bug where we parsed the stock
      	ID as an inline pixbuf
      
      	* gtk/gtktext.c (gtk_text_key_press): numeric keypad support
      
      	* gtk/gtkspinbutton.c (gtk_spin_button_key_press): numeric keypad
      	support (should be using binding set here)
      
      	* gtk/gtkoptionmenu.c (gtk_option_menu_key_press): numeric keypad
      	support (should be using binding set here)
      
      	* gtk/gtkmenushell.c (gtk_menu_shell_class_init): numeric keypad
      	support
      
      	* gtk/gtkmenu.c (gtk_menu_class_init): numeric keypad support
      
      	* gtk/gtkmenubar.c (gtk_menu_bar_class_init): numeric keypad
      
      	* gtk/gtklistitem.c (gtk_list_item_class_init): numeric keypad
      
      	* gtk/gtkimcontextsimple.c
      	(gtk_im_context_simple_filter_keypress): keypad
      
      	* gtk/gtkfilesel.c (gtk_file_selection_key_press): keypad
      
      	* gtk/gtkentry.c (gtk_entry_class_init): numeric keypad fixes
      
      	* gtk/gtkctree.c (gtk_ctree_class_init): numeric keypad support
      
      	* gtk/gtkcolorsel.c (palette_activate): keypad support (of course,
      	should be binding-setted)
      
      	* gtk/gtkwindow.c (gtk_window_class_init): numeric keypad fixes
      
      	* gtk/gtkclist.c (gtk_clist_class_init): numeric keypad fixes
      
      	* gtk/gtkcalendar.c: numeric keypad fixes
      
      	* gtk/gtktextview.c (gtk_text_view_class_init): numeric keypad
      	support
      
      	* gdk/gdkwindow.c (gdk_window_get_clip_region): fix infinite loop
      	screwup
      
      	* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable_alpha):
      	clip the render area to the drawable's clip region in advance,
      	so we don't get data from the server that we don't need.
      
      	* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable_alpha):
      	check return value of gdk_pixbuf_get_from_drawable(), fall back
      	to bilevel alpha if we can't get the pixbuf to composite against.
      
      	* gdk/gdkdraw.c (gdk_drawable_get_image): set the image colormap
      
      	* gdk/gdkimage.c (gdk_image_get_colormap): add
      	gdk_image_set_colormap, gdk_image_get_colormap
      
      	* gdk/gdkpixbuf-drawable.c (rgbconvert): Change all converters to
      	take a region of the image, instead of converting the entire
      	image.
      
      	* gtk/gtkwidget.h (struct _GtkWidgetClass): add show_help
      	keybinding signal. Add default bindings for it. Add default
      	handler for show_help that shows the tooltip for the widget.
      
      	* gtk/gtkdialog.c (gtk_dialog_class_init): add binding set and
      	"close" keybinding signal, remove key press handler.
      
      	* gtk/gtktooltips.c (gtk_tooltips_set_colors): Just remove this,
      	it's not our usual practice to leave a deprecated function around
      	with a runtime warning, plus we don't want it to appear in docs,
      	plus if we make them yellow no one will want to change them
      	anyhow.
      0bee26c7
  29. 21 Jun, 2001 1 commit
    • 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
  30. 14 Jun, 2001 1 commit
    • 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
  31. 08 Jun, 2001 1 commit
    • 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
  32. 11 May, 2001 1 commit
    • Havoc Pennington's avatar
      docs, fixes bug #54144 · cc6b34c1
      Havoc Pennington authored
      2001-05-11  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtkimage.c (gtk_image_new_from_stock): docs, fixes bug
      	#54144
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_new): docs, fixes
      	bug #54330
      
      2001-05-11  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/tmpl/gtkvruler.sgml,
      	gtk/tmpl/gtkhruler.sgml: fix bug #54431
      
      	* gtk/tmpl/gtkdrawingarea.sgml: fix bug #54331
      
      	* gtk/tmpl/gtkenums.sgml: fix bug #54329, and
      	update some other random things
      
      	* gtk/gtk-sections.txt: updates
      
      	* gtk/tmpl/gtkmenuitem.sgml: fix bug #54277
      
      	* gtk/tmpl/gtkradiomenuitem.sgml: fix bug #54323,
      	#54324, #54325
      cc6b34c1
  33. 17 Apr, 2001 1 commit
  34. 03 Apr, 2001 1 commit
    • 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
  35. 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
  36. 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
  37. 29 Mar, 2001 2 commits
    • Owen Taylor's avatar
      Add private function to get the aux info structure fo the widget. · f67ae736
      Owen Taylor authored
      Wed Mar 28 20:30:26 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.[ch] (_gtk_widget_get_aux_info): Add private function
      	to get the aux info structure fo the widget.
      
      	* gtk/gtklabel.c gtk/gtkscrolledwindow.c gtk/gtkwindow.c: Use
      	above function.
      
              [ Patch from  Havoc Pennington  <hp@redhat.com> ]
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): function
      	to get the size of the window manager frame, basically the same
      	code that gdk_window_get_root_origin() had
      	(gdk_window_get_root_origin): use gdk_window_get_frame_extents()
      
      	* gtk/gtkwindow.c (gtk_window_set_default_size): use
      	gdk_window_resize() if the window is realized and resizeable
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_set_geometry_hints): fix
      	typo so that setting gravity works
      
      	* gtk/gtkwindow.c (gtk_window_move_resize): don't ever use
      	allocation if auto_shrink is on, even if the default size
      	has not changed.
      
      	* gtk/gtkwidget.c (gtk_widget_render_icon): remove bogus
      	g_return_if_fail
      f67ae736
    • Owen Taylor's avatar
      *** empty log message *** · c61a8f28
      Owen Taylor authored
      c61a8f28
  38. 23 Mar, 2001 1 commit
    • 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
  39. 22 Mar, 2001 1 commit
    • 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