gtk2/docs/reference/gtk/tmpl
Tim Janik 9800f731e0 applied patch from owen to get rid of accel map notifiers. changed things
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.
2001-11-20 23:43:03 +00:00
..
gtk-unused.sgml applied patch from owen to get rid of accel map notifiers. changed things 2001-11-20 23:43:03 +00:00
gtkaccelgroup.sgml applied patch from owen to get rid of accel map notifiers. changed things 2001-11-20 23:43:03 +00:00
gtkaccellabel.sgml applied patch from owen to get rid of accel map notifiers. changed things 2001-11-20 23:43:03 +00:00
gtkadjustment.sgml Rearrange docs (#64566) 2001-11-14 22:36:23 +00:00
gtkalignment.sgml ran make templates, to fix problems with structs. 1999-09-22 21:30:57 +00:00
gtkarrow.sgml Restore build. 2001-01-09 16:41:17 +00:00
gtkaspectframe.sgml Restore build. 2001-01-09 16:41:17 +00:00
gtkbbox.sgml to compare pattern specs, use g_pattern_spec_equal() instead of direct 2001-10-13 05:52:14 +00:00
gtkbin.sgml New function 2001-05-25 03:42:40 +00:00
gtkbindings.sgml changed gtk_item_factory_dump_items() and gtk_item_factory_dump_rc() 2001-04-03 13:18:00 +00:00
gtkbox.sgml to compare pattern specs, use g_pattern_spec_equal() instead of direct 2001-10-13 05:52:14 +00:00
gtkbutton.sgml gtk/gtkbutton.[ch] fixed inline comments 2001-10-26 15:44:20 +00:00
gtkcalendar.sgml to compare pattern specs, use g_pattern_spec_equal() instead of direct 2001-10-13 05:52:14 +00:00
gtkcelleditable.sgml Remove handle_box from App demo. 2001-10-22 18:24:29 +00:00
gtkcellrenderer.sgml Stop being stupid and emitting the signal every time. 2001-09-27 00:09:41 +00:00
gtkcellrendererpixbuf.sgml Stop being stupid and emitting the signal every time. 2001-09-27 00:09:41 +00:00
gtkcellrenderertext.sgml docs 2001-10-03 04:44:13 +00:00
gtkcellrenderertoggle.sgml to compare pattern specs, use g_pattern_spec_equal() instead of direct 2001-10-13 05:52:14 +00:00
gtkcheckbutton.sgml fix up some docs 2001-03-23 22:21:06 +00:00
gtkcheckmenuitem.sgml to compare pattern specs, use g_pattern_spec_equal() instead of direct 2001-10-13 05:52:14 +00:00
gtkclipboard.sgml Documentation updates. Updates. 2001-10-17 21:41:47 +00:00
gtkclist.sgml Update a bit. 2001-06-21 17:44:27 +00:00
gtkcolorsel.sgml added gtkaccelmap.sgml. other updates. 2001-11-13 00:53:47 +00:00
gtkcolorseldlg.sgml Move gtk-reference files into GTK+ tree proper. 2000-09-07 18:17:06 +00:00
gtkcombo.sgml added gtkaccelmap.sgml. other updates. 2001-11-13 00:53:47 +00:00
gtkcontainer.sgml Darn. I can't believe this took this long to fix. 2001-10-29 20:43:01 +00:00
gtkctree.sgml Restore build. 2001-01-09 16:41:17 +00:00
gtkcurve.sgml CVS is doing its broken pipe thing, this is more of the previous commit 2001-02-03 01:09:41 +00:00
gtkdialog.sgml added gtkaccelmap.sgml. other updates. 2001-11-13 00:53:47 +00:00
gtkdnd.sgml Remove handle_box from App demo. 2001-10-22 18:24:29 +00:00
gtkdrawingarea.sgml docs, fixes bug #54144 2001-05-11 17:13:44 +00:00
gtkeditable.sgml to compare pattern specs, use g_pattern_spec_equal() instead of direct 2001-10-13 05:52:14 +00:00
gtkentry.sgml Mass fixing of trivial doc bugs. (#63544, #57007, #64141, #63472, #57108, 2001-11-10 22:06:44 +00:00
gtkenums.sgml added gtkaccelmap.sgml. other updates. 2001-11-13 00:53:47 +00:00
gtkeventbox.sgml ran make templates, to fix problems with structs. 1999-09-22 21:30:57 +00:00
gtkfeatures.sgml remove CellRendererTextPixbuf 2001-09-08 04:39:53 +00:00
gtkfilesel.sgml Update a bit. 2001-06-21 17:44:27 +00:00
gtkfixed.sgml Add the intro docs section 2001-02-04 03:11:11 +00:00
gtkfontsel.sgml New function 2001-05-25 03:42:40 +00:00
gtkfontseldlg.sgml Move gtk-reference files into GTK+ tree proper. 2000-09-07 18:17:06 +00:00
gtkframe.sgml Rename interface signals to make them more clear. Also, change 2001-09-12 23:16:18 +00:00
gtkgamma.sgml Resurrect 1.2 documentation. (#62604) 2001-10-18 22:08:33 +00:00
gtkgc.sgml ran make templates, to fix problems with structs. 1999-09-22 21:30:57 +00:00
gtkhandlebox.sgml Finish a sentence. This fixes #56702. 2001-10-27 01:21:14 +00:00
gtkhbbox.sgml ran make templates, to fix problems with structs. 1999-09-22 21:30:57 +00:00
gtkhbox.sgml fixed minor error - using <em>. 1999-11-16 00:33:10 +00:00
gtkhpaned.sgml ran make templates, to fix problems with structs. 1999-09-22 21:30:57 +00:00
gtkhruler.sgml docs, fixes bug #54144 2001-05-11 17:13:44 +00:00
gtkhscale.sgml put GtkPacker back in here so it won't be in gtk-unused.txt, but don't put 2001-09-08 06:24:46 +00:00
gtkhscrollbar.sgml Mass fixing of trivial doc bugs. (#63544, #57007, #64141, #63472, #57108, 2001-11-10 22:06:44 +00:00
gtkhseparator.sgml Document all stock items with their stock text. 2001-11-10 00:02:13 +00:00
gtkiconfactory.sgml Stop being stupid and emitting the signal every time. 2001-09-27 00:09:41 +00:00
gtkimage.sgml fix GtkImage overview 2001-10-05 01:53:04 +00:00
gtkimagemenuitem.sgml Stop being stupid and emitting the signal every time. 2001-09-27 00:09:41 +00:00
gtkimcontext.sgml Add a function gdk_window_invalidate_maybe_recurse() for use in "shallow 2001-11-04 22:57:03 +00:00
gtkimcontextsimple.sgml Add gtkimcontextsimple. 2001-10-19 19:48:31 +00:00
gtkimmulticontext.sgml cd to srcdir before calling gtkdoc-fixref, distribute index.sgml. 2000-11-14 16:36:20 +00:00
gtkinputdialog.sgml CVS is doing its broken pipe thing, this is more of the previous commit 2001-02-03 01:09:41 +00:00
gtkinvisible.sgml ran make templates, to fix problems with structs. 1999-09-22 21:30:57 +00:00
gtkitem.sgml Updates to new gtk-doc, gsignal, causing quite a bit of diffs but little 2000-10-29 08:03:34 +00:00
gtkitemfactory.sgml added gtkaccelmap.sgml. other updates. 2001-11-13 00:53:47 +00:00
gtklabel.sgml add a #error unless you define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API, so 2001-10-22 21:52:47 +00:00
gtklayout.sgml default xscale/yscale to 0.0, not 0.5, 0.5 isn't useful 2001-09-08 19:33:06 +00:00
gtklist.sgml Restore build. 2001-01-09 16:41:17 +00:00
gtklistitem.sgml Updates to new gtk-doc, gsignal, causing quite a bit of diffs but little 2000-10-29 08:03:34 +00:00
gtkliststore.sgml docs 2001-10-03 04:44:13 +00:00
gtkmain.sgml remove CellRendererTextPixbuf 2001-09-08 04:39:53 +00:00
gtkmenu.sgml Return the currently selected column when we get the column, #64380 2001-11-14 22:52:43 +00:00
gtkmenubar.sgml add default icon 2001-08-29 02:20:02 +00:00
gtkmenuitem.sgml added gtkaccelmap.sgml. other updates. 2001-11-13 00:53:47 +00:00
gtkmenushell.sgml Darn. I can't believe this took this long to fix. 2001-10-29 20:43:01 +00:00
gtkmessagedialog.sgml Move notification of "has_default" to here, so it is safe to call 2001-11-17 01:18:49 +00:00
gtkmisc.sgml put GtkPacker back in here so it won't be in gtk-unused.txt, but don't put 2001-09-08 06:24:46 +00:00
gtknotebook.sgml Move notification of "has_default" to here, so it is safe to call 2001-11-17 01:18:49 +00:00
gtkobject.sgml fix allocation to be relative to paned->allocation, now that this is a 2001-11-20 13:55:08 +00:00
gtkoldeditable.sgml fix test case, it previously verified incorrect behavior 2001-10-04 00:22:13 +00:00
gtkoptionmenu.sgml fix infinite loop noticed by yosh. 2001-11-01 00:06:32 +00:00
gtkpaned.sgml added gtkaccelmap.sgml. other updates. 2001-11-13 00:53:47 +00:00
gtkpixmap.sgml ran make templates, to fix problems with structs. 1999-09-22 21:30:57 +00:00
gtkplug.sgml put GtkPacker back in here so it won't be in gtk-unused.txt, but don't put 2001-09-08 06:24:46 +00:00
gtkpreview.sgml Darn. I can't believe this took this long to fix. 2001-10-29 20:43:01 +00:00
gtkprogress.sgml Restore build. 2001-01-09 16:41:17 +00:00
gtkprogressbar.sgml Rearrange docs (#64566) 2001-11-14 22:36:23 +00:00
gtkradiobutton.sgml to compare pattern specs, use g_pattern_spec_equal() instead of direct 2001-10-13 05:52:14 +00:00
gtkradiomenuitem.sgml to compare pattern specs, use g_pattern_spec_equal() instead of direct 2001-10-13 05:52:14 +00:00
gtkrange.sgml put GtkPacker back in here so it won't be in gtk-unused.txt, but don't put 2001-09-08 06:24:46 +00:00
gtkrc.sgml Typo fix. Updates. Document the special values <none> and <parent> for 2001-10-27 20:41:05 +00:00
gtkruler.sgml put GtkPacker back in here so it won't be in gtk-unused.txt, but don't put 2001-09-08 06:24:46 +00:00
gtkscale.sgml put GtkPacker back in here so it won't be in gtk-unused.txt, but don't put 2001-09-08 06:24:46 +00:00
gtkscrollbar.sgml default xscale/yscale to 0.0, not 0.5, 0.5 isn't useful 2001-09-08 19:33:06 +00:00
gtkscrolledwindow.sgml Remove handle_box from App demo. 2001-10-22 18:24:29 +00:00
gtkselection.sgml fix infinite loop noticed by yosh. 2001-11-01 00:06:32 +00:00
gtkseparator.sgml ran make templates, to fix problems with structs. 1999-09-22 21:30:57 +00:00
gtkseparatormenuitem.sgml Updates. 2001-10-10 21:52:42 +00:00
gtksettings.sgml Call update_im_spot_location here explicitly 2001-10-27 02:41:24 +00:00
gtksignal.sgml *** empty log message *** 2001-07-22 21:03:03 +00:00
gtksizegroup.sgml to compare pattern specs, use g_pattern_spec_equal() instead of direct 2001-10-13 05:52:14 +00:00
gtksocket.sgml put GtkPacker back in here so it won't be in gtk-unused.txt, but don't put 2001-09-08 06:24:46 +00:00
gtkspinbutton.sgml Clarify that we're returning a spin button in the _new function. This 2001-10-27 01:16:09 +00:00
gtkstatusbar.sgml Mass fixing of trivial doc bugs. (#63544, #57007, #64141, #63472, #57108, 2001-11-10 22:06:44 +00:00
gtkstock.sgml Document all stock items with their stock text. 2001-11-10 00:02:13 +00:00
gtkstyle.sgml Fix up for changes to PangoFontDescription. 2001-09-18 20:06:48 +00:00
gtktable.sgml put GtkPacker back in here so it won't be in gtk-unused.txt, but don't put 2001-09-08 06:24:46 +00:00
gtktearoffmenuitem.sgml ran make templates, to fix problems with structs. 1999-09-22 21:30:57 +00:00
gtktext.sgml bracket in #ifdef GTK_ENABLE_BROKEN. 2001-01-31 03:51:14 +00:00
gtktextbuffer.sgml New function to get a GdkWindow to compare event->window to. 2001-11-15 22:20:18 +00:00
gtktextiter.sgml New function to get a GdkWindow to compare event->window to. 2001-11-15 22:20:18 +00:00
gtktextmark.sgml fix up some docs 2001-03-23 22:21:06 +00:00
gtktexttag.sgml Update a bit. 2001-06-21 17:44:27 +00:00
gtktexttagtable.sgml New function to get a GdkWindow to compare event->window to. 2001-11-15 22:20:18 +00:00
gtktextview.sgml add a #error unless you define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API, so 2001-10-22 21:52:47 +00:00
gtkthemes.sgml cd to srcdir before calling gtkdoc-fixref, distribute index.sgml. 2000-11-14 16:36:20 +00:00
gtktipsquery.sgml Darn. I can't believe this took this long to fix. 2001-10-29 20:43:01 +00:00
gtktogglebutton.sgml put GtkPacker back in here so it won't be in gtk-unused.txt, but don't put 2001-09-08 06:24:46 +00:00
gtktoolbar.sgml added gtkaccelmap.sgml. other updates. 2001-11-13 00:53:47 +00:00
gtktooltips.sgml Clip the retrieved image data to the screen, using a server grab to avoid 2001-06-29 01:59:02 +00:00
gtktree.sgml bracket in #ifdef GTK_ENABLE_BROKEN. 2001-01-31 03:51:14 +00:00
gtktreednd.sgml added gtkaccelmap.sgml. other updates. 2001-11-13 00:53:47 +00:00
gtktreeitem.sgml Add note about GTK_ENABLE_BROKEN. 2001-04-25 16:34:09 +00:00
gtktreemodel.sgml New function to get a GdkWindow to compare event->window to. 2001-11-15 22:20:18 +00:00
gtktreemodelsort.sgml New function to get a GdkWindow to compare event->window to. 2001-11-15 22:20:18 +00:00
gtktreeselection.sgml New function to get a GdkWindow to compare event->window to. 2001-11-15 22:20:18 +00:00
gtktreesortable.sgml Remove handle_box from App demo. 2001-10-22 18:24:29 +00:00
gtktreestore.sgml Stop being stupid and emitting the signal every time. 2001-09-27 00:09:41 +00:00
gtktreeview.sgml Move notification of "has_default" to here, so it is safe to call 2001-11-17 01:18:49 +00:00
gtktreeviewcolumn.sgml fix allocation to be relative to paned->allocation, now that this is a 2001-11-20 13:55:08 +00:00
gtktypeutils.sgml Handle case where we need to parse the xsetting as if it were an RC file 2001-06-04 23:15:51 +00:00
gtkvbbox.sgml Move gtk-reference files into GTK+ tree proper. 2000-09-07 18:17:06 +00:00
gtkvbox.sgml fixed minor error - using <em>. 1999-11-16 00:33:10 +00:00
gtkviewport.sgml put GtkPacker back in here so it won't be in gtk-unused.txt, but don't put 2001-09-08 06:24:46 +00:00
gtkvpaned.sgml ran make templates, to fix problems with structs. 1999-09-22 21:30:57 +00:00
gtkvruler.sgml docs, fixes bug #54144 2001-05-11 17:13:44 +00:00
gtkvscale.sgml put GtkPacker back in here so it won't be in gtk-unused.txt, but don't put 2001-09-08 06:24:46 +00:00
gtkvscrollbar.sgml Mass fixing of trivial doc bugs. (#63544, #57007, #64141, #63472, #57108, 2001-11-10 22:06:44 +00:00
gtkvseparator.sgml ran make templates, to fix problems with structs. 1999-09-22 21:30:57 +00:00
gtkwidget.sgml applied patch from owen to get rid of accel map notifiers. changed things 2001-11-20 23:43:03 +00:00
gtkwindow.sgml applied patch from owen to get rid of accel map notifiers. changed things 2001-11-20 23:43:03 +00:00
gtkwindowgroup.sgml Stop being stupid and emitting the signal every time. 2001-09-27 00:09:41 +00:00