# HG changeset patch # User souliane # Date 1448967663 -3600 # Node ID 10a56f6bc5db479a95d675bed30e077d85a98df4 # Parent 1dfe3ca27749cb00c7e6ab6959de6a575999c42d browser_side (menu): moved Tarot from Games to Groups diff -r 1dfe3ca27749 -r 10a56f6bc5db src/browser/libervia_main.py --- 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) diff -r 1dfe3ca27749 -r 10a56f6bc5db src/browser/sat_browser/game_tarot.py --- 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)