diff options
author | Paolo Borelli <pborelli@gnome.org> | 2014-07-20 10:29:09 +0200 |
---|---|---|
committer | Paolo Borelli <pborelli@gnome.org> | 2014-07-21 15:26:09 +0200 |
commit | 167f200a0cd5977c40df1729130a366a3a5224a8 (patch) | |
tree | 666735223f45656f639fb58fd9419c8ba41a8a55 | |
parent | 8b6bf3a5eaa2d03a05ee6c311e84e4cfe3fb6755 (diff) | |
download | gtk+-167f200a0cd5977c40df1729130a366a3a5224a8.tar.gz |
GtkMenuButton: do not mention GtkArrow in the docs
GtkArrow is deprecated and is not used internally anymore by the
menu button. Document also the fact that if no direction is specified
then the view-context-menu icon is shown.
https://bugzilla.gnome.org/show_bug.cgi?id=733441
-rw-r--r-- | gtk/gtkmenubutton.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/gtkmenubutton.c b/gtk/gtkmenubutton.c index 5130e35822..605937aad3 100644 --- a/gtk/gtkmenubutton.c +++ b/gtk/gtkmenubutton.c @@ -29,7 +29,10 @@ * * The #GtkMenuButton widget can hold any valid child widget. That is, it * can hold almost any other standard #GtkWidget. The most commonly used - * child is the provided #GtkArrow. + * child is #GtkImage. If no widget is explicitely added to the #GtkMenuButton, + * a #GtkImage is automatically created, using an arrow image oriented + * according to #GtkMenuButton:direction or the generic "view-context-menu" + * icon if the direction is not set. * * The positioning of the popup is determined by the #GtkMenuButton:direction * property of the menu button. |