* src/hildon-gtk.h
* src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
GtkMenu with Hildon style.
Patch contributed by Daniel Borgmann (danielb@openismus.com)
+2008-10-20 Alberto Garcia <agarcia@igalia.com>
+
+ * src/hildon-gtk.h
+ * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
+ GtkMenu with Hildon style.
+
+ Patch contributed by Daniel Borgmann (danielb@openismus.com)
+
2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
* src/hildon-picker-button.c:
}
/**
+ * hildon_gtk_menu_new:
+ *
+ * This is a convenience function to create a #GtkMenu setting its
+ * widget name to allow Hildon specific styling.
+ *
+ * Return value: A newly created #GtkMenu widget.
+ **/
+GtkWidget *
+hildon_gtk_menu_new (void)
+{
+ GtkWidget *menu = gtk_menu_new ();
+ gtk_widget_set_name (menu, "HildonContextSensitiveMenu");
+ return menu;
+}
+
+/**
* hildon_gtk_button_new:
* @size: Flags indicating the size of the new button
*
HildonSizeType size);
GtkWidget *
+hildon_gtk_menu_new (void);
+
+GtkWidget *
hildon_gtk_button_new (HildonSizeType size);
GtkWidget *