summaryrefslogtreecommitdiff
path: root/vcl/inc/unx/gtk/gtksalmenu.hxx
diff options
context:
space:
mode:
authorAntonio Fernandez <antonio.fernandez@aentos.es>2012-09-12 16:33:13 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2012-11-14 13:52:48 +0100
commitb789263fb7bf537cc85d3df3022282ab8f32bccb (patch)
tree89edaefde8a2577589cbf558fd774534e7e7e764 /vcl/inc/unx/gtk/gtksalmenu.hxx
parentcfc3eded6233996ad7103d256b8a36e8d31df3b9 (diff)
Initial integration with Gtk+/Unity menus about-to-show feature.
Change-Id: I064cf73e23b175140bdac2616ac922c349f0f051
Diffstat (limited to 'vcl/inc/unx/gtk/gtksalmenu.hxx')
-rw-r--r--vcl/inc/unx/gtk/gtksalmenu.hxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/vcl/inc/unx/gtk/gtksalmenu.hxx b/vcl/inc/unx/gtk/gtksalmenu.hxx
index d88c50d181ad..d7d59662f945 100644
--- a/vcl/inc/unx/gtk/gtksalmenu.hxx
+++ b/vcl/inc/unx/gtk/gtksalmenu.hxx
@@ -89,7 +89,13 @@ public:
virtual GActionGroup* GetActionGroup() { return mpActionGroup; }
void NativeSetItemText( unsigned nSection, unsigned nItemPos, const rtl::OUString& rText );
- void NativeSetItemCommand( unsigned nSection, unsigned nItemPos, GtkSalMenuItem* pItem, const gchar* aCommandStr );
+ void NativeSetItemCommand( unsigned nSection,
+ unsigned nItemPos,
+ sal_uInt16 nId,
+ const gchar* aCommand,
+ MenuItemBits nBits,
+ gboolean bChecked,
+ gboolean bIsSubmenu );
void NativeSetEnableItem( gchar* aCommand, gboolean bEnable );
void NativeCheckItem( unsigned nSection, unsigned nItemPos, MenuItemBits bits, gboolean bCheck );
void NativeSetAccelerator( unsigned nSection, unsigned nItemPos, const KeyCode& rKeyCode, const rtl::OUString& rKeyName );