diff src/browser/libervia_main.py @ 788:7ebde6d1a4bd

browser side: fixed public blog menu (moved temporarily to frontend side)
author Goffi <goffi@goffi.org>
date Wed, 02 Dec 2015 11:15:58 +0100
parents f3cd261ea12f
children f8a7a046ff9c
line wrap: on
line diff
--- a/src/browser/libervia_main.py	Wed Dec 02 11:15:55 2015 +0100
+++ b/src/browser/libervia_main.py	Wed Dec 02 11:15:58 2015 +0100
@@ -317,6 +317,9 @@
         # we can now display all the menus
         main_menu.update(C.MENU_GLOBAL)
 
+        # XXX: temp, will be reworked in the backed static blog plugin
+        self.menus.addMenu(C.MENU_JID_CONTEXT, (D_(u"User"), D_("Public blog")), callback=main_menu.onPublicBlog)
+
     def _isRegisteredCB(self, result):
         registered, warning = result
         if not registered: