summaryrefslogtreecommitdiff
path: root/gtk/gtkimagemenuitem.h
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2009-01-27 03:56:03 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2009-01-27 03:56:03 +0000
commit9e86472a65b5c7503fd5ba1b7148988e466ae57d (patch)
tree0e817b784dfffd13cd2e1700fb788d2ca5e73530 /gtk/gtkimagemenuitem.h
parent358490f9eaa18338c26c6abb88cf90b1588926bb (diff)
downloadgtk+-9e86472a65b5c7503fd5ba1b7148988e466ae57d.tar.gz
Bug 322932 – Always show icons on panel menus
* gtk/gtk.symbols: * gtk/gtkimagemenuitem.[hc]: Add a property to override the show-menu-images setting for individual menuitems. Patch by William Jon McCann. svn path=/trunk/; revision=22230
Diffstat (limited to 'gtk/gtkimagemenuitem.h')
-rw-r--r--gtk/gtkimagemenuitem.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkimagemenuitem.h b/gtk/gtkimagemenuitem.h
index d379f6a24e..b82bdfd319 100644
--- a/gtk/gtkimagemenuitem.h
+++ b/gtk/gtkimagemenuitem.h
@@ -69,6 +69,9 @@ GtkWidget* gtk_image_menu_item_new_with_label (const gchar *label);
GtkWidget* gtk_image_menu_item_new_with_mnemonic (const gchar *label);
GtkWidget* gtk_image_menu_item_new_from_stock (const gchar *stock_id,
GtkAccelGroup *accel_group);
+void gtk_image_menu_item_set_always_show_image (GtkImageMenuItem *image_menu_item,
+ gboolean always_show);
+gboolean gtk_image_menu_item_get_always_show_image (GtkImageMenuItem *image_menu_item);
void gtk_image_menu_item_set_image (GtkImageMenuItem *image_menu_item,
GtkWidget *image);
GtkWidget* gtk_image_menu_item_get_image (GtkImageMenuItem *image_menu_item);