summaryrefslogtreecommitdiff
path: root/gtk/gtkmessagedialog.c
Commit message (Collapse)AuthorAgeFilesLines
* Another round of template binding api changesMatthias Clasen2013-07-261-4/+4
| | | | | | | | | | | We rename the gtk_widget_class_bind_template_child{_internal} macros by appending a _private to their name. Otherwise, it would be too magic to pass the 'public' names as arguments, but affect a member of the Private struct. At the same time, Add two new macros with the old names, gtk_widget_class_bind_template_child{_internal} that operate on members of the instance struct.
* Rename the widget template APIEmmanuele Bassi2013-07-261-4/+4
| | | | | | | | | | | | | | | | | | | | The macros and functions are inconsistently named, and are not tied to the "template" concept - to the point that it seems plausible to use them without setting the template. The new naming scheme is as follows: gtk_widget_class_bind_template_child_full gtk_widget_class_bind_template_callback_full With the convenience macros: gtk_widget_class_bind_template_child gtk_widget_class_bind_template_child_internal gtk_widget_class_bind_template_callback https://bugzilla.gnome.org/show_bug.cgi?id=700898 https://bugzilla.gnome.org/show_bug.cgi?id=700896
* widget: Use a real offset in gtk_widget_class_automate_childAlexander Larsson2013-07-261-4/+4
| | | | | | | | | | Using an offset from the struct means you can have children in both the public and private (via G_PRIVATE_OFFSET) parts of the instance. It also matches the new private macros nicer. https://bugzilla.gnome.org/show_bug.cgi?id=702563 Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
* Drop some unnecessary includesMatthias Clasen2013-07-191-1/+0
| | | | | Drop includes of deprecated headers where they are no longer needed.
* Move wholly deprecated classes to gtk/deprecated/Matthias Clasen2013-07-191-1/+1
| | | | | | | | | | | | | | | | | | We've recently a number of classes wholly. For these cases, move the headers and sources to gtk/deprecated/ and adjust Makefiles and includes accordingly. Affected classes: GtkAction GtkActionGroup GtkActivatable GtkIconFactory GtkImageMenuItem GtkRadioAction GtkRecentAction GtkStock GtkToggleAction GtkUIManager
* gtk: Use new macros for defining private dataEmmanuele Bassi2013-07-091-5/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=702996
* Start migrating internals away from GtkStockWilliam Jon McCann2013-06-241-21/+15
|
* GtkMessageDialog: Define children with a GtkBuilder templateTristan Van Berkom2013-04-081-75/+10
|
* Prefer symbolic icons in message dialogsMatthias Clasen2013-02-031-11/+11
| | | | | Based on a patch in https://bugzilla.gnome.org/show_bug.cgi?id=680048
* Prefer symbolic icons for the default message dialog imageWilliam Jon McCann2013-02-031-2/+8
| | | | | | | The icon does not need high resolution or color to indicate the type of message and the color can detract from the important part of the message. https://bugzilla.gnome.org/show_bug.cgi?id=680048
* Always make primary headings bold in message dialogsWilliam Jon McCann2012-08-301-9/+6
| | | | | | | Unless they have markup. But only use big text if there is secondary text. https://bugzilla.gnome.org/show_bug.cgi?id=683001
* docs: Improve GtkMessageDialog descriptionDavid King2012-05-041-0/+4
| | | | | | Add mention of default setting of GtkWindow:skip-taskbar-hint. https://bugzilla.gnome.org/show_bug.cgi?id=587873
* messagedialog: also set GtkMisc alignment to zero for dialog labelsCosimo Cecchi2012-04-181-0/+3
| | | | | | | | Setting xalign to START is not enough to make them left-aligned in every case. This fixes a regression introduced in commit cc0be1f949020de1562534fbc31ddf0af4651fe2 https://bugzilla.gnome.org/show_bug.cgi?id=674286
* messagedialog: don't use gtk_widget_override_font()Cosimo Cecchi2012-04-181-18/+18
| | | | | | Instead of overriding the font theme settings, just set the Pango attributes we want on the label. This fixes message dialogs growing on style_update after recent GTK+ changes.
* Fix malformed doc commentsMatthias Clasen2012-04-121-1/+1
| | | | | Most of these are forgotten :'s and similar details which gtk-doc now warns about.
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* Documentation fixesMatthias Clasen2011-09-251-17/+17
| | | | | Mostly making sure that return values and varargs don't loose their docs.
* Clean up unneeded includesMatthias Clasen2011-08-281-2/+1
|
* messagedialog: Use gtk_widget_class_set_accessible_role()Benjamin Otte2011-07-181-0/+2
|
* Don't use deprecated style apiMatthias Clasen2011-07-151-2/+2
| | | | | gtk_widget_modify_font() has been superseded by gtk_widget_override_font(), so use that in GtkMessageDialog.
* messagedialog: Initialize style values in init()Benjamin Otte2011-07-051-0/+2
| | | | Fixes underallocation warnings
* gtk/gtkmessagedialog: gtk_misc_set_alignmentDiego Celix2011-06-101-6/+10
| | | | | | | | Replacing the function gtk_misc_set_alignment () with gtk_widget_set_halign () and gtk_widget_set_valign () in gtk/gtkmessagedialog.c https://bugzilla.gnome.org/show_bug.cgi?id=650762
* Always chain up in ::style-updatedMatthias Clasen2011-02-071-1/+1
| | | | | This was not handled consistently, but the default handler does useful things, so we should always chain up.
* Remove gtktypeutils altogetherMatthias Clasen2011-01-041-0/+2
| | | | | | Based on patches by Javier Jardón. https://bugzilla.gnome.org/show_bug.cgi?id=629955
* Make GtkMessageDialog use GtkStyleContextCarlos Garnacho2011-01-041-7/+10
|
* gtk: remove "gboolean homogeneous" from gtk_box_new()Michael Natterer2010-11-021-2/+2
| | | | Because it's FALSE in virtually all use cases.
* Use gtk_box_new() instead gtk_[v|h]box_new()Javier Jardón2010-10-301-2/+2
|
* Tons of transfer annotationsMatthias Clasen2010-09-211-7/+10
|
* Remove separators from dialogsMatthias Clasen2010-09-021-31/+1
| | | | | It seems more reasonable to remove this feature than to keep fighting off every separator that pops up by accident in a dialog.
* Use GtkFooPrivate instead GtkFooPrivJavier Jardón2010-08-271-12/+12
|
* gtk/gtkmessagedialog.c: use accessor functions to access GtkWidgetJavier Jardón2010-08-221-3/+3
|
* GtkMessageDialog: move public members to private structureJavier Jardón2010-07-131-69/+59
|
* Use accessor functions to access GtkDialogJavier Jardón2010-07-131-4/+9
|
* gtk/: fully remove gtkalias hacksJavier Jardón2010-07-101-4/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=623845
* Make the message area available in gtkbuilder as wellMatthias Clasen2010-06-241-1/+40
| | | | See bug 32069.
* Remove unnused variableJavier Jardón2010-06-241-1/+1
|
* bgo#328069 - Add gtk_message_dialog_get_message_area()Federico Mena Quintero2010-06-221-5/+52
| | | | Signed-off-by: Federico Mena Quintero <federico@novell.com>
* Move documentation to inline comments: GtkMessageDialogJavier Jardón2010-04-211-0/+47
| | | | | | | Also, add a note about GTK_BUTTONS_OK, GTK_BUTTONS_YES_NO and GTK_BUTTONS_OK_CANCEL are discouraged by the GNOME HIG. https://bugzilla.gnome.org/show_bug.cgi?id=597865
* [annotations] Add allow-noneJohan Dahlin2010-02-191-3/+3
| | | | | | | | This commit was created using a script that searched for all docstrings containing a parameter and the string 'or %NULL'. Gdk backends and demos excluded as they are not part of a public API https://bugzilla.gnome.org/show_bug.cgi?id=610474
* [introspection] Merge in Gtk-custom.c annotationsColin Walters2009-12-161-5/+5
| | | | | | | | The Gtk-custom.c file in gir-repository contained a number of introspection annotations. Merge those into the GTK source files. Some documentation was moved from the tmpl/ files to accomodate the addition of annotations.
* 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