diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2013-09-05 10:50:06 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2013-09-05 10:52:09 +0200 |
commit | 13badfb5ccd296faf480b19b2b33f7633f4085c5 (patch) | |
tree | 5db182786a27065de0902846c099a0fb6fb1d243 /vcl/inc | |
parent | 43b84bbba2519686eb6b0463f422bf695d2d74b9 (diff) |
lp#1204592: activate menues even earlier to reduce latency
Change-Id: I54dc06c1bcd708fb666813ec2d0ca79acba361a0
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/unx/gtk/gtkframe.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/inc/unx/gtk/gtkframe.hxx b/vcl/inc/unx/gtk/gtkframe.hxx index cce16aba1daa..c2bb187ca6c2 100644 --- a/vcl/inc/unx/gtk/gtkframe.hxx +++ b/vcl/inc/unx/gtk/gtkframe.hxx @@ -219,6 +219,10 @@ class GtkSalFrame : public SalFrame SalMenu* m_pSalMenu; #if defined(ENABLE_DBUS) && defined(ENABLE_GIO) + public: + void EnsureDbusMenuSynced(); + private: + SalMenu* m_pLastSyncedDbusMenu; friend void ensure_dbus_setup(GdkWindow* gdkWindow, GtkSalFrame* pSalFrame); friend void on_registrar_available (GDBusConnection*, const gchar*, const gchar*, gpointer); friend void on_registrar_unavailable (GDBusConnection*, const gchar*, gpointer); |