created show user profile dialog

This commit is contained in:
Abdulqadir Ahmad
2023-08-10 17:19:58 +01:00
parent d78335407a
commit 1d8fefe7d3
4 changed files with 211 additions and 3 deletions

View File

@@ -52,4 +52,11 @@ def no_followers():
def no_following():
dlg = wx.MessageDialog(None, _("This user is not following anyone. {0} can't create a timeline.").format(application.name), _(u"Error"), wx.ICON_ERROR)
dlg.ShowModal()
dlg.Destroy()
dlg.Destroy()
dlg.Destroy()
def no_user():
dlg = wx.MessageDialog(None, _("The focused item has no user in it. {} ca't open a user profile").format(application.name), _(u"Error"), wx.ICON_ERROR)
dlg.ShowModal()
dlg.Destroy()