diff options
author | Antonio Fernandez <antonio.fernandez@aentos.es> | 2012-09-11 21:25:22 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2012-11-14 13:52:47 +0100 |
commit | 1d4719b3a75babd6a7368bc06dd18b4251ffed93 (patch) | |
tree | 8e40edd7510d3741f2f0df6024e9ba7b5d000053 /vcl/inc | |
parent | 1f4f5a55556dae157eaeec14d34f3f706d93b983 (diff) |
All Special items, including window list items are displayed, but with issues.
Change-Id: I23a6857f7aa738c48061ab51f3c015c41abc84cc
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/unx/gtk/gtksalmenu.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/inc/unx/gtk/gtksalmenu.hxx b/vcl/inc/unx/gtk/gtksalmenu.hxx index f746b4bb2063..04b736137fa3 100644 --- a/vcl/inc/unx/gtk/gtksalmenu.hxx +++ b/vcl/inc/unx/gtk/gtksalmenu.hxx @@ -55,8 +55,7 @@ private: GMenuModel* mpMenuModel; GActionGroup* mpActionGroup; - sal_Int32 GetPositionFromItem( GtkSalMenuItem* pSalMenuItem ); - void GetItemSectionAndPosition( unsigned nPos, unsigned *insertSection, unsigned *insertPos ); + GtkSalMenu* GetMenuForItemCommand( gchar* aCommand ); public: GtkSalMenu( sal_Bool bMenuBar ); @@ -89,13 +88,14 @@ public: virtual GtkSalMenuItem* GetItemAtPos( unsigned nPos ) { return maItems[ nPos ]; } virtual void SetActionGroup( GActionGroup* pActionGroup ) { mpActionGroup = pActionGroup; } virtual GActionGroup* GetActionGroup() { return mpActionGroup; } - GtkSalMenu* GetMenuForItemCommand( gchar* aCommand ); void NativeSetItemText( unsigned nSection, unsigned nItemPos, const rtl::OUString& rText ); void NativeSetItemCommand( unsigned nSection, unsigned nItemPos, GtkSalMenuItem* pItem, const gchar* aCommandStr ); 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 ); + + void DispatchCommand( gint itemId, const gchar* aCommand ); }; class GtkSalMenuItem : public SalMenuItem |