[gtk+] docs: Improve GtkMessageDialog description



commit 2d10c8844ef2918f1406153b280a1c1de1150a33
Author: David King <amigadave amigadave com>
Date:   Mon Feb 20 18:05:12 2012 +0000

    docs: Improve GtkMessageDialog description
    
    Add mention of default setting of GtkWindow:skip-taskbar-hint.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=587873

 gtk/gtkmessagedialog.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkmessagedialog.c b/gtk/gtkmessagedialog.c
index e83c36a..7934280 100644
--- a/gtk/gtkmessagedialog.c
+++ b/gtk/gtkmessagedialog.c
@@ -50,6 +50,10 @@
  * convenience widget; you could construct the equivalent of #GtkMessageDialog
  * from #GtkDialog without too much effort, but #GtkMessageDialog saves typing.
  *
+ * One difference from #GtkDialog is that #GtkMessageDialog sets the
+ * #GtkWindow:skip-taskbar-hint property to %TRUE, so that the dialog is hidden
+ * from the taskbar by default.
+ *
  * The easiest way to do a modal message dialog is to use gtk_dialog_run(), though
  * you can also pass in the %GTK_DIALOG_MODAL flag, gtk_dialog_run() automatically
  * makes the dialog modal and waits for the user to respond to it. gtk_dialog_run()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]