summaryrefslogtreecommitdiff
path: root/gtk/gtkmessagedialog.c
Commit message (Collapse)AuthorAgeFilesLines
* Bug 555270 – Allow unsetting a MessageDialog's imageChristian Dywan2008-10-081-1/+8
| | | | | | | | | | | | | 2008-10-08 Christian Dywan <christian@imendio.com> Bug 555270 – Allow unsetting a MessageDialog's image * gtk/gtkmessagedialog.c (gtk_message_dialog_set_property), Remove a superfluous cast to GtkWidget* (gtk_message_dialog_set_image): Accept NULL for the image and unset the image in that case. svn path=/trunk/; revision=21607
* gtk/gtkaccellabel.c gtk/gtkcalendar.c gtk/gtkclist.c gtk/gtkentry.cMichael Natterer2008-08-121-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-12 Michael Natterer <mitch@imendio.com> * gtk/gtkaccellabel.c * gtk/gtkcalendar.c * gtk/gtkclist.c * gtk/gtkentry.c * gtk/gtkeventbox.c * gtk/gtkfilechooserbutton.c * gtk/gtkfilechooserdefault.c * gtk/gtkhandlebox.c * gtk/gtkhsv.c * gtk/gtkiconview.c * gtk/gtkimage.c * gtk/gtklayout.c * gtk/gtklistitem.c * gtk/gtkmenuitem.c * gtk/gtkmessagedialog.c * gtk/gtknotebook.c * gtk/gtkpaned.c * gtk/gtkpathbar.c * gtk/gtkplug.c * gtk/gtkprintunixdialog.c * gtk/gtkrange.c * gtk/gtkrecentchooserdefault.c * gtk/gtkruler.c * gtk/gtksocket.c * gtk/gtktext.c * gtk/gtktextview.c * gtk/gtktoolbar.c * gtk/gtktreeitem.c * gtk/gtktreeview.c * gtk/gtkviewport.c * gtk/gtkwin32embedwidget.c: chain up unconditionally in realize(), unrealize(), map(), unmap(), style_set(), key_press_event() and size_request() svn path=/trunk/; revision=21088
* Doc fixesMatthias Clasen2008-07-211-0/+2
| | | | svn path=/trunk/; revision=20887
* Revert name changeCody Russell2008-07-011-1/+1
| | | | svn path=/trunk/; revision=20724
* Practically everything changed.Cody Russell2008-06-301-1/+1
| | | | | | | | | | | | | 2008-06-30 Cody Russell <bratsche@gnome.org> * Practically everything changed. Change all references of GIMP Toolkit (and variations of it) to GTK+ Toolkit, showing no mercy at all to our beloved ancestry. (#540529) svn path=/trunk/; revision=20709
* Include "config.h" instead of <config.h> Command used: find -nameJohan Dahlin2008-06-221-1/+1
| | | | | | | | | | | | 2008-06-21 Johan Dahlin <jdahlin@async.com.br> * *.[ch]: Include "config.h" instead of <config.h> Command used: find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g' Rubberstamped by Mitch and Tim svn path=/trunk/; revision=20669
* must return a value of the appropriate type with g_return_val_if_failHans Breuer2008-06-201-1/+1
| | | | | | | | | | | | | | | | | 2008-06-20 Hans Breuer <hans@breuer.org> * gtk/gtkmenuitem.c gtk/gtkmessagedialog.c gtk/gtkplug.c : must return a value of the appropriate type with g_return_val_if_fail * gdk/gdkconfig.h.win32 : add the GSEAL definition here as well * gtk/gtkfilesystem.c : don't add the "File System" on win32 * tests/makefile.msc : remove broken autotestfile(system|chooser) from build svn path=/trunk/; revision=20657
* Add missing accessor for sealed field GtkMessageDialog->image.Johan Dahlin2008-06-201-0/+16
| | | | | | | | | | | | 2008-06-20 Johan Dahlin <jdahlin@async.com.br> * gtk/gtk.symbols: * gtk/gtkmessagedialog.c (gtk_message_dialog_get_image): * gtk/gtkmessagedialog.h: Add missing accessor for sealed field GtkMessageDialog->image. svn path=/trunk/; revision=20642
* More default property value fixesMatthias Clasen2007-12-281-1/+1
| | | | svn path=/trunk/; revision=19277
* Require gtk-doc 1.8Matthias Clasen2007-11-251-3/+2
| | | | | | | | | | | 2007-11-25 Matthias Clasen <mclasen@redhat.com> * configure.in: Require gtk-doc 1.8 * */*.c: Use gtk-doc abbreviations for examples in docs. svn path=/trunk/; revision=19041
* Fix an a11y regressionMatthias Clasen2006-12-041-0/+15
|
* Apply a cleanup patch by Kjartan Maraas (#341812)Matthias Clasen2006-10-081-1/+1
| | | | | | 2006-10-08 Matthias Clasen <mclasen@redhat.com> * Apply a cleanup patch by Kjartan Maraas (#341812)
* More of the sameMatthias Clasen2006-05-141-1/+1
|
* Add an image propertyMatthias Clasen2006-05-091-44/+77
|
* Boilerplate reductionMatthias Clasen2006-05-021-34/+3
|
* Apply a patch from Dennis Cranston to make dialogs more consistentMatthias Clasen2006-03-101-19/+13
| | | | | | | | | | | | | | | | | | | | | 2006-03-10 Matthias Clasen <mclasen@redhat.com> Apply a patch from Dennis Cranston to make dialogs more consistent (#163850) * gtk/gtkcolorsel.c (make_label_spinbutton): Left-align labels. * gtk/gtkfontsel.c (gtk_font_selection_init): * gtk/gtkfontsel.c (gtk_font_selection_dialog_init): * gtk/gtkcolorsel.c (gtk_color_selection_init): * gtk/gtkcolorseldialog.c (gtk_color_selection_dialog_init): * gtk/gtkinputdialog.c (gtk_input_dialog_init): Update the layout of the dialog to follow HIG recommendations. Also update labels. * gtk/gtkmessagedialog.c (gtk_message_dialog_init): HIG-compatible spacing. (gtk_message_dialog_font_size_change): Merged into gtk_message_dialog_style_set.
* Add properties. (#311254, Johan Dahlin) (gtk_message_dialog_new): RemoveMatthias Clasen2006-01-111-11/+138
| | | | | | | * gtk/gtkmessagedialog.c: Add properties. (#311254, Johan Dahlin) (gtk_message_dialog_new): Remove some redundant code, pointed out by Gustavo Carneiro.
* Alert dialogs should not have titles and should not be displayed in theMatthias Clasen2005-12-301-6/+4
| | | | | | | | | 2005-12-30 Matthias Clasen <mclasen@redhat.com> * gtk/gtkmessagedialog.c (gtk_message_dialog_init): (setup_type): Alert dialogs should not have titles and should not be displayed in the taskbar. (#310443, Carlos Garnacho Parro, Dennis Cranston)
* Fix an example. (#322493, Elie De Brauwer)Matthias Clasen2005-11-271-1/+1
| | | | | | | 2005-11-27 Matthias Clasen <mclasen@redhat.com> * gtk/gtkmessagedialog.c (gtk_message_dialog_new_with_markup): Fix an example. (#322493, Elie De Brauwer)
* Intern some more strings.Matthias Clasen2005-09-011-1/+1
| | | | | | | | | 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().
* 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-2/+2
| | | | | | | | | | | | 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.
* 2.7.4GTK_2_7_4Matthias Clasen2005-07-221-1/+2
|
* Point out escaping oversight. (#311260, Owen Taylor)Matthias Clasen2005-07-221-0/+12
| | | | | | | 2005-07-22 Matthias Clasen <mclasen@redhat.com> * gtk/gtkmessagedialog.c (gtk_message_dialog_format_secondary_markup): Point out escaping oversight. (#311260, Owen Taylor)
* Use canonical names for g_object_notify() as well.Matthias Clasen2005-03-261-3/+3
| | | | | | | | 2005-03-26 Matthias Clasen <mclasen@redhat.com> * gtk/*.c: * gdk/gdkdisplaymanager.c: Use canonical names for g_object_notify() as well.
* Define macros GTK_PARAM_READABLE, GTK_PARAM_WRITABLE, GTK_PARAM_READWRITEMatthias Clasen2005-03-221-5/+7
| | | | | | | | | | | | 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/+4
| | | | | | | | | | | | | | | | | | 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.
* More canonical property names.Matthias Clasen2005-03-091-3/+3
|
* Don't show the secondary label on show_all(). (#161707, Christian Persch)Matthias Clasen2004-12-201-1/+2
| | | | | | | 2004-12-20 Matthias Clasen <mclasen@redhat.com> * gtk/gtkmessagedialog.c (setup_primary_label_font): Don't show the secondary label on show_all(). (#161707, Christian Persch)
* Don't leak pango_font_description object (#160214, Frederic Crozat).Matthias Clasen2004-12-021-0/+1
| | | | | | | 2004-12-02 Matthias Clasen <mclasen@redhat.com> * gtk/gtkmessagedialog.c: (setup_primary_label_font): Don't leak pango_font_description object (#160214, Frederic Crozat).
* Fix many sparse warnings.Matthias Clasen2004-10-281-1/+1
|
* Add missing includes. (#156503, Kazuki IWAMOTO)Matthias Clasen2004-10-261-0/+1
| | | | | | | 2004-10-26 Matthias Clasen <mclasen@redhat.com> * gtk/gtkmessagedialog.c: * gtk/gtkfilechooserbutton.c: Add missing includes. (#156503, Kazuki IWAMOTO)
* Fix for #118764, David Bordoley:Carlos Garnacho Parro2004-10-261-14/+188
| | | | | | | | | | | | | | | | | 2004-10-25 Carlos Garnacho Parro <carlosg@gnome.org> Fix for #118764, David Bordoley: * gtk/gtkmessagedialog.[ch] (gtk_message_dialog_format_secondary_text), (gtk_message_dialog_format_secondary_format): API additions to create HIG-like dialogs * demos/gtk-demo/dialog.c: Use the new API in the example * docs/reference/gtk/gtk-sections.txt: * docs/reference/gtk/tmpl/gtkmessagedialog.sgml: documented API additions
* Add a public setting for button ordering (#74669, Owen Taylor)Matthias Clasen2004-10-251-0/+8
| | | | | | | | | | | | | | | | | | | | | | | 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.
* 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
* Back out the put-labels-into-the-standard-focus-chain patches from bugOwen Taylor2004-03-111-41/+0
| | | | | | | | | | | Thu Mar 11 13:58:24 2004 Owen Taylor <otaylor@redhat.com> * gtk/gtkmessagedialog.c gtk/gtklabel.c: Back out the put-labels-into-the-standard-focus-chain patches from bug #59707. * gtk/gtklabel.c (gtk_label_focus): Only put the label in the tab chain when the control key is pressed.
* 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>
* New ::map() handler. If no widget has the focus, try to give it to theFederico Mena Quintero2004-02-111-0/+41
| | | | | | | | | 2004-02-11 Federico Mena Quintero <federico@ximian.com> * gtk/gtkmessagedialog.c (gtk_message_dialog_map): New ::map() handler. If no widget has the focus, try to give it to the default widget. If there is no default widget, give it to the first button. Fixes the cause for which #59707 was reopened.
* Make the window not resizable. Fixes #114032.Federico Mena Quintero2004-02-031-0/+2
| | | | | | | 2004-02-03 Federico Mena Quintero <federico@ximian.com> * gtk/gtkmessagedialog.c (gtk_message_dialog_init): Make the window not resizable. Fixes #114032.
* Add documentation for the use_separator style property.Federico Mena Quintero2004-02-031-0/+8
| | | | | | | 2004-02-03 Federico Mena Quintero <federico@ximian.com> * gtk/gtkmessagedialog.c (gtk_message_dialog_class_init): Add documentation for the use_separator style property.
* Fix #68938.Federico Mena Quintero2004-02-031-0/+16
| | | | | | | | | | | | | | | | | | | | 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-6/+6
| | | | | | | | | | | | | | | | | | | | 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_().
* Allow NULL for message_format, as described in the docs and as workedOwen Taylor2003-10-291-25/+41
| | | | | | | | | | | | | | | Wed Oct 29 15:40:26 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkmessagedialog.c (gtk_message_dialog_new/ gtk_message_dialog_new_with_format): Allow NULL for message_format, as described in the docs and as worked previously. (#125759, Richard Hult) * gtk/gtkmessagedialog.c (gtk_message_dialog_new_with_markup): Use g_markup_vprintf_escaped() to escape argumetns. * gtk/gtkmessagedialog.[ch]: Add gtk_message_dialog_set_markup() so there is some way to set literal markup.
* Add a missing break. (#119156, Callum McKenzie)Owen Taylor2003-08-051-0/+1
| | | | | | | Tue Aug 5 10:07:08 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkmessagedialog.c (gtk_message_dialog_get_property): Add a missing break. (#119156, Callum McKenzie)
* Add a new keybinding signal, move_viewport. (gtk_text_view_move_viewport):Matthias Clasen2003-07-181-2/+78
| | | | | | | | | | | | | | | | | | | 2003-07-18 Matthias Clasen <maclas@gmx.de> * gtk/gtktextview.c (gtk_text_view_class_init): Add a new keybinding signal, move_viewport. (gtk_text_view_move_viewport): New function which implements the move_viewport functionality. (gtk_text_view_move_cursor_internal): If the cursor is not visible, move the viewport. (#78669) * gtk/gtkenums.h (GtkScrollStep): New enumeration, used for move_viewport argument. * gtk/gtkstatusbar.c (gtk_statusbar_class_init): Add a has_resize_grip property. (#111779) * gtk/gtkwindow.h: * gtk/gtkwindow.c (gtk_window_set_default_icon): New method. (#95816) * gtk/gtkmessagedialog.h: * gtk/gtkmessagedialog.c (gtk_message_dialog_add_buttons): New method. (#65501, Sebastian Rittau)
* Deprecation cleanupManish Singh2002-10-111-15/+18
| | | | | | | | | | 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
* General property notification cleanup.Matthias Clasen2002-01-281-0/+2
|
* Align the image at the top, #65020, request from Seth Nickell)Owen Taylor2001-11-241-0/+1
| | | | | | Fri Nov 23 18:57:46 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkmessagedialog.c (gtk_message_dialog_init): Align the image at the top, #65020, request from Seth Nickell)
* Patch from Murray Cumming to add "message_type" and "buttons" CONSTRUCTOwen Taylor2001-11-151-14/+132
| | | | | | | | | | Thu Nov 15 11:59:35 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkmessagedialog.c: Patch from Murray Cumming to add "message_type" and "buttons" CONSTRUCT properties. (#64069) * tests/testsocket.c: Expand tests to add a "local passive child" (Test case for #64428)
* WarnOwen Taylor2001-11-131-0/+6
| | | | | | Mon Nov 12 19:33:52 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkmessagedialog.c (gtk_message_dialog_new): Warn