From 58e6940baddf7378b6b06c0fe9df3345e21fa2fb Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Mon, 31 Dec 2018 11:51:13 -0600 Subject: [PATCH] Added changes in GUI for communities --- src/wxUI/tabs/home.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/wxUI/tabs/home.py b/src/wxUI/tabs/home.py index 9e6bd78..5d5997b 100644 --- a/src/wxUI/tabs/home.py +++ b/src/wxUI/tabs/home.py @@ -51,6 +51,15 @@ class feedTab(homeTab): super(feedTab, self).__init__(parent=parent) self.name = "me_feed" +class communityTab(feedTab): + + def create_post_buttons(self): + self.load = wx.Button(self, wx.NewId(), _(u"Load community")) + self.post = wx.Button(self, -1, _(u"&Post")) + self.postBox = wx.BoxSizer(wx.HORIZONTAL) + self.postBox.Add(self.load, 0, wx.ALL, 5) + self.postBox.Add(self.post, 0, wx.ALL, 5) + class audioTab(homeTab): def create_list(self): self.lbl = wx.StaticText(self, wx.NewId(), _(u"Mu&sic")) @@ -78,6 +87,7 @@ class audioAlbumTab(audioTab): self.play = wx.Button(self, -1, _(u"P&lay")) self.play_all = wx.Button(self, -1, _(u"Play &All")) self.postBox = wx.BoxSizer(wx.HORIZONTAL) + self.postBox.Add(self.load, 0, wx.ALL, 5) self.postBox.Add(self.post, 0, wx.ALL, 5) self.postBox.Add(self.play, 0, wx.ALL, 5) self.postBox.Add(self.play_all, 0, wx.ALL, 5)