diff options
author | Antonio Fernandez <antonio.fernandez@aentos.es> | 2012-08-29 14:41:01 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2012-11-14 13:52:45 +0100 |
commit | e200325abbfe20b0d14fb302faf50e67a9cb4d60 (patch) | |
tree | c958397a835d09230dbcdd6baa73061223be9f4f /vcl/inc/unx | |
parent | 8bf38ff19f7e2c1b58adf8be871a2f5a076d68d1 (diff) |
New menu is now correctly displayed, but still have some problems.
Change-Id: Ic69451bf9a4e5f63c4f0050b5967b8f2fc28d7cb
Diffstat (limited to 'vcl/inc/unx')
-rw-r--r-- | vcl/inc/unx/gtk/gtksalmenu.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/inc/unx/gtk/gtksalmenu.hxx b/vcl/inc/unx/gtk/gtksalmenu.hxx index 236bab6fc790..5525b19333cd 100644 --- a/vcl/inc/unx/gtk/gtksalmenu.hxx +++ b/vcl/inc/unx/gtk/gtksalmenu.hxx @@ -85,6 +85,10 @@ public: virtual GtkSalMenuItem* GetItemAtPos( unsigned nPos ) { return maItems[ nPos ]; } virtual void SetActionGroup( GActionGroup* pActionGroup ) { mpActionGroup = pActionGroup; } virtual GActionGroup* GetActionGroup() { return mpActionGroup; } + + virtual void SetNativeItemText( unsigned nSection, unsigned nItemPos, const rtl::OUString& rText ); + virtual void SetNativeItemCommand( unsigned nSection, unsigned nItemPos, GtkSalMenuItem* pItem, const gchar* aCommandStr ); + virtual void SetNativeEnableItem( gchar* aCommand, gboolean bEnable ); }; class GtkSalMenuItem : public SalMenuItem |