summaryrefslogtreecommitdiff
path: root/gtk/gtkdialog.c
Commit message (Collapse)AuthorAgeFilesLines
* Use the slice allocator for many small allocations.Matthias Clasen2006-01-041-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-04 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaccelmap.c: * gtk/gtkactiongroup.c: * gtk/gtkdialog.c: * gtk/gtkfilesystemunix.c: * gtk/gtkgc.c: * gtk/gtkkeyhash.c: * gtk/gtkplug.c: * gtk/gtktextiter.c: * gtk/gtktextlayout.c: * gtk/gtkuimanager.c: * gtk/gtkwidget.c: * gtk/gtkwindow.c: * gtk/gtkxembed.c: Use the slice allocator for many small allocations. * gtk/gtkcolorsel.c: * gtk/gtktreeview.c: Use IPN. * gtk/gtkwidget.c: Remove an unused field from the AccelPath struct.
* Add a gtk-label-select-on-focus setting. (gtk_label_grab_focus): And useMatthias Clasen2005-12-261-1/+6
| | | | | | | | | | | | | | 2005-12-26 Matthias Clasen <mclasen@redhat.com> * gtk/gtklabel.c (gtk_label_class_init): Add a gtk-label-select-on-focus setting. (gtk_label_grab_focus): And use it here to select the contents of the label when appropriate. (gtk_label_class_init): Use the same keybindings for select all/ unselect all as GtkEntry and GtkTextView. * gtk/gtkdialog.c (gtk_dialog_map): When looking for the initial focus, avoid leaving a selection in a label.
* Intern some more strings.Matthias Clasen2005-09-011-4/+4
| | | | | | | | | 2005-09-01 Matthias Clasen <mclasen@redhat.com> * gdk/*.c: Intern some more strings. * gtk/gtkintl.h: * gtk/*.c: Define an I_() macro and use it instead of the bulky g_intern_static_string().
* Also intern static strings passed to g_object_set_data()Matthias Clasen2005-08-311-1/+1
|
* Intern type names in code generated by glib-mkenums, too.Matthias Clasen2005-08-311-1/+1
| | | | | | | | | | | | | 2005-08-31 Matthias Clasen <mclasen@redhat.com> * gdk/Makefile.am: * gtk/Makefile.am: Intern type names in code generated by glib-mkenums, too. * gtk/*.c: * gdk/x11/*.c: * gdk/*.c: Intern type names before registering the type to avoid unnecessary copies.
* When using gtk_dialog_run() for modal dialogs, make sure to inherit theMatthias Clasen2005-08-151-3/+3
| | | | | | | | | | | | 2005-08-15 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooserdefault.c: When using gtk_dialog_run() for modal dialogs, make sure to inherit the window group from the parent, since we don't inherit window groups across transient parents currently. (#312918, Christian Persch) * gtk/gtkmessagedialog.c (gtk_message_dialog_new): * gtk/gtkdialog.c (gtk_dialog_run): Slight update to the docs.
* Make this function public. (#170748, Morten Welinder)Matthias Clasen2005-05-031-3/+16
| | | | | | | | | 2005-05-03 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gtk/gtkdialog.h: * gtk/gtkdialog.c (gtk_dialog_get_response_for_widget): Make this function public. (#170748, Morten Welinder)
* Use canonical names for g_object_notify() as well.Matthias Clasen2005-03-261-7/+4
| | | | | | | | 2005-03-26 Matthias Clasen <mclasen@redhat.com> * gtk/*.c: * gdk/gdkdisplaymanager.c: Use canonical names for g_object_notify() as well.
* Some cleanups to the GtkDialog code: (#170746, Morten Welinder) Simplify,Matthias Clasen2005-03-231-18/+6
| | | | | | | | | | | | | | | 2005-03-23 Matthias Clasen <mclasen@redhat.com> Some cleanups to the GtkDialog code: (#170746, Morten Welinder) * gtk/gtkdialog.c (action_widget_activated): Simplify, use _gtk_dialog_get_response_for_widget. (gtk_dialog_add_action_widget): Use the correct signal id for non-buttons. (gtk_dialog_set_response_sensitive): (gtk_dialog_set_default_response): Use get_response_data. (gtk_dialog_run): Don't disconnect the signals if the dialog was destroyed while running.
* Define macros GTK_PARAM_READABLE, GTK_PARAM_WRITABLE, GTK_PARAM_READWRITEMatthias Clasen2005-03-221-4/+5
| | | | | | | | | | | | 2005-03-21 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprivate.h: Define macros GTK_PARAM_READABLE, GTK_PARAM_WRITABLE, GTK_PARAM_READWRITE which are like their G_ counterparts, but also mark the name, nick and blurb as static. * gtk/*.c: Mark param spec strings as static, using the new macros.
* Make PLT-reduction work with gcc4, and don't include everything inMatthias Clasen2005-03-201-1/+3
| | | | | | | | | | | | | | | | | | 2005-03-20 Matthias Clasen <mclasen@redhat.com> Make PLT-reduction work with gcc4, and don't include everything in gdkalias.h: * gtk/grk.symbols: Group symbols by header and source file. * gtk/makegtkalias.pl: Protect definitions by the same preprocessor symbols used to guard the headers. Move the alias declarations to a separate file which is produced when calling makegtkalias.pl -def * gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate this file. * gtk/*.c: Include gtkalias.h after the other headers, include gtkaliasdef.c at the bottom. * gtk/*.h: Small cleanups.
* Don't try to focus the default_widget if there is none. (#169881, ThomasMatthias Clasen2005-03-111-7/+7
| | | | | | | | 2005-03-10 Matthias Clasen <mclasen@redhat.com> * gtk/gtkdialog.c (gtk_dialog_map): Don't try to focus the default_widget if there is none. (#169881, Thomas Leonard)
* More canonical property names.Matthias Clasen2005-03-091-4/+4
|
* Don't loop forever here, even if the only focusable widgets are labels.Matthias Clasen2005-01-201-0/+6
| | | | | | | 2005-01-20 Matthias Clasen <mclasen@redhat.com> * gtk/gtkdialog.c (gtk_dialog_map): Don't loop forever here, even if the only focusable widgets are labels.
* Some clarification regarding modality. (#112903, Dave Bordoley)Matthias Clasen2005-01-031-0/+6
| | | | | | | 2005-01-03 Matthias Clasen <mclasen@redhat.com> * gtk/gtkdialog.c (gtk_dialog_run): Some clarification regarding modality. (#112903, Dave Bordoley)
* Provide a non-varargs variant of gtk_dialog_set_alternative_button_order()Matthias Clasen2004-11-211-0/+39
| | | | | | | | | 2004-11-20 Matthias Clasen <mclasen@redhat.com> * gtk/gtkdialog.h: * gtk/gtkdialog.c (gtk_dialog_set_alternative_button_order_from_array): Provide a non-varargs variant of gtk_dialog_set_alternative_button_order() for language bindings. (#158798, John Finlay)
* Fix the doc formatting.Matthias Clasen2004-10-251-4/+4
| | | | | | | | | 2004-10-25 Matthias Clasen <mclasen@redhat.com> * gtk/gtkdialog.c (gtk_dialog_set_alternative_button_order): Fix the doc formatting. * gtk/gtkcellview.[hc]: Make function parameter names consistent.
* Add a public setting for button ordering (#74669, Owen Taylor)Matthias Clasen2004-10-251-7/+131
| | | | | | | | | | | | | | | | | | | | | | | 2004-10-25 Matthias Clasen <mclasen@redhat.com> Add a public setting for button ordering (#74669, Owen Taylor) * gtk/gtksettings.c (gtk_settings_class_init): Add a gtk-alternative-button-order setting. * gtk/gtkdialog.h: * gtk/gtkdialog.c (gtk_alternative_dialog_button_order): A getter for the alternative button order setting. * gtk/gtkdialog.c (gtk_dialog_set_alternative_button_order): New function to install an alternative button order for a dialog. * gtk/gtkfilesel.c (gtk_file_selection_init): * gtk/gtkfontsel.c (gtk_font_selection_dialog_init): * gtk/gtkmessagedialog.c (gtk_message_dialog_add_buttons): * gtk/gtkcolorseldialog.c (gtk_color_selection_dialog_init): * gtk/gtkfilechooserdefault.c (location_popup_handler): Set up an alternative button order.
* Skip selectable labels when looking for the initial focus widget.Matthias Clasen2004-09-291-2/+13
| | | | | | | | | | 2004-09-29 Matthias Clasen <mclasen@redhat.com> * gtk/gtkdialog.c (gtk_dialog_map): Skip selectable labels when looking for the initial focus widget. * gtk/gtklabel.c (gtk_label_focus): Remove to put selectable labels in the regular focus chain again.
* Add hidden aliases for exported symbols which are used internally in orderMatthias Clasen2004-08-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Aug 9 12:48:04 2004 Matthias Clasen <maclas@gmx.de> Add hidden aliases for exported symbols which are used internally in order to get rid of many PLT entries. (#145519, Arjan van de Ven) * gtk/Makefile.am: Add rules to generate gtk.def and from gtk.symbols, and make make check check the abi with abicheck.sh. (gtk_private_h_sources): Add gtkinternals.h (gtk_built_private_headers): Add gtkalias.h (gtk_extra_sources): Add gtk.symbols (EXTRA_DIST): Add makegtkalias.pl and abicheck.sh * gtk/gtk.symbols: New file. Definition of the GTK+ ABI. The file can be processed by cpp to filter out certain subsets of symbols. * gtk/abicheck.sh: New file. Script to check the actually symbols exported from libgtk-x11.2.0.so against the symbols found in gtk.symbols. * gtk/makegtkalias.pl: New file. Perl script to generate the header containing the alias definitions for internally used exported symbols from a list of symbols. * gtk/gtkinternals.h: New file. An uninstalled header listing symbols which must be exported for some reason and do not appear in any other header. * gtk/*.c: Include gtkalias.h
* Don't ignore the return value of gtk_widget_activate().Federico Mena Quintero2004-03-121-6/+21
| | | | | | | | | | | | | | | | | | | | | | 2004-03-12 Federico Mena Quintero <federico@ximian.com> * gtk/gtkwindow.c (gtk_window_activate_focus): Don't ignore the return value of gtk_widget_activate(). (gtk_window_activate_default): Likewise. Fixes #137008. * gtk/gtkfilechooserdialog.c (response_cb): Act on positive response IDs we recognize, rather than bailing out on cancellation ones. Fixes #136237; patch by Olivier Andrieu <oliv__a@users.sourceforge.net>. (file_chooser_widget_file_activated): If the dialog doesn't have a default widget, try to find a suitable response widget on our own. People should *really* be using gtk_dialog_set_default_response(), but this is to help lazy programmers. * gtk/gtkdialog.c (_gtk_dialog_get_response_for_widget): New internal function. (get_response_data): Add a "create" argument so that we don't unconditionally create the response data.
* Fixes #136082 and #135265, patch by Morten Welinder.Federico Mena Quintero2004-03-061-0/+1
| | | | | | | | | | 2004-03-05 Federico Mena Quintero <federico@ximian.com> Fixes #136082 and #135265, patch by Morten Welinder. * configure.in: Use AC_SYS_LARGEFILE. * */*.c: #include <config.h>
* Fix #68938.Federico Mena Quintero2004-02-031-0/+33
| | | | | | | | | | | | | | | | | | | | 2004-02-03 Federico Mena Quintero <federico@ximian.com> Fix #68938. * gtk/gtkdialog.c (GtkDialogPrivate): New private structure for GtkDialog; right now it only contains an ignore_separator field. (gtk_dialog_class_init): Register the private structure. (gtk_dialog_init): Initialize the priv->ignore_separator field. (_gtk_dialog_set_ignore_separator): New private function. (gtk_dialog_set_has_separator): Ignore the setting if appropriate. * gtk/gtkmessagedialog.c (gtk_message_dialog_class_init): Add a use_separator style property. (gtk_message_dialog_style_set): Change the dialog's separator based on the style property. (gtk_message_dialog_init): Set the dialog box to ignore the separator setting.
* The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog andMatthias Clasen2004-01-161-8/+8
| | | | | | | | | | | | | | | | | | | | Fri Jan 16 23:59:01 2004 Matthias Clasen <maclas@gmx.de> The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog and po/ChangeLog): * gtk/gtkintl.h: * gdk-pixbuf/gdk-pixbuf-i18n.h: * gdk/gdkintl.h: Define P_() for property blurbs and nicks. * gdk/gdkdisplaymanager.c: * gdk-pixbuf/gdk-pixbuf.c: * modules/input/gtkimcontextxim.c: * gtk/*.c: Mark property blurbs and nicks with P_(). * po/Makefile.in.in: Add --keyword=P_ to the xgettext invocation, since property blurbs and nicks are now marked with P_().
* Sigh, revert the change.Federico Mena Quintero2003-12-151-0/+27
| | | | | | 2003-12-15 Federico Mena Quintero <federico@ximian.com> * gtk/gtkdialog.c: Sigh, revert the change.
* Removed. (gtk_dialog_close): Don't call dialog_has_cancel(). At leastFederico Mena Quintero2003-12-151-27/+0
| | | | | | | | 2003-12-15 Federico Mena Quintero <federico@ximian.com> * gtk/gtkdialog.c (dialog_has_cancel): Removed. (gtk_dialog_close): Don't call dialog_has_cancel(). At least allows sane behavior for #101293.
* Some fixes for modal hint setting based on a patch from Arvind SampturOwen Taylor2002-12-161-3/+3
| | | | | | | | | | | | | | | | | | Sun Dec 15 18:47:30 2002 Owen Taylor <otaylor@redhat.com> Some fixes for modal hint setting based on a patch from Arvind Samptur (#100416) * gtk/gtkdialog.c (gtk_dialog_run): Call gtk_window_set_modal before showing the window for efficiency. * gtk/gtkwindow.c (gtk_window_realize): Ignore the EWMH constraint that the transient-for hint must always be set on windows with the modal hint and just always set the modal hint. * gtk/gtkwindow.c (gtk_window_set_modal): Update the modal hint on the GdkWindow when the window is realized.
* minor coding style fix.Chema Celorio2002-12-141-3/+3
| | | | | | | Sat Dec 14 01:51:05 2002 Chema Celorio <chema@celorio.com> * gtk/gtkdialog.c (gtk_dialog_add_buttons_valist): minor coding style fix.
* Change the Escape key binding to only close if the dialog contains aOwen Taylor2002-12-141-10/+39
| | | | | | | | Fri Dec 13 18:57:20 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkdialog.c: Change the Escape key binding to only close if the dialog contains a cancel button. (Patch from James Willcox, #74221)
* Remove code to grab the focus here, it is no longer needed since we focusOwen Taylor2002-11-251-6/+1
| | | | | | | | | Mon Nov 25 12:34:44 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkdialog.c (gtk_dialog_set_default_response): Remove code to grab the focus here, it is no longer needed since we focus a widget on map, and can cause harm. (#99048, Daniel Elstner)
* Documentation fixes.Soeren Sandmann2002-10-131-4/+4
| | | | | | | | | | | | | | | | | Sun Oct 13 18:50:14 2002 Soeren Sandmann <sandmann@daimi.au.dk> * gtkmenu.c, gtkmenu.sgml, gtkitemfactory.c, gdkwindow.c, gtkwindow.c, gtkpaned.sgml, gtkdialog.c, gtkbox.h, gtkbutton.sgml, gtktreemodel.sgml,gtktable.sgml, gtktable.c: Documentation fixes. #85719, #90759, #95169, Owen Taylor; #89221, Yao Zhang, Matthias Clasen; #95592, Joost Faassen; #92637, Vitaly Tishkov; #94616, Ben Martin; #94772, sbaillie@bigpond.net.au;
* Deprecation cleanupManish Singh2002-10-111-78/+81
| | | | | | | | | | Fri Oct 11 15:56:20 2002 Manish Singh <yosh@gimp.org> * gtk/gtkaccellabel.[ch] gtk/gtkaccessible.[ch] gtk/gtkbutton.[ch] gtk/gtkcheckbutton.[ch] gtk/gtkcolorseldialog.[ch] gtk/gtkdialog.[ch] gtk/gtkhandlebox.[ch] gtk/gtkinputdialog.[ch] gtk/gtkmessagedialog.[ch] gtk/gtktearoffmenuitem.[ch] gtk/gtktogglebutton.[ch]: Deprecation cleanup
* Add a 'type' parameter, make public.Owen Taylor2002-10-031-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thu Oct 3 14:13:33 2002 Owen Taylor <otaylor@redhat.com> * gdk/gdkevents.c (gdk_event_new): Add a 'type' parameter, make public. * gdk/gdkevents.c (gdk_event_copy): Copy the screen. * gdk/gdkevents.c gdk/linux-fb/gdkmain-fb.c gdk/x11/gdkevents-x11.c gdk/win32/gdkevents-win32.c: _gdk_event_new() => gdk_event_new(). * gdk/win32/gdkevents-win32.c (real_window_procedure): Fix event_private->screen breakage that results from evil encapsulation breakage here. * gtk/gtkclist.c gtk/gtkcombo.c gtk/gtkcontainer.c gtk/gtkdialog.c gtk/gtkdnd.c gtk/gtkdrawingarea.c gtk/gtkimcontextsimple.c gtk/gtklist.c gtk/gtkmenu.c gtk/gtknotebook.c gtk/gtkplug.c gtk/gtkselection.c gtk/gtktext.c gtk/gtktreeitem.c gtk/gtktreeview.c gtk/gtkviewport.c gtk/gtkwindow-decorate.c gtk/gtkwindow.c tests/testgtk.c: Remove most usage of stack-allocated GdkEvent structures. * gtk/gtktreeview.c: Use a cut-and-paste of the full send_focus_event() from gtkwindow.c that does the necessary notification of the ::has-focus property and setting of the HAS_FOCUS flag.x * gtk/gtkdnd.c: Clean up some mess/duplicated code; removing an extraneous use of a GdkEvent.
* Fix some cases where signal connection IDs where being assigned to guintOwen Taylor2002-07-101-4/+4
| | | | | | | | | Wed Jul 10 14:27:14 2002 Owen Taylor <otaylor@redhat.com> * modules/input/gtkimcontextxim.c gtk/gtkcolorsel.c gtk/gtkdialog.c gtk/gtktextbtree.c: Fix some cases where signal connection IDs where being assigned to guint rather than gulong. (part of #87281, Shivram U)
* s/<!>/<!-- -->/g throughout the documentation to bring the producedMatthias Clasen2002-04-181-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Try to make sure that we have some focused widget on map. (#50339)Owen Taylor2002-01-301-0/+41
| | | | | | | | | | | | | | Wed Jan 30 13:55:59 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkwindow.c (gtk_window_show): Try to make sure that we have some focused widget on map. (#50339) * gtk/gtkdialog.c (gtk_dialog_map): Handling picking a focus widget here differently so that if a response button gets picked, it's the default one. * tests/testgtk.c (make_message_dialog): Set the default response for the dialogs.
* Doc typo fix. (#68172)Matthias Clasen2002-01-081-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* s/<!>/<!-- -->/ to make the doc valid with both SGML and XML.James Henstridge2001-12-241-2/+2
| | | | | | | 2001-12-24 James Henstridge <james@daa.com.au> * gtk/gtkdialog.h (doc comment): s/<!>/<!-- -->/ to make the doc valid with both SGML and XML.
* Markup fixes.Matthias Clasen2001-12-131-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | * gtk/gtkdialog.c, gtk/gtkrc.c, gtk/gtkwidget.c: Markup fixes. * gdk-pixbuf-io.c: Markup fixes. * gdk-pixbuf/tmpl/scaling.sgml, gdk/tmpl/fonts.sgml, gdk/tmpl/general.sgml, gdk/tmpl/rgb.sgml, gdk/tmpl/visuals.sgml, gdk/tmpl/windows.sgml, gtk/gtk-docs.sgml, gtk/tmpl/gtkaccellabel.sgml, gtk/tmpl/gtkcombo.sgml, gtk/tmpl/gtkdialog.sgml, gtk/tmpl/gtkdrawingarea.sgml, gtk/tmpl/gtkeditable.sgml, gtk/tmpl/gtkfilesel.sgml, gtk/tmpl/gtkfontseldlg.sgml, gtk/tmpl/gtkimage.sgml, gtk/tmpl/gtkmain.sgml, gtk/tmpl/gtkmenu.sgml, gtk/tmpl/gtkmessagedialog.sgml, gtk/tmpl/gtkobject.sgml, gtk/tmpl/gtkpaned.sgml, gtk/tmpl/gtkradiobutton.sgml, gtk/tmpl/gtkrc.sgml, gtk/tmpl/gtkscale.sgml, gtk/tmpl/gtksignal.sgml, gtk/tmpl/gtksocket.sgml, gtk/tmpl/gtkspinbutton.sgml, gtk/tmpl/gtktogglebutton.sgml, gtk/tmpl/gtksignal.sgml, gtk/tmpl/gtktooltips.sgml, gtk/tmpl/gtkwindow.sgml, gdk/tmpl/regions.sgml, gtk/tmpl/gtkfontsel.sgml, gtk/tmpl/gtkpixmap.sgml, gtk/tmpl/gtkprogress.sgml, gtk/tmpl/gtkselection.sgml, gtk/tmpl/gtktable.sgml, gtk/tmpl/gtktipsquery.sgml: Markup fixes (mainly examples).
* Rename the GTK_DESTROYED flag to GTK_IN_DESTRUCTION, remove theOwen Taylor2001-11-191-7/+23
| | | | | | | | | | | | | | | Sun Nov 18 19:47:29 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkobject.h docs/Changes-2.0.txt: Rename the GTK_DESTROYED flag to GTK_IN_DESTRUCTION, remove the GTK_OBJECT_DESTROYED() check macro. * gtk/gtkbindings.c (gtk_bindings_activate): Remove instances of GTK_OBJECT_DESTROYED() that weren't needed any more. * gtk/gtkdialog.c: Exchange use of GTK_OBJECT_DESTROYED for a connection to ::destroy.
* Make gtkmarshal.list/gtkmarshal.h only for compatibility with GTK+-1.2;Owen Taylor2001-11-171-2/+3
| | | | | | | | | | Sat Nov 17 18:26:45 2001 Owen Taylor <otaylor@redhat.com> * gtk/Makefile.am gtk/gtkmarshal.list gtk/gtkmarshalers.list gtk/*.c gtk/gtksignal.h: Make gtkmarshal.list/gtkmarshal.h only for compatibility with GTK+-1.2; and deprecate it; put all marshalers we actually use into gtkmarshalers.list and use the _gtk_marshal_ prefix for these marshalers.
* Mass fixing of trivial doc bugs. (#63544, #57007, #64141, #63472, #57108,Matthias Clasen2001-11-101-19/+14
| | | | | | | | | | | | | | * gtk/gtkiconfactory.c, gtk/gtktextbuffer.c, gtk/gtktreemodel.c, gtk/gtkwindow.c, gtk/gtknotebook.c, gtk/gtkradiobutton.c, gtk/gtktextiter.c, gtk/gtkdialog.c: Mass fixing of trivial doc bugs. (#63544, #57007, #64141, #63472, #57108, #60818, #61562) * gtk/tmpl/gtkaccellabel.sgml, gtk/tmpl/gtkcombo.sgml, gtk/tmpl/gtkentry.sgml, gtk/tmpl/gtkhscrollbar.sgml, gtk/tmpl/gtkvscrollbar.sgml, gtk/tmpl/gtktoolbar.sgml, gtk/tmpl/gtkdialog.sgml, gtk/tmpl/gtkstatusbar.sgml: Mass fixing of trivial doc bugs. (#55579, #56760, #58769, #55918, #64154, #60422, #54697)
* Add g_return_if_fail.Darin Adler2001-11-071-0/+4
| | | | | * gtk/gtkdialog.c: (gtk_dialog_set_response_sensitive), (gtk_dialog_set_default_response): Add g_return_if_fail.
* remove totally broken unused, non-compiling, static function.Matt Wilson2001-11-021-28/+0
| | | | | | | 2001-11-02 Matt Wilson <msw@redhat.com> * gtk/gtkdialog.c (find_child_by_response_id): remove totally broken unused, non-compiling, static function.
* Iterate through children of the action area, not of the vbox. (#58278,Owen Taylor2001-11-021-1/+29
| | | | | | | | Fri Nov 2 08:17:06 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkdialog.c (gtk_dialog_set_response_sensitive): Iterate through children of the action area, not of the vbox. (#58278, Sergey Kuzminov)
* Automatically set set dialogs to GTK_WIN_POS_CENTER_ON_PARENT. (#60554)Owen Taylor2001-09-201-0/+1
| | | | | | | Thu Sep 20 15:10:30 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkdialog.c (gtk_dialog_init): Automatically set set dialogs to GTK_WIN_POS_CENTER_ON_PARENT. (#60554)
* default xscale/yscale to 0.0, not 0.5, 0.5 isn't usefulHavoc Pennington2001-09-081-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Rename gtk_container_children() to gtk_container_get_children. AddedOwen Taylor2001-08-231-2/+2
| | | | | | | | | | | Thu Aug 23 19:33:54 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkcontainer.[ch]: Rename gtk_container_children() to gtk_container_get_children. Added deprecated compatibility macro. (Suggested by Vitaly Tishkov, #59051) * gtk/gtktoolbar.c gtkdialog.c: Fix gtk_container_children() calls.
* Patch from Matthias Clasen to remove remove all instances ofOwen Taylor2001-07-181-1/+0
| | | | | | | | | Wed Jul 18 19:28:46 2001 Owen Taylor <otaylor@redhat.com> * gtk/*.c: Patch from Matthias Clasen to remove remove all instances of g_return_if_fail (foo != NULL); that are immediately before a g_return_if_fail (GTK_IS_FOO (foo)); since the second check catches the NULL anyways.
* Fix idles and timeouts to be properly surrounded byOwen Taylor2001-07-181-0/+2
| | | | | | | | | | | | Wed Jul 18 18:23:05 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkbutton.c gtk/gtkentry.c gtk/gtkmenu.c gtk/gtktextview.c gtktreeview.c: Fix idles and timeouts to be properly surrounded by GDK_THREADS_ENTER()/LEAVE() pairs. * gtk/gtkdialog.c gtk/gtkclipboard.c: Surround calls to g_main_loop_run() with GDK_THREADS_LEAVE()/ENTER() pairs. (Problem found by M. Meeks)