def _createContentWidgets(self, parent): htmlPath = getResourceRegistry().getResourcePath( u"html/perspectives/standard/contextinfo/getting_started.html" ) #$NON-NLS-1$ logoPath = getResourceRegistry().getResourcePath( u"images/perspectives/standard/contextinfo/logo.png") #$NON-NLS-1$ params = { u"getting_started": _extstr(u"welcome.GettingStarted"), #$NON-NLS-1$ #$NON-NLS-2$ u"zoundry_raven": _extstr(u"ZoundryRaven"), #$NON-NLS-1$ #$NON-NLS-2$ u"welcome_to_raven": _extstr(u"welcome.WelcomeToRaven"), #$NON-NLS-1$ #$NON-NLS-2$ u"create_account": _extstr(u"welcome.CreateAnAccount"), #$NON-NLS-1$ #$NON-NLS-2$ u"create_account_desc": _extstr(u"welcome.CreateAccountDesc"), #$NON-NLS-1$ #$NON-NLS-2$ u"write_post": _extstr(u"welcome.WritePost"), #$NON-NLS-1$ #$NON-NLS-2$ u"write_post_desc": _extstr(u"welcome.WritePostDesc"), #$NON-NLS-1$ #$NON-NLS-2$ u"publish": _extstr(u"welcome.Publish"), #$NON-NLS-1$ #$NON-NLS-2$ u"publish_desc": _extstr(u"welcome.PublishDesc"), #$NON-NLS-1$ #$NON-NLS-2$ u"logo": logoPath, #$NON-NLS-1$ } html = loadStaticHtml(htmlPath, params) self.htmlWidget = ZHTMLControl(parent, style=wx.NO_BORDER) self.htmlWidget.SetBorders(0) self.htmlWidget.SetPage(html)
def _populateWidgets(self): params = { u"account_summary": _extstr(u"acctsummary.AccountSummary"), #$NON-NLS-1$ #$NON-NLS-2$ u"zoundry_raven": _extstr(u"ZoundryRaven"), #$NON-NLS-1$ #$NON-NLS-2$ u"view_settings_desc": _extstr( u"acctsummary.ViewSettingsDesc"), #$NON-NLS-1$ #$NON-NLS-2$ u"refresh_account": _extstr(u"acctsummary.RefreshDesc"), #$NON-NLS-1$ #$NON-NLS-2$ u"view_settings": _extstr(u"acctsummary.ViewSettings"), #$NON-NLS-1$ #$NON-NLS-2$ u"refresh": _extstr(u"acctsummary.Refresh"), #$NON-NLS-1$ #$NON-NLS-2$ u"account_name": self.account.getName(), #$NON-NLS-1$ u"settings_imgpath": getResourceRegistry().getImagePath( u"images/perspectives/standard/contextinfo/account_summary/settings.png" ), #$NON-NLS-1$ #$NON-NLS-2$ u"refresh_imgpath": getResourceRegistry().getImagePath( u"images/perspectives/standard/contextinfo/account_summary/synch.png" ), #$NON-NLS-1$ #$NON-NLS-2$ } htmlPath = getResourceRegistry().getResourcePath( u"html/perspectives/standard/contextinfo/account_summary.html" ) #$NON-NLS-1$ html = loadStaticHtml(htmlPath, params) #$NON-NLS-1$ self.htmlWidget.SetPage(html)
def _createContentWidgets(self, parent): htmlPath = getResourceRegistry().getResourcePath( u"html/perspectives/standard/contextinfo/dashboard.html" ) #$NON-NLS-1$ logoPath = getResourceRegistry().getResourcePath( u"images/perspectives/standard/contextinfo/logo.png") #$NON-NLS-1$ params = { u"dashboard": _extstr(u"dashboard.Dashboard"), #$NON-NLS-1$ #$NON-NLS-2$ u"zoundry_raven": _extstr(u"ZoundryRaven"), #$NON-NLS-1$ #$NON-NLS-2$ u"new_account": _extstr(u"dashboard.NewBlogAccount"), #$NON-NLS-1$ #$NON-NLS-2$ u"new_account_desc": _extstr( u"dashboard.NewBlogAccountDesc"), #$NON-NLS-1$ #$NON-NLS-2$ u"new_media_storage": _extstr(u"dashboard.NewMediaStorage"), #$NON-NLS-1$ #$NON-NLS-2$ u"new_media_storage_desc": _extstr( u"dashboard.NewMediaStorageDesc"), #$NON-NLS-1$ #$NON-NLS-2$ u"settings": _extstr(u"dashboard.Settings"), #$NON-NLS-1$ #$NON-NLS-2$ u"settings_desc": _extstr(u"dashboard.SettingsDesc"), #$NON-NLS-1$ #$NON-NLS-2$ u"logo": logoPath, #$NON-NLS-1$ u"newaccount_imgpath": getResourceRegistry().getResourcePath( u"images/perspectives/standard/contextinfo/dashboard/new_account.png" ), #$NON-NLS-1$ #$NON-NLS-2$ u"newstorage_imgpath": getResourceRegistry().getResourcePath( u"images/perspectives/standard/contextinfo/dashboard/new_storage.png" ), #$NON-NLS-1$ #$NON-NLS-2$ u"settings_imgpath": getResourceRegistry().getResourcePath( u"images/perspectives/standard/contextinfo/dashboard/settings.png" ), #$NON-NLS-1$ #$NON-NLS-2$ } html = loadStaticHtml(htmlPath, params) self.htmlWidget = ZHTMLControl(parent, style=wx.NO_BORDER) self.htmlWidget.SetBorders(0) self.htmlWidget.SetPage(html)
def _populateWidgets(self): params = { u"blog_summary" : _extstr(u"blogsummary.BlogSummary"), #$NON-NLS-1$ #$NON-NLS-2$ u"zoundry_raven" : _extstr(u"ZoundryRaven"), #$NON-NLS-1$ #$NON-NLS-2$ u"configure_blog" : _extstr(u"blogsummary.ConfigureBlog"), #$NON-NLS-1$ #$NON-NLS-2$ u"configure_blog_desc" : _extstr(u"blogsummary.ConfigureBlogDesc"), #$NON-NLS-1$ #$NON-NLS-2$ u"new_post" : _extstr(u"blogsummary.NewPost"), #$NON-NLS-1$ #$NON-NLS-2$ u"new_post_desc" : _extstr(u"blogsummary.NewPostDesc"), #$NON-NLS-1$ #$NON-NLS-2$ u"view_blog" : _extstr(u"blogsummary.ViewBlog"), #$NON-NLS-1$ #$NON-NLS-2$ u"view_blog_desc" : _extstr(u"blogsummary.ViewBlogDesc"), #$NON-NLS-1$ #$NON-NLS-2$ u"blog_name" : self.blog.getName(), #$NON-NLS-1$ u"configure_imgpath" : getResourceRegistry().getImagePath(u"images/perspectives/standard/contextinfo/blog_summary/configure.png"), #$NON-NLS-1$ #$NON-NLS-2$ u"newpost_imgpath" : getResourceRegistry().getImagePath(u"images/perspectives/standard/contextinfo/blog_summary/newpost.png"), #$NON-NLS-1$ #$NON-NLS-2$ u"viewblog_imgpath" : getResourceRegistry().getImagePath(u"images/perspectives/standard/contextinfo/blog_summary/viewblog.png"), #$NON-NLS-1$ #$NON-NLS-2$ } htmlPath = getResourceRegistry().getResourcePath(u"html/perspectives/standard/contextinfo/blog_summary.html") #$NON-NLS-1$ html = loadStaticHtml(htmlPath, params); #$NON-NLS-1$ self.htmlWidget.SetPage(html)
def _createContentWidgets(self, parent): htmlPath = getResourceRegistry().getResourcePath(u"html/perspectives/standard/contextinfo/getting_started.html") #$NON-NLS-1$ logoPath = getResourceRegistry().getResourcePath(u"images/perspectives/standard/contextinfo/logo.png") #$NON-NLS-1$ params = { u"getting_started" : _extstr(u"welcome.GettingStarted"), #$NON-NLS-1$ #$NON-NLS-2$ u"zoundry_raven" : _extstr(u"ZoundryRaven"), #$NON-NLS-1$ #$NON-NLS-2$ u"welcome_to_raven" : _extstr(u"welcome.WelcomeToRaven"), #$NON-NLS-1$ #$NON-NLS-2$ u"create_account" : _extstr(u"welcome.CreateAnAccount"), #$NON-NLS-1$ #$NON-NLS-2$ u"create_account_desc" : _extstr(u"welcome.CreateAccountDesc"), #$NON-NLS-1$ #$NON-NLS-2$ u"write_post" : _extstr(u"welcome.WritePost"), #$NON-NLS-1$ #$NON-NLS-2$ u"write_post_desc" : _extstr(u"welcome.WritePostDesc"), #$NON-NLS-1$ #$NON-NLS-2$ u"publish" : _extstr(u"welcome.Publish"), #$NON-NLS-1$ #$NON-NLS-2$ u"publish_desc" : _extstr(u"welcome.PublishDesc"), #$NON-NLS-1$ #$NON-NLS-2$ u"logo" : logoPath, #$NON-NLS-1$ } html = loadStaticHtml(htmlPath, params) self.htmlWidget = ZHTMLControl(parent, style = wx.NO_BORDER) self.htmlWidget.SetBorders(0) self.htmlWidget.SetPage(html)
def _populateWidgets(self): params = { u"blog_summary": _extstr(u"blogsummary.BlogSummary"), #$NON-NLS-1$ #$NON-NLS-2$ u"zoundry_raven": _extstr(u"ZoundryRaven"), #$NON-NLS-1$ #$NON-NLS-2$ u"configure_blog": _extstr(u"blogsummary.ConfigureBlog"), #$NON-NLS-1$ #$NON-NLS-2$ u"configure_blog_desc": _extstr( u"blogsummary.ConfigureBlogDesc"), #$NON-NLS-1$ #$NON-NLS-2$ u"new_post": _extstr(u"blogsummary.NewPost"), #$NON-NLS-1$ #$NON-NLS-2$ u"new_post_desc": _extstr(u"blogsummary.NewPostDesc"), #$NON-NLS-1$ #$NON-NLS-2$ u"view_blog": _extstr(u"blogsummary.ViewBlog"), #$NON-NLS-1$ #$NON-NLS-2$ u"view_blog_desc": _extstr(u"blogsummary.ViewBlogDesc"), #$NON-NLS-1$ #$NON-NLS-2$ u"blog_name": self.blog.getName(), #$NON-NLS-1$ u"configure_imgpath": getResourceRegistry().getImagePath( u"images/perspectives/standard/contextinfo/blog_summary/configure.png" ), #$NON-NLS-1$ #$NON-NLS-2$ u"newpost_imgpath": getResourceRegistry().getImagePath( u"images/perspectives/standard/contextinfo/blog_summary/newpost.png" ), #$NON-NLS-1$ #$NON-NLS-2$ u"viewblog_imgpath": getResourceRegistry().getImagePath( u"images/perspectives/standard/contextinfo/blog_summary/viewblog.png" ), #$NON-NLS-1$ #$NON-NLS-2$ } htmlPath = getResourceRegistry().getResourcePath( u"html/perspectives/standard/contextinfo/blog_summary.html" ) #$NON-NLS-1$ html = loadStaticHtml(htmlPath, params) #$NON-NLS-1$ self.htmlWidget.SetPage(html)
def _createContentWidgets(self, parent): htmlPath = getResourceRegistry().getResourcePath(u"html/perspectives/standard/contextinfo/dashboard.html") #$NON-NLS-1$ logoPath = getResourceRegistry().getResourcePath(u"images/perspectives/standard/contextinfo/logo.png") #$NON-NLS-1$ params = { u"dashboard" : _extstr(u"dashboard.Dashboard"), #$NON-NLS-1$ #$NON-NLS-2$ u"zoundry_raven" : _extstr(u"ZoundryRaven"), #$NON-NLS-1$ #$NON-NLS-2$ u"new_account" : _extstr(u"dashboard.NewBlogAccount"), #$NON-NLS-1$ #$NON-NLS-2$ u"new_account_desc" : _extstr(u"dashboard.NewBlogAccountDesc"), #$NON-NLS-1$ #$NON-NLS-2$ u"new_media_storage" : _extstr(u"dashboard.NewMediaStorage"), #$NON-NLS-1$ #$NON-NLS-2$ u"new_media_storage_desc" : _extstr(u"dashboard.NewMediaStorageDesc"), #$NON-NLS-1$ #$NON-NLS-2$ u"settings" : _extstr(u"dashboard.Settings"), #$NON-NLS-1$ #$NON-NLS-2$ u"settings_desc" : _extstr(u"dashboard.SettingsDesc"), #$NON-NLS-1$ #$NON-NLS-2$ u"logo" : logoPath, #$NON-NLS-1$ u"newaccount_imgpath" : getResourceRegistry().getResourcePath(u"images/perspectives/standard/contextinfo/dashboard/new_account.png"), #$NON-NLS-1$ #$NON-NLS-2$ u"newstorage_imgpath" : getResourceRegistry().getResourcePath(u"images/perspectives/standard/contextinfo/dashboard/new_storage.png"), #$NON-NLS-1$ #$NON-NLS-2$ u"settings_imgpath" : getResourceRegistry().getResourcePath(u"images/perspectives/standard/contextinfo/dashboard/settings.png"), #$NON-NLS-1$ #$NON-NLS-2$ } html = loadStaticHtml(htmlPath, params); self.htmlWidget = ZHTMLControl(parent, style = wx.NO_BORDER) self.htmlWidget.SetBorders(0) self.htmlWidget.SetPage(html)
def _populateWidgets(self): params = { u"account_summary": _extstr(u"acctsummary.AccountSummary"), # $NON-NLS-1$ #$NON-NLS-2$ u"zoundry_raven": _extstr(u"ZoundryRaven"), # $NON-NLS-1$ #$NON-NLS-2$ u"view_settings_desc": _extstr(u"acctsummary.ViewSettingsDesc"), # $NON-NLS-1$ #$NON-NLS-2$ u"refresh_account": _extstr(u"acctsummary.RefreshDesc"), # $NON-NLS-1$ #$NON-NLS-2$ u"view_settings": _extstr(u"acctsummary.ViewSettings"), # $NON-NLS-1$ #$NON-NLS-2$ u"refresh": _extstr(u"acctsummary.Refresh"), # $NON-NLS-1$ #$NON-NLS-2$ u"account_name": self.account.getName(), # $NON-NLS-1$ u"settings_imgpath": getResourceRegistry().getImagePath( u"images/perspectives/standard/contextinfo/account_summary/settings.png" ), # $NON-NLS-1$ #$NON-NLS-2$ u"refresh_imgpath": getResourceRegistry().getImagePath( u"images/perspectives/standard/contextinfo/account_summary/synch.png" ), # $NON-NLS-1$ #$NON-NLS-2$ } htmlPath = getResourceRegistry().getResourcePath( u"html/perspectives/standard/contextinfo/account_summary.html" ) # $NON-NLS-1$ html = loadStaticHtml(htmlPath, params) # $NON-NLS-1$ self.htmlWidget.SetPage(html)