changeset 782:10a56f6bc5db

browser_side (menu): moved Tarot from Games to Groups
author souliane <souliane@mailoo.org>
date Tue, 01 Dec 2015 12:01:03 +0100
parents 1dfe3ca27749
children d24e56a5f2ef
files src/browser/libervia_main.py src/browser/sat_browser/game_tarot.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/browser/libervia_main.py	Tue Dec 01 11:26:34 2015 +0100
+++ b/src/browser/libervia_main.py	Tue Dec 01 12:01:03 2015 +0100
@@ -286,7 +286,7 @@
         self.menus.addCategory(C.MENU_GLOBAL, [D_(u"General")], extra={'icon': 'home'})
         self.menus.addCategory(C.MENU_GLOBAL, [D_(u"Contacts")], extra={'icon': 'social'})
         self.menus.addCategory(C.MENU_GLOBAL, [D_(u"Groups")], extra={'icon': 'social'})
-        self.menus.addCategory(C.MENU_GLOBAL, [D_(u"Games")], extra={'icon': 'games'})
+        #self.menus.addCategory(C.MENU_GLOBAL, [D_(u"Games")], extra={'icon': 'games'})
 
         # menus to have before backend menus
         self.menus.addMenu(C.MENU_GLOBAL, (D_(u"Groups"), D_(u"Discussion")), callback=main_menu.onJoinRoom)
--- a/src/browser/sat_browser/game_tarot.py	Tue Dec 01 11:26:34 2015 +0100
+++ b/src/browser/sat_browser/game_tarot.py	Tue Dec 01 12:01:03 2015 +0100
@@ -404,7 +404,7 @@
         dialog.RoomAndContactsChooser(host, onPlayersSelected, 3, title="Tarot", title_invite=_(u"Please select 3 other players"), visible=(False, True))
 
     def gotMenus():
-        host.menus.addMenu(C.MENU_GLOBAL, (D_(u"Games"), D_(u"Tarot")), callback=onTarotGame)
+        host.menus.addMenu(C.MENU_GLOBAL, (D_(u"Groups"), D_(u"Tarot")), callback=onTarotGame)
     host.addListener('gotMenus', gotMenus)
 
 host_listener.addListener(hostReady)