From fe5cd4ca2c77ccd06de990dfb9056b3f5186fd79 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Thu, 28 Jan 2016 08:40:22 -0800 Subject: [PATCH] Move FontIcon calls to Icon Summary: Normalizes all `setFontIcon` calls to `setIcon`. Test Plan: UIExamples, Almanac, Apps list, etc. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin, hach-que, yelirekim Differential Revision: https://secure.phabricator.com/D15129 --- .../application/PhabricatorAlmanacApplication.php | 2 +- .../almanac/controller/AlmanacConsoleController.php | 6 +++--- .../audit/application/PhabricatorAuditApplication.php | 2 +- .../auth/application/PhabricatorAuthApplication.php | 2 +- .../application/PhabricatorBadgesApplication.php | 2 +- .../badges/query/PhabricatorBadgesSearchEngine.php | 2 +- src/applications/base/PhabricatorApplication.php | 2 +- .../base/controller/PhabricatorController.php | 2 +- .../application/PhabricatorCalendarApplication.php | 2 +- .../application/PhabricatorChatLogApplication.php | 2 +- .../application/PhabricatorConduitApplication.php | 2 +- .../application/PhabricatorConfigApplication.php | 2 +- .../controller/PhabricatorConfigListController.php | 2 +- .../config/module/PhabricatorConfigPHIDModule.php | 2 +- .../config/option/PhabricatorAWSConfigOptions.php | 2 +- .../option/PhabricatorAccessLogConfigOptions.php | 2 +- .../option/PhabricatorApplicationConfigOptions.php | 2 +- .../option/PhabricatorAuthenticationConfigOptions.php | 2 +- .../config/option/PhabricatorClusterConfigOptions.php | 2 +- .../config/option/PhabricatorCoreConfigOptions.php | 2 +- .../option/PhabricatorDeveloperConfigOptions.php | 2 +- .../PhabricatorExtendingPhabricatorConfigOptions.php | 2 +- .../config/option/PhabricatorMailgunConfigOptions.php | 2 +- .../config/option/PhabricatorMetaMTAConfigOptions.php | 2 +- .../config/option/PhabricatorMySQLConfigOptions.php | 2 +- .../option/PhabricatorNotificationConfigOptions.php | 2 +- .../config/option/PhabricatorPHDConfigOptions.php | 2 +- .../option/PhabricatorPHPMailerConfigOptions.php | 2 +- .../config/option/PhabricatorPhurlConfigOptions.php | 2 +- .../option/PhabricatorRecaptchaConfigOptions.php | 2 +- .../config/option/PhabricatorSMSConfigOptions.php | 2 +- .../config/option/PhabricatorSecurityConfigOptions.php | 2 +- .../config/option/PhabricatorSendGridConfigOptions.php | 2 +- .../PhabricatorSyntaxHighlightingConfigOptions.php | 2 +- .../option/PhabricatorTranslationsConfigOptions.php | 2 +- .../config/option/PhabricatorUIConfigOptions.php | 2 +- .../application/PhabricatorConpherenceApplication.php | 2 +- .../conpherence/config/ConpherenceConfigOptions.php | 2 +- .../application/PhabricatorCountdownApplication.php | 2 +- .../query/PhabricatorCountdownSearchEngine.php | 2 +- .../application/PhabricatorDaemonsApplication.php | 2 +- .../application/PhabricatorDashboardApplication.php | 2 +- .../PhabricatorDashboardPanelListController.php | 2 +- .../query/PhabricatorDashboardSearchEngine.php | 2 +- .../application/PhabricatorDifferentialApplication.php | 2 +- .../config/PhabricatorDifferentialConfigOptions.php | 2 +- .../query/DifferentialRevisionSearchEngine.php | 2 +- .../application/PhabricatorDiffusionApplication.php | 2 +- .../config/PhabricatorDiffusionConfigOptions.php | 2 +- .../application/PhabricatorDivinerApplication.php | 2 +- .../application/PhabricatorDoorkeeperApplication.php | 2 +- .../option/PhabricatorAsanaConfigOptions.php | 2 +- .../application/PhabricatorDrydockApplication.php | 2 +- .../drydock/controller/DrydockConsoleController.php | 8 ++++---- .../fact/application/PhabricatorFactApplication.php | 2 +- .../feed/application/PhabricatorFeedApplication.php | 2 +- .../feed/config/PhabricatorFeedConfigOptions.php | 2 +- .../files/application/PhabricatorFilesApplication.php | 2 +- .../files/config/PhabricatorFilesConfigOptions.php | 2 +- .../files/query/PhabricatorFileSearchEngine.php | 2 +- .../flag/application/PhabricatorFlagsApplication.php | 2 +- .../fund/application/PhabricatorFundApplication.php | 2 +- .../application/PhabricatorHarbormasterApplication.php | 2 +- .../config/PhabricatorHarbormasterConfigOptions.php | 2 +- .../application/PhabricatorHeraldApplication.php | 2 +- .../herald/query/HeraldRuleSearchEngine.php | 2 +- .../home/application/PhabricatorHomeApplication.php | 2 +- .../application/PhabricatorLegalpadApplication.php | 2 +- .../config/PhabricatorLegalpadConfigOptions.php | 2 +- .../legalpad/query/LegalpadDocumentSearchEngine.php | 2 +- .../macro/application/PhabricatorMacroApplication.php | 2 +- .../macro/config/PhabricatorMacroConfigOptions.php | 2 +- .../macro/markup/PhabricatorIconRemarkupRule.php | 4 ++-- .../macro/query/PhabricatorMacroSearchEngine.php | 2 +- .../application/PhabricatorManiphestApplication.php | 2 +- .../config/PhabricatorManiphestConfigOptions.php | 2 +- .../maniphest/query/ManiphestTaskSearchEngine.php | 2 +- .../application/PhabricatorApplicationsApplication.php | 2 +- .../meta/query/PhabricatorAppSearchEngine.php | 2 +- .../typeahead/PhabricatorApplicationDatasource.php | 2 +- .../meta/view/PhabricatorApplicationLaunchView.php | 2 +- .../application/PhabricatorMetaMTAApplication.php | 2 +- .../application/PhabricatorMultimeterApplication.php | 2 +- .../PhabricatorNotificationsApplication.php | 2 +- .../application/PhabricatorNuanceApplication.php | 2 +- .../nuance/controller/NuanceConsoleController.php | 4 ++-- .../application/PhabricatorOAuthServerApplication.php | 2 +- .../application/PhabricatorOwnersApplication.php | 2 +- .../owners/config/PhabricatorOwnersConfigOptions.php | 2 +- .../query/PhabricatorOwnersPackageSearchEngine.php | 2 +- .../application/PhabricatorPassphraseApplication.php | 2 +- .../query/PassphraseCredentialSearchEngine.php | 2 +- .../paste/application/PhabricatorPasteApplication.php | 2 +- .../paste/config/PhabricatorPasteConfigOptions.php | 2 +- .../paste/query/PhabricatorPasteSearchEngine.php | 2 +- .../application/PhabricatorPeopleApplication.php | 2 +- .../people/config/PhabricatorUserConfigOptions.php | 2 +- .../phame/application/PhabricatorPhameApplication.php | 2 +- src/applications/phid/type/PhabricatorPHIDType.php | 2 +- .../phlux/application/PhabricatorPhluxApplication.php | 2 +- .../application/PhabricatorPholioApplication.php | 2 +- .../pholio/config/PhabricatorPholioConfigOptions.php | 2 +- .../pholio/query/PholioMockSearchEngine.php | 2 +- .../application/PhabricatorPhortuneApplication.php | 2 +- .../application/PhabricatorPHPASTApplication.php | 2 +- .../application/PhabricatorPhragmentApplication.php | 2 +- .../application/PhabricatorPhrequentApplication.php | 2 +- .../config/PhabricatorPhrequentConfigOptions.php | 2 +- .../application/PhabricatorPhrictionApplication.php | 2 +- .../config/PhabricatorPhrictionConfigOptions.php | 2 +- .../phurl/application/PhabricatorPhurlApplication.php | 2 +- .../phurl/query/PhabricatorPhurlURLSearchEngine.php | 2 +- .../policy/config/PhabricatorPolicyConfigOptions.php | 2 +- .../application/PhabricatorPonderApplication.php | 2 +- .../ponder/query/PonderQuestionSearchEngine.php | 2 +- .../application/PhabricatorProjectApplication.php | 2 +- .../project/config/PhabricatorProjectConfigOptions.php | 2 +- .../project/query/PhabricatorProjectSearchEngine.php | 2 +- .../application/PhabricatorReleephApplication.php | 2 +- .../PhabricatorReleephApplicationConfigOptions.php | 2 +- .../config/PhabricatorRepositoryConfigOptions.php | 2 +- .../query/PhabricatorRepositorySearchEngine.php | 2 +- .../application/PhabricatorSearchApplication.php | 2 +- .../search/config/PhabricatorSearchConfigOptions.php | 2 +- .../application/PhabricatorSettingsApplication.php | 2 +- .../panel/PhabricatorHomePreferencesSettingsPanel.php | 2 +- .../application/PhabricatorSlowvoteApplication.php | 2 +- .../slowvote/query/PhabricatorSlowvoteSearchEngine.php | 2 +- .../application/PhabricatorSpacesApplication.php | 2 +- .../query/PhabricatorSpacesNamespaceSearchEngine.php | 2 +- .../application/PhabricatorTokensApplication.php | 2 +- .../transactions/editengine/PhabricatorEditEngine.php | 2 +- .../PhabricatorApplicationTransactionFeedStory.php | 2 +- .../query/PhabricatorEditEngineSearchEngine.php | 2 +- .../application/PhabricatorUIExamplesApplication.php | 2 +- .../uiexample/examples/PHUIActionPanelExample.php | 10 +++++----- .../uiexample/examples/PHUIIconExample.php | 4 ++-- .../application/PhabricatorXHProfApplication.php | 2 +- .../markup/rule/PhabricatorNavigationRemarkupRule.php | 2 +- src/view/page/PhabricatorStandardPageView.php | 2 +- src/view/page/menu/PhabricatorMainMenuSearchView.php | 2 +- src/view/phui/PHUIActionPanelView.php | 2 +- src/view/phui/PHUIIconView.php | 4 ++-- src/view/phui/PHUIObjectItemView.php | 4 ++-- 144 files changed, 158 insertions(+), 158 deletions(-) diff --git a/src/applications/almanac/application/PhabricatorAlmanacApplication.php b/src/applications/almanac/application/PhabricatorAlmanacApplication.php index 88eafd3331..a444554a0e 100644 --- a/src/applications/almanac/application/PhabricatorAlmanacApplication.php +++ b/src/applications/almanac/application/PhabricatorAlmanacApplication.php @@ -14,7 +14,7 @@ final class PhabricatorAlmanacApplication extends PhabricatorApplication { return pht('Service Directory'); } - public function getFontIcon() { + public function getIcon() { return 'fa-server'; } diff --git a/src/applications/almanac/controller/AlmanacConsoleController.php b/src/applications/almanac/controller/AlmanacConsoleController.php index 8abd8c6113..9f46bd54d3 100644 --- a/src/applications/almanac/controller/AlmanacConsoleController.php +++ b/src/applications/almanac/controller/AlmanacConsoleController.php @@ -16,21 +16,21 @@ final class AlmanacConsoleController extends AlmanacController { id(new PHUIObjectItemView()) ->setHeader(pht('Services')) ->setHref($this->getApplicationURI('service/')) - ->setFontIcon('fa-plug') + ->setIcon('fa-plug') ->addAttribute(pht('Manage Almanac services.'))); $menu->addItem( id(new PHUIObjectItemView()) ->setHeader(pht('Devices')) ->setHref($this->getApplicationURI('device/')) - ->setFontIcon('fa-server') + ->setIcon('fa-server') ->addAttribute(pht('Manage Almanac devices.'))); $menu->addItem( id(new PHUIObjectItemView()) ->setHeader(pht('Networks')) ->setHref($this->getApplicationURI('network/')) - ->setFontIcon('fa-globe') + ->setIcon('fa-globe') ->addAttribute(pht('Manage Almanac networks.'))); $crumbs = $this->buildApplicationCrumbs(); diff --git a/src/applications/audit/application/PhabricatorAuditApplication.php b/src/applications/audit/application/PhabricatorAuditApplication.php index 4f4c5a56d1..66280a16a0 100644 --- a/src/applications/audit/application/PhabricatorAuditApplication.php +++ b/src/applications/audit/application/PhabricatorAuditApplication.php @@ -6,7 +6,7 @@ final class PhabricatorAuditApplication extends PhabricatorApplication { return '/audit/'; } - public function getFontIcon() { + public function getIcon() { return 'fa-check-circle-o'; } diff --git a/src/applications/auth/application/PhabricatorAuthApplication.php b/src/applications/auth/application/PhabricatorAuthApplication.php index a9831b20e3..808562e970 100644 --- a/src/applications/auth/application/PhabricatorAuthApplication.php +++ b/src/applications/auth/application/PhabricatorAuthApplication.php @@ -10,7 +10,7 @@ final class PhabricatorAuthApplication extends PhabricatorApplication { return '/auth/'; } - public function getFontIcon() { + public function getIcon() { return 'fa-key'; } diff --git a/src/applications/badges/application/PhabricatorBadgesApplication.php b/src/applications/badges/application/PhabricatorBadgesApplication.php index dea41ac244..887a11833d 100644 --- a/src/applications/badges/application/PhabricatorBadgesApplication.php +++ b/src/applications/badges/application/PhabricatorBadgesApplication.php @@ -14,7 +14,7 @@ final class PhabricatorBadgesApplication extends PhabricatorApplication { return pht('Achievements and Notority'); } - public function getFontIcon() { + public function getIcon() { return 'fa-trophy'; } diff --git a/src/applications/badges/query/PhabricatorBadgesSearchEngine.php b/src/applications/badges/query/PhabricatorBadgesSearchEngine.php index ab8432833e..4bad4d2c65 100644 --- a/src/applications/badges/query/PhabricatorBadgesSearchEngine.php +++ b/src/applications/badges/query/PhabricatorBadgesSearchEngine.php @@ -147,7 +147,7 @@ final class PhabricatorBadgesSearchEngine ->setHref('/badges/create/') ->setColor(PHUIButtonView::GREEN); - $icon = $this->getApplication()->getFontIcon(); + $icon = $this->getApplication()->getIcon(); $app_name = $this->getApplication()->getName(); $view = id(new PHUIBigInfoView()) ->setIcon($icon) diff --git a/src/applications/base/PhabricatorApplication.php b/src/applications/base/PhabricatorApplication.php index 0ed4917800..0bbb38ff89 100644 --- a/src/applications/base/PhabricatorApplication.php +++ b/src/applications/base/PhabricatorApplication.php @@ -155,7 +155,7 @@ abstract class PhabricatorApplication return null; } - public function getFontIcon() { + public function getIcon() { return 'fa-puzzle-piece'; } diff --git a/src/applications/base/controller/PhabricatorController.php b/src/applications/base/controller/PhabricatorController.php index 1fe68abab3..e6997d97ab 100644 --- a/src/applications/base/controller/PhabricatorController.php +++ b/src/applications/base/controller/PhabricatorController.php @@ -352,7 +352,7 @@ abstract class PhabricatorController extends AphrontController { $application = $this->getCurrentApplication(); if ($application) { - $icon = $application->getFontIcon(); + $icon = $application->getIcon(); if (!$icon) { $icon = 'fa-puzzle'; } diff --git a/src/applications/calendar/application/PhabricatorCalendarApplication.php b/src/applications/calendar/application/PhabricatorCalendarApplication.php index 1f8ea57383..cf05e96666 100644 --- a/src/applications/calendar/application/PhabricatorCalendarApplication.php +++ b/src/applications/calendar/application/PhabricatorCalendarApplication.php @@ -18,7 +18,7 @@ final class PhabricatorCalendarApplication extends PhabricatorApplication { return '/calendar/'; } - public function getFontIcon() { + public function getIcon() { return 'fa-calendar'; } diff --git a/src/applications/chatlog/application/PhabricatorChatLogApplication.php b/src/applications/chatlog/application/PhabricatorChatLogApplication.php index b2023ce07c..912ddd9b6b 100644 --- a/src/applications/chatlog/application/PhabricatorChatLogApplication.php +++ b/src/applications/chatlog/application/PhabricatorChatLogApplication.php @@ -14,7 +14,7 @@ final class PhabricatorChatLogApplication extends PhabricatorApplication { return pht('(Deprecated)'); } - public function getFontIcon() { + public function getIcon() { return 'fa-coffee'; } diff --git a/src/applications/conduit/application/PhabricatorConduitApplication.php b/src/applications/conduit/application/PhabricatorConduitApplication.php index 7a0ca0e4b9..a036860aad 100644 --- a/src/applications/conduit/application/PhabricatorConduitApplication.php +++ b/src/applications/conduit/application/PhabricatorConduitApplication.php @@ -6,7 +6,7 @@ final class PhabricatorConduitApplication extends PhabricatorApplication { return '/conduit/'; } - public function getFontIcon() { + public function getIcon() { return 'fa-tty'; } diff --git a/src/applications/config/application/PhabricatorConfigApplication.php b/src/applications/config/application/PhabricatorConfigApplication.php index 36bac1d25b..8570484e31 100644 --- a/src/applications/config/application/PhabricatorConfigApplication.php +++ b/src/applications/config/application/PhabricatorConfigApplication.php @@ -6,7 +6,7 @@ final class PhabricatorConfigApplication extends PhabricatorApplication { return '/config/'; } - public function getFontIcon() { + public function getIcon() { return 'fa-sliders'; } diff --git a/src/applications/config/controller/PhabricatorConfigListController.php b/src/applications/config/controller/PhabricatorConfigListController.php index 6a1823ecda..9e87995ebc 100644 --- a/src/applications/config/controller/PhabricatorConfigListController.php +++ b/src/applications/config/controller/PhabricatorConfigListController.php @@ -53,7 +53,7 @@ final class PhabricatorConfigListController ->setHeader($group->getName()) ->setHref('/config/group/'.$group->getKey().'/') ->addAttribute($group->getDescription()) - ->setFontIcon($group->getFontIcon()); + ->setIcon($group->getIcon()); $list->addItem($item); } } diff --git a/src/applications/config/module/PhabricatorConfigPHIDModule.php b/src/applications/config/module/PhabricatorConfigPHIDModule.php index 0a1eaf7b3f..cd7d0e0092 100644 --- a/src/applications/config/module/PhabricatorConfigPHIDModule.php +++ b/src/applications/config/module/PhabricatorConfigPHIDModule.php @@ -23,7 +23,7 @@ final class PhabricatorConfigPHIDModule extends PhabricatorConfigModule { $app = PhabricatorApplication::getByClass($class_name); $app_name = $app->getName(); - $icon = $app->getFontIcon(); + $icon = $app->getIcon(); if ($icon) { $app_icon = id(new PHUIIconView())->setIcon($icon); } else { diff --git a/src/applications/config/option/PhabricatorAWSConfigOptions.php b/src/applications/config/option/PhabricatorAWSConfigOptions.php index af328ba0af..faed807ae3 100644 --- a/src/applications/config/option/PhabricatorAWSConfigOptions.php +++ b/src/applications/config/option/PhabricatorAWSConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorAWSConfigOptions return pht('Configure integration with AWS (EC2, SES, S3, etc).'); } - public function getFontIcon() { + public function getIcon() { return 'fa-server'; } diff --git a/src/applications/config/option/PhabricatorAccessLogConfigOptions.php b/src/applications/config/option/PhabricatorAccessLogConfigOptions.php index 5bc55f64a7..6183f9936f 100644 --- a/src/applications/config/option/PhabricatorAccessLogConfigOptions.php +++ b/src/applications/config/option/PhabricatorAccessLogConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorAccessLogConfigOptions return pht('Configure the access logs, which log HTTP/SSH requests.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-list'; } diff --git a/src/applications/config/option/PhabricatorApplicationConfigOptions.php b/src/applications/config/option/PhabricatorApplicationConfigOptions.php index 491852eab6..dab28af776 100644 --- a/src/applications/config/option/PhabricatorApplicationConfigOptions.php +++ b/src/applications/config/option/PhabricatorApplicationConfigOptions.php @@ -7,7 +7,7 @@ abstract class PhabricatorApplicationConfigOptions extends Phobject { abstract public function getGroup(); abstract public function getOptions(); - public function getFontIcon() { + public function getIcon() { return 'fa-sliders'; } diff --git a/src/applications/config/option/PhabricatorAuthenticationConfigOptions.php b/src/applications/config/option/PhabricatorAuthenticationConfigOptions.php index 8092f52ff8..bd1c8965eb 100644 --- a/src/applications/config/option/PhabricatorAuthenticationConfigOptions.php +++ b/src/applications/config/option/PhabricatorAuthenticationConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorAuthenticationConfigOptions return pht('Options relating to authentication.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-key'; } diff --git a/src/applications/config/option/PhabricatorClusterConfigOptions.php b/src/applications/config/option/PhabricatorClusterConfigOptions.php index 8684d98233..0b7974904c 100644 --- a/src/applications/config/option/PhabricatorClusterConfigOptions.php +++ b/src/applications/config/option/PhabricatorClusterConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorClusterConfigOptions return pht('Configure Phabricator to run on a cluster of hosts.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-sitemap'; } diff --git a/src/applications/config/option/PhabricatorCoreConfigOptions.php b/src/applications/config/option/PhabricatorCoreConfigOptions.php index 7f696ae48c..c486ce0db1 100644 --- a/src/applications/config/option/PhabricatorCoreConfigOptions.php +++ b/src/applications/config/option/PhabricatorCoreConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorCoreConfigOptions return pht('Configure core options, including URIs.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-bullseye'; } diff --git a/src/applications/config/option/PhabricatorDeveloperConfigOptions.php b/src/applications/config/option/PhabricatorDeveloperConfigOptions.php index 37cf752f68..a84a7484a6 100644 --- a/src/applications/config/option/PhabricatorDeveloperConfigOptions.php +++ b/src/applications/config/option/PhabricatorDeveloperConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorDeveloperConfigOptions return pht('Options for Phabricator developers, including debugging.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-bug'; } diff --git a/src/applications/config/option/PhabricatorExtendingPhabricatorConfigOptions.php b/src/applications/config/option/PhabricatorExtendingPhabricatorConfigOptions.php index ef07bc9109..28a0f619dd 100644 --- a/src/applications/config/option/PhabricatorExtendingPhabricatorConfigOptions.php +++ b/src/applications/config/option/PhabricatorExtendingPhabricatorConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorExtendingPhabricatorConfigOptions return pht('Make Phabricator even cooler!'); } - public function getFontIcon() { + public function getIcon() { return 'fa-rocket'; } diff --git a/src/applications/config/option/PhabricatorMailgunConfigOptions.php b/src/applications/config/option/PhabricatorMailgunConfigOptions.php index aebcba6725..cc4e71fb59 100644 --- a/src/applications/config/option/PhabricatorMailgunConfigOptions.php +++ b/src/applications/config/option/PhabricatorMailgunConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorMailgunConfigOptions return pht('Configure Mailgun integration.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-send-o'; } diff --git a/src/applications/config/option/PhabricatorMetaMTAConfigOptions.php b/src/applications/config/option/PhabricatorMetaMTAConfigOptions.php index 929f02be2d..16bdb7e520 100644 --- a/src/applications/config/option/PhabricatorMetaMTAConfigOptions.php +++ b/src/applications/config/option/PhabricatorMetaMTAConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorMetaMTAConfigOptions return pht('Configure Mail.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-send'; } diff --git a/src/applications/config/option/PhabricatorMySQLConfigOptions.php b/src/applications/config/option/PhabricatorMySQLConfigOptions.php index e3cd480e21..28fa78d2ab 100644 --- a/src/applications/config/option/PhabricatorMySQLConfigOptions.php +++ b/src/applications/config/option/PhabricatorMySQLConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorMySQLConfigOptions return pht('Database configuration.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-database'; } diff --git a/src/applications/config/option/PhabricatorNotificationConfigOptions.php b/src/applications/config/option/PhabricatorNotificationConfigOptions.php index f43f2af32a..7b6acf4ec7 100644 --- a/src/applications/config/option/PhabricatorNotificationConfigOptions.php +++ b/src/applications/config/option/PhabricatorNotificationConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorNotificationConfigOptions return pht('Configure real-time notifications.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-bell'; } diff --git a/src/applications/config/option/PhabricatorPHDConfigOptions.php b/src/applications/config/option/PhabricatorPHDConfigOptions.php index 6fecd7117f..bfe7c148c4 100644 --- a/src/applications/config/option/PhabricatorPHDConfigOptions.php +++ b/src/applications/config/option/PhabricatorPHDConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorPHDConfigOptions return pht('Options relating to PHD (daemons).'); } - public function getFontIcon() { + public function getIcon() { return 'fa-pied-piper-alt'; } diff --git a/src/applications/config/option/PhabricatorPHPMailerConfigOptions.php b/src/applications/config/option/PhabricatorPHPMailerConfigOptions.php index b2d5c91e91..6b999b0d55 100644 --- a/src/applications/config/option/PhabricatorPHPMailerConfigOptions.php +++ b/src/applications/config/option/PhabricatorPHPMailerConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorPHPMailerConfigOptions return pht('Configure PHPMailer.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-send-o'; } diff --git a/src/applications/config/option/PhabricatorPhurlConfigOptions.php b/src/applications/config/option/PhabricatorPhurlConfigOptions.php index 726540d3dd..69e3dd6769 100644 --- a/src/applications/config/option/PhabricatorPhurlConfigOptions.php +++ b/src/applications/config/option/PhabricatorPhurlConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorPhurlConfigOptions return pht('Options for Phurl.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-link'; } diff --git a/src/applications/config/option/PhabricatorRecaptchaConfigOptions.php b/src/applications/config/option/PhabricatorRecaptchaConfigOptions.php index 576ac18913..356bcfd4dd 100644 --- a/src/applications/config/option/PhabricatorRecaptchaConfigOptions.php +++ b/src/applications/config/option/PhabricatorRecaptchaConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorRecaptchaConfigOptions return pht('Configure Recaptcha captchas.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-recycle'; } diff --git a/src/applications/config/option/PhabricatorSMSConfigOptions.php b/src/applications/config/option/PhabricatorSMSConfigOptions.php index 33b75c263f..08f2e50ee1 100644 --- a/src/applications/config/option/PhabricatorSMSConfigOptions.php +++ b/src/applications/config/option/PhabricatorSMSConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorSMSConfigOptions return pht('Configure SMS.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-mobile'; } diff --git a/src/applications/config/option/PhabricatorSecurityConfigOptions.php b/src/applications/config/option/PhabricatorSecurityConfigOptions.php index 8baea2e664..8c9907d736 100644 --- a/src/applications/config/option/PhabricatorSecurityConfigOptions.php +++ b/src/applications/config/option/PhabricatorSecurityConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorSecurityConfigOptions return pht('Security options.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-lock'; } diff --git a/src/applications/config/option/PhabricatorSendGridConfigOptions.php b/src/applications/config/option/PhabricatorSendGridConfigOptions.php index c740792a7a..0baa7390af 100644 --- a/src/applications/config/option/PhabricatorSendGridConfigOptions.php +++ b/src/applications/config/option/PhabricatorSendGridConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorSendGridConfigOptions return pht('Configure SendGrid integration.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-send-o'; } diff --git a/src/applications/config/option/PhabricatorSyntaxHighlightingConfigOptions.php b/src/applications/config/option/PhabricatorSyntaxHighlightingConfigOptions.php index 25b8835caf..41133d5ede 100644 --- a/src/applications/config/option/PhabricatorSyntaxHighlightingConfigOptions.php +++ b/src/applications/config/option/PhabricatorSyntaxHighlightingConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorSyntaxHighlightingConfigOptions return pht('Options relating to syntax highlighting source code.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-code'; } diff --git a/src/applications/config/option/PhabricatorTranslationsConfigOptions.php b/src/applications/config/option/PhabricatorTranslationsConfigOptions.php index aa7b9a2b32..c82e7901bc 100644 --- a/src/applications/config/option/PhabricatorTranslationsConfigOptions.php +++ b/src/applications/config/option/PhabricatorTranslationsConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorTranslationsConfigOptions return pht('Options relating to translations.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-globe'; } diff --git a/src/applications/config/option/PhabricatorUIConfigOptions.php b/src/applications/config/option/PhabricatorUIConfigOptions.php index efd4f5a5bd..e73b4ee780 100644 --- a/src/applications/config/option/PhabricatorUIConfigOptions.php +++ b/src/applications/config/option/PhabricatorUIConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorUIConfigOptions return pht('Configure the Phabricator UI, including colors.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-magnet'; } diff --git a/src/applications/conpherence/application/PhabricatorConpherenceApplication.php b/src/applications/conpherence/application/PhabricatorConpherenceApplication.php index 7708e6a539..ea06aaa456 100644 --- a/src/applications/conpherence/application/PhabricatorConpherenceApplication.php +++ b/src/applications/conpherence/application/PhabricatorConpherenceApplication.php @@ -14,7 +14,7 @@ final class PhabricatorConpherenceApplication extends PhabricatorApplication { return pht('Chat with Others'); } - public function getFontIcon() { + public function getIcon() { return 'fa-comments'; } diff --git a/src/applications/conpherence/config/ConpherenceConfigOptions.php b/src/applications/conpherence/config/ConpherenceConfigOptions.php index f309b8d569..24e1cb126d 100644 --- a/src/applications/conpherence/config/ConpherenceConfigOptions.php +++ b/src/applications/conpherence/config/ConpherenceConfigOptions.php @@ -11,7 +11,7 @@ final class ConpherenceConfigOptions return pht('Configure Conpherence messaging.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-comments'; } diff --git a/src/applications/countdown/application/PhabricatorCountdownApplication.php b/src/applications/countdown/application/PhabricatorCountdownApplication.php index 5daaa5021f..d6c62d7e1c 100644 --- a/src/applications/countdown/application/PhabricatorCountdownApplication.php +++ b/src/applications/countdown/application/PhabricatorCountdownApplication.php @@ -6,7 +6,7 @@ final class PhabricatorCountdownApplication extends PhabricatorApplication { return '/countdown/'; } - public function getFontIcon() { + public function getIcon() { return 'fa-rocket'; } diff --git a/src/applications/countdown/query/PhabricatorCountdownSearchEngine.php b/src/applications/countdown/query/PhabricatorCountdownSearchEngine.php index ae90e5f3e7..79b329385a 100644 --- a/src/applications/countdown/query/PhabricatorCountdownSearchEngine.php +++ b/src/applications/countdown/query/PhabricatorCountdownSearchEngine.php @@ -152,7 +152,7 @@ final class PhabricatorCountdownSearchEngine ->setHref('/countdown/create/') ->setColor(PHUIButtonView::GREEN); - $icon = $this->getApplication()->getFontIcon(); + $icon = $this->getApplication()->getIcon(); $app_name = $this->getApplication()->getName(); $view = id(new PHUIBigInfoView()) ->setIcon($icon) diff --git a/src/applications/daemon/application/PhabricatorDaemonsApplication.php b/src/applications/daemon/application/PhabricatorDaemonsApplication.php index c605be63b6..a0fb77beb0 100644 --- a/src/applications/daemon/application/PhabricatorDaemonsApplication.php +++ b/src/applications/daemon/application/PhabricatorDaemonsApplication.php @@ -18,7 +18,7 @@ final class PhabricatorDaemonsApplication extends PhabricatorApplication { return "\xE2\x98\xAF"; } - public function getFontIcon() { + public function getIcon() { return 'fa-pied-piper-alt'; } diff --git a/src/applications/dashboard/application/PhabricatorDashboardApplication.php b/src/applications/dashboard/application/PhabricatorDashboardApplication.php index 0c7304a92b..9653256630 100644 --- a/src/applications/dashboard/application/PhabricatorDashboardApplication.php +++ b/src/applications/dashboard/application/PhabricatorDashboardApplication.php @@ -14,7 +14,7 @@ final class PhabricatorDashboardApplication extends PhabricatorApplication { return pht('Create Custom Pages'); } - public function getFontIcon() { + public function getIcon() { return 'fa-dashboard'; } diff --git a/src/applications/dashboard/controller/PhabricatorDashboardPanelListController.php b/src/applications/dashboard/controller/PhabricatorDashboardPanelListController.php index 4136cad358..eaffdaa0d5 100644 --- a/src/applications/dashboard/controller/PhabricatorDashboardPanelListController.php +++ b/src/applications/dashboard/controller/PhabricatorDashboardPanelListController.php @@ -55,7 +55,7 @@ final class PhabricatorDashboardPanelListController ->setHref('/dashboard/panel/create/') ->setColor(PHUIButtonView::GREEN); - $icon = $this->getApplication()->getFontIcon(); + $icon = $this->getApplication()->getIcon(); $app_name = $this->getApplication()->getName(); $view = id(new PHUIBigInfoView()) ->setIcon($icon) diff --git a/src/applications/dashboard/query/PhabricatorDashboardSearchEngine.php b/src/applications/dashboard/query/PhabricatorDashboardSearchEngine.php index 83557b141a..26c71c1bab 100644 --- a/src/applications/dashboard/query/PhabricatorDashboardSearchEngine.php +++ b/src/applications/dashboard/query/PhabricatorDashboardSearchEngine.php @@ -181,7 +181,7 @@ final class PhabricatorDashboardSearchEngine ->setHref('/dashboard/create/') ->setColor(PHUIButtonView::GREEN); - $icon = $this->getApplication()->getFontIcon(); + $icon = $this->getApplication()->getIcon(); $app_name = $this->getApplication()->getName(); $view = id(new PHUIBigInfoView()) ->setIcon($icon) diff --git a/src/applications/differential/application/PhabricatorDifferentialApplication.php b/src/applications/differential/application/PhabricatorDifferentialApplication.php index a3074d3e31..787bf52788 100644 --- a/src/applications/differential/application/PhabricatorDifferentialApplication.php +++ b/src/applications/differential/application/PhabricatorDifferentialApplication.php @@ -14,7 +14,7 @@ final class PhabricatorDifferentialApplication extends PhabricatorApplication { return pht('Review Code'); } - public function getFontIcon() { + public function getIcon() { return 'fa-cog'; } diff --git a/src/applications/differential/config/PhabricatorDifferentialConfigOptions.php b/src/applications/differential/config/PhabricatorDifferentialConfigOptions.php index dd864d523f..bd1aa99359 100644 --- a/src/applications/differential/config/PhabricatorDifferentialConfigOptions.php +++ b/src/applications/differential/config/PhabricatorDifferentialConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorDifferentialConfigOptions return pht('Configure Differential code review.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-cog'; } diff --git a/src/applications/differential/query/DifferentialRevisionSearchEngine.php b/src/applications/differential/query/DifferentialRevisionSearchEngine.php index 60e16b58b9..002a5df180 100644 --- a/src/applications/differential/query/DifferentialRevisionSearchEngine.php +++ b/src/applications/differential/query/DifferentialRevisionSearchEngine.php @@ -348,7 +348,7 @@ final class DifferentialRevisionSearchEngine ->setHref('/differential/diff/create/') ->setColor(PHUIButtonView::GREEN); - $icon = $this->getApplication()->getFontIcon(); + $icon = $this->getApplication()->getIcon(); $app_name = $this->getApplication()->getName(); $view = id(new PHUIBigInfoView()) ->setIcon($icon) diff --git a/src/applications/diffusion/application/PhabricatorDiffusionApplication.php b/src/applications/diffusion/application/PhabricatorDiffusionApplication.php index 0f809e9983..fa82b4e80f 100644 --- a/src/applications/diffusion/application/PhabricatorDiffusionApplication.php +++ b/src/applications/diffusion/application/PhabricatorDiffusionApplication.php @@ -14,7 +14,7 @@ final class PhabricatorDiffusionApplication extends PhabricatorApplication { return '/diffusion/'; } - public function getFontIcon() { + public function getIcon() { return 'fa-code'; } diff --git a/src/applications/diffusion/config/PhabricatorDiffusionConfigOptions.php b/src/applications/diffusion/config/PhabricatorDiffusionConfigOptions.php index 9c3d7eff81..50f761eabc 100644 --- a/src/applications/diffusion/config/PhabricatorDiffusionConfigOptions.php +++ b/src/applications/diffusion/config/PhabricatorDiffusionConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorDiffusionConfigOptions return pht('Configure Diffusion repository browsing.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-code'; } diff --git a/src/applications/diviner/application/PhabricatorDivinerApplication.php b/src/applications/diviner/application/PhabricatorDivinerApplication.php index 66a8eac63d..83ca5e0dac 100644 --- a/src/applications/diviner/application/PhabricatorDivinerApplication.php +++ b/src/applications/diviner/application/PhabricatorDivinerApplication.php @@ -6,7 +6,7 @@ final class PhabricatorDivinerApplication extends PhabricatorApplication { return '/diviner/'; } - public function getFontIcon() { + public function getIcon() { return 'fa-sun-o'; } diff --git a/src/applications/doorkeeper/application/PhabricatorDoorkeeperApplication.php b/src/applications/doorkeeper/application/PhabricatorDoorkeeperApplication.php index b0e155a38e..6342dd18b3 100644 --- a/src/applications/doorkeeper/application/PhabricatorDoorkeeperApplication.php +++ b/src/applications/doorkeeper/application/PhabricatorDoorkeeperApplication.php @@ -14,7 +14,7 @@ final class PhabricatorDoorkeeperApplication extends PhabricatorApplication { return pht('Doorkeeper'); } - public function getFontIcon() { + public function getIcon() { return 'fa-recycle'; } diff --git a/src/applications/doorkeeper/option/PhabricatorAsanaConfigOptions.php b/src/applications/doorkeeper/option/PhabricatorAsanaConfigOptions.php index e7f2ef85de..991392f484 100644 --- a/src/applications/doorkeeper/option/PhabricatorAsanaConfigOptions.php +++ b/src/applications/doorkeeper/option/PhabricatorAsanaConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorAsanaConfigOptions return pht('Asana integration options.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-exchange'; } diff --git a/src/applications/drydock/application/PhabricatorDrydockApplication.php b/src/applications/drydock/application/PhabricatorDrydockApplication.php index 6267c26f1e..d19e7cb78d 100644 --- a/src/applications/drydock/application/PhabricatorDrydockApplication.php +++ b/src/applications/drydock/application/PhabricatorDrydockApplication.php @@ -14,7 +14,7 @@ final class PhabricatorDrydockApplication extends PhabricatorApplication { return pht('Allocate Software Resources'); } - public function getFontIcon() { + public function getIcon() { return 'fa-truck'; } diff --git a/src/applications/drydock/controller/DrydockConsoleController.php b/src/applications/drydock/controller/DrydockConsoleController.php index 77346cea94..c6a8e25fd6 100644 --- a/src/applications/drydock/controller/DrydockConsoleController.php +++ b/src/applications/drydock/controller/DrydockConsoleController.php @@ -31,7 +31,7 @@ final class DrydockConsoleController extends DrydockController { $menu->addItem( id(new PHUIObjectItemView()) ->setHeader(pht('Blueprints')) - ->setFontIcon('fa-map-o') + ->setIcon('fa-map-o') ->setHref($this->getApplicationURI('blueprint/')) ->addAttribute( pht( @@ -41,7 +41,7 @@ final class DrydockConsoleController extends DrydockController { $menu->addItem( id(new PHUIObjectItemView()) ->setHeader(pht('Resources')) - ->setFontIcon('fa-map') + ->setIcon('fa-map') ->setHref($this->getApplicationURI('resource/')) ->addAttribute( pht('View and manage resources Drydock has built, like hosts.'))); @@ -49,14 +49,14 @@ final class DrydockConsoleController extends DrydockController { $menu->addItem( id(new PHUIObjectItemView()) ->setHeader(pht('Leases')) - ->setFontIcon('fa-link') + ->setIcon('fa-link') ->setHref($this->getApplicationURI('lease/')) ->addAttribute(pht('Manage leases on resources.'))); $menu->addItem( id(new PHUIObjectItemView()) ->setHeader(pht('Repository Operations')) - ->setFontIcon('fa-fighter-jet') + ->setIcon('fa-fighter-jet') ->setHref($this->getApplicationURI('operation/')) ->addAttribute(pht('Review the repository operation queue.'))); diff --git a/src/applications/fact/application/PhabricatorFactApplication.php b/src/applications/fact/application/PhabricatorFactApplication.php index 5967778c71..305ed3abc9 100644 --- a/src/applications/fact/application/PhabricatorFactApplication.php +++ b/src/applications/fact/application/PhabricatorFactApplication.php @@ -14,7 +14,7 @@ final class PhabricatorFactApplication extends PhabricatorApplication { return '/fact/'; } - public function getFontIcon() { + public function getIcon() { return 'fa-line-chart'; } diff --git a/src/applications/feed/application/PhabricatorFeedApplication.php b/src/applications/feed/application/PhabricatorFeedApplication.php index ac8c21cda2..f24ff76fe4 100644 --- a/src/applications/feed/application/PhabricatorFeedApplication.php +++ b/src/applications/feed/application/PhabricatorFeedApplication.php @@ -14,7 +14,7 @@ final class PhabricatorFeedApplication extends PhabricatorApplication { return pht('Review Recent Activity'); } - public function getFontIcon() { + public function getIcon() { return 'fa-newspaper-o'; } diff --git a/src/applications/feed/config/PhabricatorFeedConfigOptions.php b/src/applications/feed/config/PhabricatorFeedConfigOptions.php index 5e6926f357..4b6612f931 100644 --- a/src/applications/feed/config/PhabricatorFeedConfigOptions.php +++ b/src/applications/feed/config/PhabricatorFeedConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorFeedConfigOptions return pht('Feed options.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-newspaper-o'; } diff --git a/src/applications/files/application/PhabricatorFilesApplication.php b/src/applications/files/application/PhabricatorFilesApplication.php index 7447ed728d..4cdcd76041 100644 --- a/src/applications/files/application/PhabricatorFilesApplication.php +++ b/src/applications/files/application/PhabricatorFilesApplication.php @@ -14,7 +14,7 @@ final class PhabricatorFilesApplication extends PhabricatorApplication { return pht('Store and Share Files'); } - public function getFontIcon() { + public function getIcon() { return 'fa-file'; } diff --git a/src/applications/files/config/PhabricatorFilesConfigOptions.php b/src/applications/files/config/PhabricatorFilesConfigOptions.php index e9d899f658..43e12eddec 100644 --- a/src/applications/files/config/PhabricatorFilesConfigOptions.php +++ b/src/applications/files/config/PhabricatorFilesConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorFilesConfigOptions return pht('Configure files and file storage.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-file'; } diff --git a/src/applications/files/query/PhabricatorFileSearchEngine.php b/src/applications/files/query/PhabricatorFileSearchEngine.php index 31e03f02b9..f2193d3beb 100644 --- a/src/applications/files/query/PhabricatorFileSearchEngine.php +++ b/src/applications/files/query/PhabricatorFileSearchEngine.php @@ -185,7 +185,7 @@ final class PhabricatorFileSearchEngine ->setHref('/file/upload/') ->setColor(PHUIButtonView::GREEN); - $icon = $this->getApplication()->getFontIcon(); + $icon = $this->getApplication()->getIcon(); $app_name = $this->getApplication()->getName(); $view = id(new PHUIBigInfoView()) ->setIcon($icon) diff --git a/src/applications/flag/application/PhabricatorFlagsApplication.php b/src/applications/flag/application/PhabricatorFlagsApplication.php index fad4c0bc8e..c7e2cb3b67 100644 --- a/src/applications/flag/application/PhabricatorFlagsApplication.php +++ b/src/applications/flag/application/PhabricatorFlagsApplication.php @@ -14,7 +14,7 @@ final class PhabricatorFlagsApplication extends PhabricatorApplication { return '/flag/'; } - public function getFontIcon() { + public function getIcon() { return 'fa-flag'; } diff --git a/src/applications/fund/application/PhabricatorFundApplication.php b/src/applications/fund/application/PhabricatorFundApplication.php index ed36cc783b..889baca20e 100644 --- a/src/applications/fund/application/PhabricatorFundApplication.php +++ b/src/applications/fund/application/PhabricatorFundApplication.php @@ -14,7 +14,7 @@ final class PhabricatorFundApplication extends PhabricatorApplication { return pht('Donate'); } - public function getFontIcon() { + public function getIcon() { return 'fa-heart'; } diff --git a/src/applications/harbormaster/application/PhabricatorHarbormasterApplication.php b/src/applications/harbormaster/application/PhabricatorHarbormasterApplication.php index c9026e722f..97fa40dee8 100644 --- a/src/applications/harbormaster/application/PhabricatorHarbormasterApplication.php +++ b/src/applications/harbormaster/application/PhabricatorHarbormasterApplication.php @@ -14,7 +14,7 @@ final class PhabricatorHarbormasterApplication extends PhabricatorApplication { return pht('Build/CI'); } - public function getFontIcon() { + public function getIcon() { return 'fa-ship'; } diff --git a/src/applications/harbormaster/config/PhabricatorHarbormasterConfigOptions.php b/src/applications/harbormaster/config/PhabricatorHarbormasterConfigOptions.php index 0471984dbc..bab1e6de85 100644 --- a/src/applications/harbormaster/config/PhabricatorHarbormasterConfigOptions.php +++ b/src/applications/harbormaster/config/PhabricatorHarbormasterConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorHarbormasterConfigOptions return pht('Configure Harbormaster build engine.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-ship'; } diff --git a/src/applications/herald/application/PhabricatorHeraldApplication.php b/src/applications/herald/application/PhabricatorHeraldApplication.php index d6f0fd47b6..9160b0e9d9 100644 --- a/src/applications/herald/application/PhabricatorHeraldApplication.php +++ b/src/applications/herald/application/PhabricatorHeraldApplication.php @@ -6,7 +6,7 @@ final class PhabricatorHeraldApplication extends PhabricatorApplication { return '/herald/'; } - public function getFontIcon() { + public function getIcon() { return 'fa-bullhorn'; } diff --git a/src/applications/herald/query/HeraldRuleSearchEngine.php b/src/applications/herald/query/HeraldRuleSearchEngine.php index b71f8e6278..3b8196c13a 100644 --- a/src/applications/herald/query/HeraldRuleSearchEngine.php +++ b/src/applications/herald/query/HeraldRuleSearchEngine.php @@ -218,7 +218,7 @@ final class HeraldRuleSearchEngine extends PhabricatorApplicationSearchEngine { ->setHref('/herald/create/') ->setColor(PHUIButtonView::GREEN); - $icon = $this->getApplication()->getFontIcon(); + $icon = $this->getApplication()->getIcon(); $app_name = $this->getApplication()->getName(); $view = id(new PHUIBigInfoView()) ->setIcon($icon) diff --git a/src/applications/home/application/PhabricatorHomeApplication.php b/src/applications/home/application/PhabricatorHomeApplication.php index c4fa1c646c..481ade105f 100644 --- a/src/applications/home/application/PhabricatorHomeApplication.php +++ b/src/applications/home/application/PhabricatorHomeApplication.php @@ -16,7 +16,7 @@ final class PhabricatorHomeApplication extends PhabricatorApplication { return pht('Command Center'); } - public function getFontIcon() { + public function getIcon() { return 'fa-home'; } diff --git a/src/applications/legalpad/application/PhabricatorLegalpadApplication.php b/src/applications/legalpad/application/PhabricatorLegalpadApplication.php index e47049ef30..709fd7cc07 100644 --- a/src/applications/legalpad/application/PhabricatorLegalpadApplication.php +++ b/src/applications/legalpad/application/PhabricatorLegalpadApplication.php @@ -14,7 +14,7 @@ final class PhabricatorLegalpadApplication extends PhabricatorApplication { return pht('Agreements and Signatures'); } - public function getFontIcon() { + public function getIcon() { return 'fa-gavel'; } diff --git a/src/applications/legalpad/config/PhabricatorLegalpadConfigOptions.php b/src/applications/legalpad/config/PhabricatorLegalpadConfigOptions.php index e88ecb98f1..a9584fc94b 100644 --- a/src/applications/legalpad/config/PhabricatorLegalpadConfigOptions.php +++ b/src/applications/legalpad/config/PhabricatorLegalpadConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorLegalpadConfigOptions return pht('Configure Legalpad.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-gavel'; } diff --git a/src/applications/legalpad/query/LegalpadDocumentSearchEngine.php b/src/applications/legalpad/query/LegalpadDocumentSearchEngine.php index 5e562a06c7..8b218cf821 100644 --- a/src/applications/legalpad/query/LegalpadDocumentSearchEngine.php +++ b/src/applications/legalpad/query/LegalpadDocumentSearchEngine.php @@ -223,7 +223,7 @@ final class LegalpadDocumentSearchEngine ->setHref('/legalpad/create/') ->setColor(PHUIButtonView::GREEN); - $icon = $this->getApplication()->getFontIcon(); + $icon = $this->getApplication()->getIcon(); $app_name = $this->getApplication()->getName(); $view = id(new PHUIBigInfoView()) ->setIcon($icon) diff --git a/src/applications/macro/application/PhabricatorMacroApplication.php b/src/applications/macro/application/PhabricatorMacroApplication.php index dabf285fd3..fc7dcabab6 100644 --- a/src/applications/macro/application/PhabricatorMacroApplication.php +++ b/src/applications/macro/application/PhabricatorMacroApplication.php @@ -14,7 +14,7 @@ final class PhabricatorMacroApplication extends PhabricatorApplication { return pht('Image Macros and Memes'); } - public function getFontIcon() { + public function getIcon() { return 'fa-file-image-o'; } diff --git a/src/applications/macro/config/PhabricatorMacroConfigOptions.php b/src/applications/macro/config/PhabricatorMacroConfigOptions.php index 2ab913a733..2cb01ff29f 100644 --- a/src/applications/macro/config/PhabricatorMacroConfigOptions.php +++ b/src/applications/macro/config/PhabricatorMacroConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorMacroConfigOptions return pht('Configure Macro.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-file-image-o'; } diff --git a/src/applications/macro/markup/PhabricatorIconRemarkupRule.php b/src/applications/macro/markup/PhabricatorIconRemarkupRule.php index fe0c4f60b2..e1e6cede07 100644 --- a/src/applications/macro/markup/PhabricatorIconRemarkupRule.php +++ b/src/applications/macro/markup/PhabricatorIconRemarkupRule.php @@ -54,12 +54,12 @@ final class PhabricatorIconRemarkupRule extends PhutilRemarkupRule { static $icon_names; if (!$icon_names) { - $icon_names = array_fuse(PHUIIconView::getFontIcons()); + $icon_names = array_fuse(PHUIIconView::getIcons()); } static $color_names; if (!$color_names) { - $color_names = array_fuse(PHUIIconView::getFontIconColors()); + $color_names = array_fuse(PHUIIconView::getIconColors()); } if (empty($icon_names['fa-'.$icon])) { diff --git a/src/applications/macro/query/PhabricatorMacroSearchEngine.php b/src/applications/macro/query/PhabricatorMacroSearchEngine.php index 1619f8185a..7ef57a6a10 100644 --- a/src/applications/macro/query/PhabricatorMacroSearchEngine.php +++ b/src/applications/macro/query/PhabricatorMacroSearchEngine.php @@ -196,7 +196,7 @@ final class PhabricatorMacroSearchEngine ->setHref('/macro/create/') ->setColor(PHUIButtonView::GREEN); - $icon = $this->getApplication()->getFontIcon(); + $icon = $this->getApplication()->getIcon(); $app_name = $this->getApplication()->getName(); $view = id(new PHUIBigInfoView()) ->setIcon($icon) diff --git a/src/applications/maniphest/application/PhabricatorManiphestApplication.php b/src/applications/maniphest/application/PhabricatorManiphestApplication.php index 3fcbbf49f0..61186c7b8d 100644 --- a/src/applications/maniphest/application/PhabricatorManiphestApplication.php +++ b/src/applications/maniphest/application/PhabricatorManiphestApplication.php @@ -14,7 +14,7 @@ final class PhabricatorManiphestApplication extends PhabricatorApplication { return '/maniphest/'; } - public function getFontIcon() { + public function getIcon() { return 'fa-anchor'; } diff --git a/src/applications/maniphest/config/PhabricatorManiphestConfigOptions.php b/src/applications/maniphest/config/PhabricatorManiphestConfigOptions.php index a6f1cb79bf..3d47c59e1c 100644 --- a/src/applications/maniphest/config/PhabricatorManiphestConfigOptions.php +++ b/src/applications/maniphest/config/PhabricatorManiphestConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorManiphestConfigOptions return pht('Configure Maniphest.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-anchor'; } diff --git a/src/applications/maniphest/query/ManiphestTaskSearchEngine.php b/src/applications/maniphest/query/ManiphestTaskSearchEngine.php index 8e2f295f1a..4c92f9d642 100644 --- a/src/applications/maniphest/query/ManiphestTaskSearchEngine.php +++ b/src/applications/maniphest/query/ManiphestTaskSearchEngine.php @@ -392,7 +392,7 @@ final class ManiphestTaskSearchEngine ->setHref('/maniphest/task/edit/') ->setColor(PHUIButtonView::GREEN); - $icon = $this->getApplication()->getFontIcon(); + $icon = $this->getApplication()->getIcon(); $app_name = $this->getApplication()->getName(); $view = id(new PHUIBigInfoView()) ->setIcon($icon) diff --git a/src/applications/meta/application/PhabricatorApplicationsApplication.php b/src/applications/meta/application/PhabricatorApplicationsApplication.php index 1b354213be..fc26eb1e27 100644 --- a/src/applications/meta/application/PhabricatorApplicationsApplication.php +++ b/src/applications/meta/application/PhabricatorApplicationsApplication.php @@ -24,7 +24,7 @@ final class PhabricatorApplicationsApplication extends PhabricatorApplication { return pht('Explore More Applications'); } - public function getFontIcon() { + public function getIcon() { return 'fa-globe'; } diff --git a/src/applications/meta/query/PhabricatorAppSearchEngine.php b/src/applications/meta/query/PhabricatorAppSearchEngine.php index 9dcc0a4399..98a9495fa0 100644 --- a/src/applications/meta/query/PhabricatorAppSearchEngine.php +++ b/src/applications/meta/query/PhabricatorAppSearchEngine.php @@ -209,7 +209,7 @@ final class PhabricatorAppSearchEngine $list = new PHUIObjectItemListView(); foreach ($applications as $application) { - $icon = $application->getFontIcon(); + $icon = $application->getIcon(); if (!$icon) { $icon = 'application'; } diff --git a/src/applications/meta/typeahead/PhabricatorApplicationDatasource.php b/src/applications/meta/typeahead/PhabricatorApplicationDatasource.php index b6d4aa3f18..176c3554cf 100644 --- a/src/applications/meta/typeahead/PhabricatorApplicationDatasource.php +++ b/src/applications/meta/typeahead/PhabricatorApplicationDatasource.php @@ -28,7 +28,7 @@ final class PhabricatorApplicationDatasource continue; } $name = $application->getName().' '.$application->getShortDescription(); - $img = 'phui-font-fa phui-icon-view '.$application->getFontIcon(); + $img = 'phui-font-fa phui-icon-view '.$application->getIcon(); $results[] = id(new PhabricatorTypeaheadResult()) ->setName($name) ->setURI($uri) diff --git a/src/applications/meta/view/PhabricatorApplicationLaunchView.php b/src/applications/meta/view/PhabricatorApplicationLaunchView.php index c714e0daa6..95c3777d4e 100644 --- a/src/applications/meta/view/PhabricatorApplicationLaunchView.php +++ b/src/applications/meta/view/PhabricatorApplicationLaunchView.php @@ -113,7 +113,7 @@ final class PhabricatorApplicationLaunchView extends AphrontTagView { if ($application->getIconURI()) { $styles[] = 'background-image: url('.$application->getIconURI().')'; } else { - $classes[] = $application->getFontIcon(); + $classes[] = $application->getIcon(); $classes[] = 'phui-icon-view'; $classes[] = 'phui-font-fa'; } diff --git a/src/applications/metamta/application/PhabricatorMetaMTAApplication.php b/src/applications/metamta/application/PhabricatorMetaMTAApplication.php index 5617c39c35..adb08aaa24 100644 --- a/src/applications/metamta/application/PhabricatorMetaMTAApplication.php +++ b/src/applications/metamta/application/PhabricatorMetaMTAApplication.php @@ -10,7 +10,7 @@ final class PhabricatorMetaMTAApplication extends PhabricatorApplication { return '/mail/'; } - public function getFontIcon() { + public function getIcon() { return 'fa-send'; } diff --git a/src/applications/multimeter/application/PhabricatorMultimeterApplication.php b/src/applications/multimeter/application/PhabricatorMultimeterApplication.php index fdac449bd2..4965ae761d 100644 --- a/src/applications/multimeter/application/PhabricatorMultimeterApplication.php +++ b/src/applications/multimeter/application/PhabricatorMultimeterApplication.php @@ -11,7 +11,7 @@ final class PhabricatorMultimeterApplication return '/multimeter/'; } - public function getFontIcon() { + public function getIcon() { return 'fa-motorcycle'; } diff --git a/src/applications/notification/application/PhabricatorNotificationsApplication.php b/src/applications/notification/application/PhabricatorNotificationsApplication.php index 0228b471b1..b4cc2b45b6 100644 --- a/src/applications/notification/application/PhabricatorNotificationsApplication.php +++ b/src/applications/notification/application/PhabricatorNotificationsApplication.php @@ -14,7 +14,7 @@ final class PhabricatorNotificationsApplication extends PhabricatorApplication { return pht('Real-Time Updates and Alerts'); } - public function getFontIcon() { + public function getIcon() { return 'fa-bell'; } diff --git a/src/applications/nuance/application/PhabricatorNuanceApplication.php b/src/applications/nuance/application/PhabricatorNuanceApplication.php index ce19afcd11..e3d5825d4e 100644 --- a/src/applications/nuance/application/PhabricatorNuanceApplication.php +++ b/src/applications/nuance/application/PhabricatorNuanceApplication.php @@ -6,7 +6,7 @@ final class PhabricatorNuanceApplication extends PhabricatorApplication { return pht('Nuance'); } - public function getFontIcon() { + public function getIcon() { return 'fa-fax'; } diff --git a/src/applications/nuance/controller/NuanceConsoleController.php b/src/applications/nuance/controller/NuanceConsoleController.php index 78ab474fb6..ffcde21ba3 100644 --- a/src/applications/nuance/controller/NuanceConsoleController.php +++ b/src/applications/nuance/controller/NuanceConsoleController.php @@ -16,14 +16,14 @@ final class NuanceConsoleController extends NuanceController { id(new PHUIObjectItemView()) ->setHeader(pht('Queues')) ->setHref($this->getApplicationURI('queue/')) - ->setFontIcon('fa-align-left') + ->setIcon('fa-align-left') ->addAttribute(pht('Manage Nuance queues.'))); $menu->addItem( id(new PHUIObjectItemView()) ->setHeader(pht('Sources')) ->setHref($this->getApplicationURI('source/')) - ->setFontIcon('fa-filter') + ->setIcon('fa-filter') ->addAttribute(pht('Manage Nuance sources.'))); $crumbs = $this->buildApplicationCrumbs(); diff --git a/src/applications/oauthserver/application/PhabricatorOAuthServerApplication.php b/src/applications/oauthserver/application/PhabricatorOAuthServerApplication.php index 08e5e207f6..7bd7eed9ac 100644 --- a/src/applications/oauthserver/application/PhabricatorOAuthServerApplication.php +++ b/src/applications/oauthserver/application/PhabricatorOAuthServerApplication.php @@ -14,7 +14,7 @@ final class PhabricatorOAuthServerApplication extends PhabricatorApplication { return pht('OAuth Login Provider'); } - public function getFontIcon() { + public function getIcon() { return 'fa-hotel'; } diff --git a/src/applications/owners/application/PhabricatorOwnersApplication.php b/src/applications/owners/application/PhabricatorOwnersApplication.php index 8511ce401d..574dd6ff7e 100644 --- a/src/applications/owners/application/PhabricatorOwnersApplication.php +++ b/src/applications/owners/application/PhabricatorOwnersApplication.php @@ -10,7 +10,7 @@ final class PhabricatorOwnersApplication extends PhabricatorApplication { return '/owners/'; } - public function getFontIcon() { + public function getIcon() { return 'fa-gift'; } diff --git a/src/applications/owners/config/PhabricatorOwnersConfigOptions.php b/src/applications/owners/config/PhabricatorOwnersConfigOptions.php index 5c5766a43a..0f827672b7 100644 --- a/src/applications/owners/config/PhabricatorOwnersConfigOptions.php +++ b/src/applications/owners/config/PhabricatorOwnersConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorOwnersConfigOptions return pht('Configure Owners.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-gift'; } diff --git a/src/applications/owners/query/PhabricatorOwnersPackageSearchEngine.php b/src/applications/owners/query/PhabricatorOwnersPackageSearchEngine.php index f67b82b7b5..f92817d79e 100644 --- a/src/applications/owners/query/PhabricatorOwnersPackageSearchEngine.php +++ b/src/applications/owners/query/PhabricatorOwnersPackageSearchEngine.php @@ -162,7 +162,7 @@ final class PhabricatorOwnersPackageSearchEngine ->setHref('/owners/edit/') ->setColor(PHUIButtonView::GREEN); - $icon = $this->getApplication()->getFontIcon(); + $icon = $this->getApplication()->getIcon(); $app_name = $this->getApplication()->getName(); $view = id(new PHUIBigInfoView()) ->setIcon($icon) diff --git a/src/applications/passphrase/application/PhabricatorPassphraseApplication.php b/src/applications/passphrase/application/PhabricatorPassphraseApplication.php index daf794180f..2ab4f1e33d 100644 --- a/src/applications/passphrase/application/PhabricatorPassphraseApplication.php +++ b/src/applications/passphrase/application/PhabricatorPassphraseApplication.php @@ -14,7 +14,7 @@ final class PhabricatorPassphraseApplication extends PhabricatorApplication { return pht('Credential Store'); } - public function getFontIcon() { + public function getIcon() { return 'fa-user-secret'; } diff --git a/src/applications/passphrase/query/PassphraseCredentialSearchEngine.php b/src/applications/passphrase/query/PassphraseCredentialSearchEngine.php index d6d34baef1..ac4cbec9bf 100644 --- a/src/applications/passphrase/query/PassphraseCredentialSearchEngine.php +++ b/src/applications/passphrase/query/PassphraseCredentialSearchEngine.php @@ -118,7 +118,7 @@ final class PassphraseCredentialSearchEngine ->setHref('/passphrase/create/') ->setColor(PHUIButtonView::GREEN); - $icon = $this->getApplication()->getFontIcon(); + $icon = $this->getApplication()->getIcon(); $app_name = $this->getApplication()->getName(); $view = id(new PHUIBigInfoView()) ->setIcon($icon) diff --git a/src/applications/paste/application/PhabricatorPasteApplication.php b/src/applications/paste/application/PhabricatorPasteApplication.php index 881ea8283a..1947c5377b 100644 --- a/src/applications/paste/application/PhabricatorPasteApplication.php +++ b/src/applications/paste/application/PhabricatorPasteApplication.php @@ -10,7 +10,7 @@ final class PhabricatorPasteApplication extends PhabricatorApplication { return '/paste/'; } - public function getFontIcon() { + public function getIcon() { return 'fa-paste'; } diff --git a/src/applications/paste/config/PhabricatorPasteConfigOptions.php b/src/applications/paste/config/PhabricatorPasteConfigOptions.php index bb970905c4..15b32eeb04 100644 --- a/src/applications/paste/config/PhabricatorPasteConfigOptions.php +++ b/src/applications/paste/config/PhabricatorPasteConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorPasteConfigOptions return pht('Configure Paste.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-paste'; } diff --git a/src/applications/paste/query/PhabricatorPasteSearchEngine.php b/src/applications/paste/query/PhabricatorPasteSearchEngine.php index fdf7824f07..da1f04ae09 100644 --- a/src/applications/paste/query/PhabricatorPasteSearchEngine.php +++ b/src/applications/paste/query/PhabricatorPasteSearchEngine.php @@ -210,7 +210,7 @@ final class PhabricatorPasteSearchEngine ->setHref('/paste/create/') ->setColor(PHUIButtonView::GREEN); - $icon = $this->getApplication()->getFontIcon(); + $icon = $this->getApplication()->getIcon(); $app_name = $this->getApplication()->getName(); $view = id(new PHUIBigInfoView()) ->setIcon($icon) diff --git a/src/applications/people/application/PhabricatorPeopleApplication.php b/src/applications/people/application/PhabricatorPeopleApplication.php index 695669ea7c..c4bc87ea5a 100644 --- a/src/applications/people/application/PhabricatorPeopleApplication.php +++ b/src/applications/people/application/PhabricatorPeopleApplication.php @@ -18,7 +18,7 @@ final class PhabricatorPeopleApplication extends PhabricatorApplication { return "\xE2\x99\x9F"; } - public function getFontIcon() { + public function getIcon() { return 'fa-users'; } diff --git a/src/applications/people/config/PhabricatorUserConfigOptions.php b/src/applications/people/config/PhabricatorUserConfigOptions.php index c5eefeaa9f..79be912699 100644 --- a/src/applications/people/config/PhabricatorUserConfigOptions.php +++ b/src/applications/people/config/PhabricatorUserConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorUserConfigOptions return pht('User profiles configuration.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-users'; } diff --git a/src/applications/phame/application/PhabricatorPhameApplication.php b/src/applications/phame/application/PhabricatorPhameApplication.php index 1a49c95277..637b51a66c 100644 --- a/src/applications/phame/application/PhabricatorPhameApplication.php +++ b/src/applications/phame/application/PhabricatorPhameApplication.php @@ -10,7 +10,7 @@ final class PhabricatorPhameApplication extends PhabricatorApplication { return '/phame/'; } - public function getFontIcon() { + public function getIcon() { return 'fa-star'; } diff --git a/src/applications/phid/type/PhabricatorPHIDType.php b/src/applications/phid/type/PhabricatorPHIDType.php index e39ff5f562..99deb84763 100644 --- a/src/applications/phid/type/PhabricatorPHIDType.php +++ b/src/applications/phid/type/PhabricatorPHIDType.php @@ -25,7 +25,7 @@ abstract class PhabricatorPHIDType extends Phobject { $application_class = $this->getPHIDTypeApplicationClass(); if ($application_class) { $application = newv($application_class, array()); - return $application->getFontIcon(); + return $application->getIcon(); } return null; diff --git a/src/applications/phlux/application/PhabricatorPhluxApplication.php b/src/applications/phlux/application/PhabricatorPhluxApplication.php index aabd7c9d1a..cc0e1a750b 100644 --- a/src/applications/phlux/application/PhabricatorPhluxApplication.php +++ b/src/applications/phlux/application/PhabricatorPhluxApplication.php @@ -14,7 +14,7 @@ final class PhabricatorPhluxApplication extends PhabricatorApplication { return pht('Key/Value Configuration Store'); } - public function getFontIcon() { + public function getIcon() { return 'fa-copy'; } diff --git a/src/applications/pholio/application/PhabricatorPholioApplication.php b/src/applications/pholio/application/PhabricatorPholioApplication.php index 16b868b9a1..ceb1e36638 100644 --- a/src/applications/pholio/application/PhabricatorPholioApplication.php +++ b/src/applications/pholio/application/PhabricatorPholioApplication.php @@ -14,7 +14,7 @@ final class PhabricatorPholioApplication extends PhabricatorApplication { return pht('Review Mocks and Design'); } - public function getFontIcon() { + public function getIcon() { return 'fa-camera-retro'; } diff --git a/src/applications/pholio/config/PhabricatorPholioConfigOptions.php b/src/applications/pholio/config/PhabricatorPholioConfigOptions.php index db079a4b2b..30bea98554 100644 --- a/src/applications/pholio/config/PhabricatorPholioConfigOptions.php +++ b/src/applications/pholio/config/PhabricatorPholioConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorPholioConfigOptions return pht('Configure Pholio.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-camera-retro'; } diff --git a/src/applications/pholio/query/PholioMockSearchEngine.php b/src/applications/pholio/query/PholioMockSearchEngine.php index 3c9d0b0d6b..2433484d69 100644 --- a/src/applications/pholio/query/PholioMockSearchEngine.php +++ b/src/applications/pholio/query/PholioMockSearchEngine.php @@ -137,7 +137,7 @@ final class PholioMockSearchEngine extends PhabricatorApplicationSearchEngine { ->setHref('/pholio/create/') ->setColor(PHUIButtonView::GREEN); - $icon = $this->getApplication()->getFontIcon(); + $icon = $this->getApplication()->getIcon(); $app_name = $this->getApplication()->getName(); $view = id(new PHUIBigInfoView()) ->setIcon($icon) diff --git a/src/applications/phortune/application/PhabricatorPhortuneApplication.php b/src/applications/phortune/application/PhabricatorPhortuneApplication.php index cf7bc00b9a..470ceb10ab 100644 --- a/src/applications/phortune/application/PhabricatorPhortuneApplication.php +++ b/src/applications/phortune/application/PhabricatorPhortuneApplication.php @@ -14,7 +14,7 @@ final class PhabricatorPhortuneApplication extends PhabricatorApplication { return pht('Accounts and Billing'); } - public function getFontIcon() { + public function getIcon() { return 'fa-diamond'; } diff --git a/src/applications/phpast/application/PhabricatorPHPASTApplication.php b/src/applications/phpast/application/PhabricatorPHPASTApplication.php index 3118ed68c9..c61a6bf115 100644 --- a/src/applications/phpast/application/PhabricatorPHPASTApplication.php +++ b/src/applications/phpast/application/PhabricatorPHPASTApplication.php @@ -10,7 +10,7 @@ final class PhabricatorPHPASTApplication extends PhabricatorApplication { return '/xhpast/'; } - public function getFontIcon() { + public function getIcon() { return 'fa-ambulance'; } diff --git a/src/applications/phragment/application/PhabricatorPhragmentApplication.php b/src/applications/phragment/application/PhabricatorPhragmentApplication.php index 9463835811..c5959f715f 100644 --- a/src/applications/phragment/application/PhabricatorPhragmentApplication.php +++ b/src/applications/phragment/application/PhabricatorPhragmentApplication.php @@ -14,7 +14,7 @@ final class PhabricatorPhragmentApplication extends PhabricatorApplication { return pht('Versioned Artifact Storage'); } - public function getFontIcon() { + public function getIcon() { return 'fa-floppy-o'; } diff --git a/src/applications/phrequent/application/PhabricatorPhrequentApplication.php b/src/applications/phrequent/application/PhabricatorPhrequentApplication.php index bded663ed9..023827c644 100644 --- a/src/applications/phrequent/application/PhabricatorPhrequentApplication.php +++ b/src/applications/phrequent/application/PhabricatorPhrequentApplication.php @@ -18,7 +18,7 @@ final class PhabricatorPhrequentApplication extends PhabricatorApplication { return true; } - public function getFontIcon() { + public function getIcon() { return 'fa-clock-o'; } diff --git a/src/applications/phrequent/config/PhabricatorPhrequentConfigOptions.php b/src/applications/phrequent/config/PhabricatorPhrequentConfigOptions.php index a6113155a9..e1ba0adb54 100644 --- a/src/applications/phrequent/config/PhabricatorPhrequentConfigOptions.php +++ b/src/applications/phrequent/config/PhabricatorPhrequentConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorPhrequentConfigOptions return pht('Configure Phrequent.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-clock-o'; } diff --git a/src/applications/phriction/application/PhabricatorPhrictionApplication.php b/src/applications/phriction/application/PhabricatorPhrictionApplication.php index 19967c2e70..7721749c36 100644 --- a/src/applications/phriction/application/PhabricatorPhrictionApplication.php +++ b/src/applications/phriction/application/PhabricatorPhrictionApplication.php @@ -14,7 +14,7 @@ final class PhabricatorPhrictionApplication extends PhabricatorApplication { return '/w/'; } - public function getFontIcon() { + public function getIcon() { return 'fa-book'; } diff --git a/src/applications/phriction/config/PhabricatorPhrictionConfigOptions.php b/src/applications/phriction/config/PhabricatorPhrictionConfigOptions.php index 7e6080dd7c..9fada90d3a 100644 --- a/src/applications/phriction/config/PhabricatorPhrictionConfigOptions.php +++ b/src/applications/phriction/config/PhabricatorPhrictionConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorPhrictionConfigOptions return pht('Options related to Phriction (wiki).'); } - public function getFontIcon() { + public function getIcon() { return 'fa-book'; } diff --git a/src/applications/phurl/application/PhabricatorPhurlApplication.php b/src/applications/phurl/application/PhabricatorPhurlApplication.php index 83952f6817..763a85173c 100644 --- a/src/applications/phurl/application/PhabricatorPhurlApplication.php +++ b/src/applications/phurl/application/PhabricatorPhurlApplication.php @@ -18,7 +18,7 @@ final class PhabricatorPhurlApplication extends PhabricatorApplication { return '/phurl/'; } - public function getFontIcon() { + public function getIcon() { return 'fa-compress'; } diff --git a/src/applications/phurl/query/PhabricatorPhurlURLSearchEngine.php b/src/applications/phurl/query/PhabricatorPhurlURLSearchEngine.php index ed8a336c3a..c652cfffdf 100644 --- a/src/applications/phurl/query/PhabricatorPhurlURLSearchEngine.php +++ b/src/applications/phurl/query/PhabricatorPhurlURLSearchEngine.php @@ -99,7 +99,7 @@ final class PhabricatorPhurlURLSearchEngine ->setHref('/phurl/url/create/') ->setColor(PHUIButtonView::GREEN); - $icon = $this->getApplication()->getFontIcon(); + $icon = $this->getApplication()->getIcon(); $app_name = $this->getApplication()->getName(); $view = id(new PHUIBigInfoView()) ->setIcon($icon) diff --git a/src/applications/policy/config/PhabricatorPolicyConfigOptions.php b/src/applications/policy/config/PhabricatorPolicyConfigOptions.php index 1c3698c4cd..eacc32cebe 100644 --- a/src/applications/policy/config/PhabricatorPolicyConfigOptions.php +++ b/src/applications/policy/config/PhabricatorPolicyConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorPolicyConfigOptions return pht('Options relating to object visibility.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-lock'; } diff --git a/src/applications/ponder/application/PhabricatorPonderApplication.php b/src/applications/ponder/application/PhabricatorPonderApplication.php index 886fddcc05..94a06edffa 100644 --- a/src/applications/ponder/application/PhabricatorPonderApplication.php +++ b/src/applications/ponder/application/PhabricatorPonderApplication.php @@ -14,7 +14,7 @@ final class PhabricatorPonderApplication extends PhabricatorApplication { return pht('Questions and Answers'); } - public function getFontIcon() { + public function getIcon() { return 'fa-university'; } diff --git a/src/applications/ponder/query/PonderQuestionSearchEngine.php b/src/applications/ponder/query/PonderQuestionSearchEngine.php index 7e08a3fdf4..4cba28b93b 100644 --- a/src/applications/ponder/query/PonderQuestionSearchEngine.php +++ b/src/applications/ponder/query/PonderQuestionSearchEngine.php @@ -187,7 +187,7 @@ final class PonderQuestionSearchEngine ->setHref('/ponder/question/create/') ->setColor(PHUIButtonView::GREEN); - $icon = $this->getApplication()->getFontIcon(); + $icon = $this->getApplication()->getIcon(); $app_name = $this->getApplication()->getName(); $view = id(new PHUIBigInfoView()) ->setIcon($icon) diff --git a/src/applications/project/application/PhabricatorProjectApplication.php b/src/applications/project/application/PhabricatorProjectApplication.php index fc30363f5b..59904cb06b 100644 --- a/src/applications/project/application/PhabricatorProjectApplication.php +++ b/src/applications/project/application/PhabricatorProjectApplication.php @@ -18,7 +18,7 @@ final class PhabricatorProjectApplication extends PhabricatorApplication { return '/project/'; } - public function getFontIcon() { + public function getIcon() { return 'fa-briefcase'; } diff --git a/src/applications/project/config/PhabricatorProjectConfigOptions.php b/src/applications/project/config/PhabricatorProjectConfigOptions.php index 73c013c887..84c24c39e8 100644 --- a/src/applications/project/config/PhabricatorProjectConfigOptions.php +++ b/src/applications/project/config/PhabricatorProjectConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorProjectConfigOptions return pht('Configure Projects.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-briefcase'; } diff --git a/src/applications/project/query/PhabricatorProjectSearchEngine.php b/src/applications/project/query/PhabricatorProjectSearchEngine.php index 4a29034ba6..ea91dc9754 100644 --- a/src/applications/project/query/PhabricatorProjectSearchEngine.php +++ b/src/applications/project/query/PhabricatorProjectSearchEngine.php @@ -185,7 +185,7 @@ final class PhabricatorProjectSearchEngine ->setHref('/project/edit/') ->setColor(PHUIButtonView::GREEN); - $icon = $this->getApplication()->getFontIcon(); + $icon = $this->getApplication()->getIcon(); $app_name = $this->getApplication()->getName(); $view = id(new PHUIBigInfoView()) ->setIcon($icon) diff --git a/src/applications/releeph/application/PhabricatorReleephApplication.php b/src/applications/releeph/application/PhabricatorReleephApplication.php index ba19ae4321..ab5a12dc80 100644 --- a/src/applications/releeph/application/PhabricatorReleephApplication.php +++ b/src/applications/releeph/application/PhabricatorReleephApplication.php @@ -14,7 +14,7 @@ final class PhabricatorReleephApplication extends PhabricatorApplication { return '/releeph/'; } - public function getFontIcon() { + public function getIcon() { return 'fa-flag-checkered'; } diff --git a/src/applications/releeph/config/PhabricatorReleephApplicationConfigOptions.php b/src/applications/releeph/config/PhabricatorReleephApplicationConfigOptions.php index 86f78a48fe..08dace52a7 100644 --- a/src/applications/releeph/config/PhabricatorReleephApplicationConfigOptions.php +++ b/src/applications/releeph/config/PhabricatorReleephApplicationConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorReleephApplicationConfigOptions return pht('Options for configuring Releeph, the release branch tool.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-flag-checkered'; } diff --git a/src/applications/repository/config/PhabricatorRepositoryConfigOptions.php b/src/applications/repository/config/PhabricatorRepositoryConfigOptions.php index fa8e38e063..26e0e9d5d1 100644 --- a/src/applications/repository/config/PhabricatorRepositoryConfigOptions.php +++ b/src/applications/repository/config/PhabricatorRepositoryConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorRepositoryConfigOptions return pht('Configure repositories.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-hdd-o'; } diff --git a/src/applications/repository/query/PhabricatorRepositorySearchEngine.php b/src/applications/repository/query/PhabricatorRepositorySearchEngine.php index 83ec6c92e2..059ae9a76d 100644 --- a/src/applications/repository/query/PhabricatorRepositorySearchEngine.php +++ b/src/applications/repository/query/PhabricatorRepositorySearchEngine.php @@ -254,7 +254,7 @@ final class PhabricatorRepositorySearchEngine ->setHref('/diffusion/create/') ->setColor(PHUIButtonView::GREEN); - $icon = $this->getApplication()->getFontIcon(); + $icon = $this->getApplication()->getIcon(); $app_name = $this->getApplication()->getName(); $view = id(new PHUIBigInfoView()) ->setIcon($icon) diff --git a/src/applications/search/application/PhabricatorSearchApplication.php b/src/applications/search/application/PhabricatorSearchApplication.php index 5b09e21a9e..bd3f78359e 100644 --- a/src/applications/search/application/PhabricatorSearchApplication.php +++ b/src/applications/search/application/PhabricatorSearchApplication.php @@ -18,7 +18,7 @@ final class PhabricatorSearchApplication extends PhabricatorApplication { return pht('Find stuff in big piles.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-search'; } diff --git a/src/applications/search/config/PhabricatorSearchConfigOptions.php b/src/applications/search/config/PhabricatorSearchConfigOptions.php index 453821bc49..2f2cc4f902 100644 --- a/src/applications/search/config/PhabricatorSearchConfigOptions.php +++ b/src/applications/search/config/PhabricatorSearchConfigOptions.php @@ -11,7 +11,7 @@ final class PhabricatorSearchConfigOptions return pht('Options relating to Search.'); } - public function getFontIcon() { + public function getIcon() { return 'fa-search'; } diff --git a/src/applications/settings/application/PhabricatorSettingsApplication.php b/src/applications/settings/application/PhabricatorSettingsApplication.php index 2608cabd88..d0d6494c12 100644 --- a/src/applications/settings/application/PhabricatorSettingsApplication.php +++ b/src/applications/settings/application/PhabricatorSettingsApplication.php @@ -14,7 +14,7 @@ final class PhabricatorSettingsApplication extends PhabricatorApplication { return pht('User Preferences'); } - public function getFontIcon() { + public function getIcon() { return 'fa-wrench'; } diff --git a/src/applications/settings/panel/PhabricatorHomePreferencesSettingsPanel.php b/src/applications/settings/panel/PhabricatorHomePreferencesSettingsPanel.php index eabbc3ff32..06b17fecca 100644 --- a/src/applications/settings/panel/PhabricatorHomePreferencesSettingsPanel.php +++ b/src/applications/settings/panel/PhabricatorHomePreferencesSettingsPanel.php @@ -140,7 +140,7 @@ final class PhabricatorHomePreferencesSettingsPanel continue; } - $icon = $application->getFontIcon(); + $icon = $application->getIcon(); if (!$icon) { $icon = 'application'; } diff --git a/src/applications/slowvote/application/PhabricatorSlowvoteApplication.php b/src/applications/slowvote/application/PhabricatorSlowvoteApplication.php index e7ea30dfed..1e4bd78419 100644 --- a/src/applications/slowvote/application/PhabricatorSlowvoteApplication.php +++ b/src/applications/slowvote/application/PhabricatorSlowvoteApplication.php @@ -6,7 +6,7 @@ final class PhabricatorSlowvoteApplication extends PhabricatorApplication { return '/vote/'; } - public function getFontIcon() { + public function getIcon() { return 'fa-bar-chart'; } diff --git a/src/applications/slowvote/query/PhabricatorSlowvoteSearchEngine.php b/src/applications/slowvote/query/PhabricatorSlowvoteSearchEngine.php index d38683ee06..fee52a908c 100644 --- a/src/applications/slowvote/query/PhabricatorSlowvoteSearchEngine.php +++ b/src/applications/slowvote/query/PhabricatorSlowvoteSearchEngine.php @@ -170,7 +170,7 @@ final class PhabricatorSlowvoteSearchEngine ->setHref('/vote/create/') ->setColor(PHUIButtonView::GREEN); - $icon = $this->getApplication()->getFontIcon(); + $icon = $this->getApplication()->getIcon(); $app_name = $this->getApplication()->getName(); $view = id(new PHUIBigInfoView()) ->setIcon($icon) diff --git a/src/applications/spaces/application/PhabricatorSpacesApplication.php b/src/applications/spaces/application/PhabricatorSpacesApplication.php index 66371f1bc2..d542551ae4 100644 --- a/src/applications/spaces/application/PhabricatorSpacesApplication.php +++ b/src/applications/spaces/application/PhabricatorSpacesApplication.php @@ -14,7 +14,7 @@ final class PhabricatorSpacesApplication extends PhabricatorApplication { return pht('Policy Namespaces'); } - public function getFontIcon() { + public function getIcon() { return 'fa-th-large'; } diff --git a/src/applications/spaces/query/PhabricatorSpacesNamespaceSearchEngine.php b/src/applications/spaces/query/PhabricatorSpacesNamespaceSearchEngine.php index 4b469cca1b..3880143a24 100644 --- a/src/applications/spaces/query/PhabricatorSpacesNamespaceSearchEngine.php +++ b/src/applications/spaces/query/PhabricatorSpacesNamespaceSearchEngine.php @@ -105,7 +105,7 @@ final class PhabricatorSpacesNamespaceSearchEngine ->setHref('/spaces/create/') ->setColor(PHUIButtonView::GREEN); - $icon = $this->getApplication()->getFontIcon(); + $icon = $this->getApplication()->getIcon(); $app_name = $this->getApplication()->getName(); $view = id(new PHUIBigInfoView()) ->setIcon($icon) diff --git a/src/applications/tokens/application/PhabricatorTokensApplication.php b/src/applications/tokens/application/PhabricatorTokensApplication.php index 76046e82de..0ef130a282 100644 --- a/src/applications/tokens/application/PhabricatorTokensApplication.php +++ b/src/applications/tokens/application/PhabricatorTokensApplication.php @@ -10,7 +10,7 @@ final class PhabricatorTokensApplication extends PhabricatorApplication { return '/token/'; } - public function getFontIcon() { + public function getIcon() { return 'fa-thumbs-up'; } diff --git a/src/applications/transactions/editengine/PhabricatorEditEngine.php b/src/applications/transactions/editengine/PhabricatorEditEngine.php index 9efc3c4100..f8dc0ee175 100644 --- a/src/applications/transactions/editengine/PhabricatorEditEngine.php +++ b/src/applications/transactions/editengine/PhabricatorEditEngine.php @@ -1773,7 +1773,7 @@ abstract class PhabricatorEditEngine public function getIcon() { $application = $this->getApplication(); - return $application->getFontIcon(); + return $application->getIcon(); } public function loadQuickCreateItems() { diff --git a/src/applications/transactions/feed/PhabricatorApplicationTransactionFeedStory.php b/src/applications/transactions/feed/PhabricatorApplicationTransactionFeedStory.php index 3a840d73a1..5e9d7c40b3 100644 --- a/src/applications/transactions/feed/PhabricatorApplicationTransactionFeedStory.php +++ b/src/applications/transactions/feed/PhabricatorApplicationTransactionFeedStory.php @@ -77,7 +77,7 @@ class PhabricatorApplicationTransactionFeedStory $class = $phid_type->getPHIDTypeApplicationClass(); if ($class) { $application = PhabricatorApplication::getByClass($class); - $icon = $application->getFontIcon(); + $icon = $application->getIcon(); } } diff --git a/src/applications/transactions/query/PhabricatorEditEngineSearchEngine.php b/src/applications/transactions/query/PhabricatorEditEngineSearchEngine.php index 4ba4ed9b12..70cd4cd1a3 100644 --- a/src/applications/transactions/query/PhabricatorEditEngineSearchEngine.php +++ b/src/applications/transactions/query/PhabricatorEditEngineSearchEngine.php @@ -70,7 +70,7 @@ final class PhabricatorEditEngineSearchEngine $query_uri = "/transactions/editengine/{$engine_key}/"; $application = $engine->getApplication(); - $app_icon = $application->getFontIcon(); + $app_icon = $application->getIcon(); $item = id(new PHUIObjectItemView()) ->setHeader($engine->getSummaryHeader()) diff --git a/src/applications/uiexample/application/PhabricatorUIExamplesApplication.php b/src/applications/uiexample/application/PhabricatorUIExamplesApplication.php index 3b3d38ef14..350417ecc6 100644 --- a/src/applications/uiexample/application/PhabricatorUIExamplesApplication.php +++ b/src/applications/uiexample/application/PhabricatorUIExamplesApplication.php @@ -14,7 +14,7 @@ final class PhabricatorUIExamplesApplication extends PhabricatorApplication { return pht('UIExamples'); } - public function getFontIcon() { + public function getIcon() { return 'fa-magnet'; } diff --git a/src/applications/uiexample/examples/PHUIActionPanelExample.php b/src/applications/uiexample/examples/PHUIActionPanelExample.php index c57617a566..9294dcbea6 100644 --- a/src/applications/uiexample/examples/PHUIActionPanelExample.php +++ b/src/applications/uiexample/examples/PHUIActionPanelExample.php @@ -17,7 +17,7 @@ final class PHUIActionPanelExample extends PhabricatorUIExample { /* Action Panels */ $panel1 = id(new PHUIActionPanelView()) - ->setFontIcon('fa-book') + ->setIcon('fa-book') ->setHeader(pht('Read Documentation')) ->setHref('#') ->setSubHeader(pht('Reading is a common way to learn about things.')) @@ -25,7 +25,7 @@ final class PHUIActionPanelExample extends PhabricatorUIExample { $view->addColumn($panel1); $panel2 = id(new PHUIActionPanelView()) - ->setFontIcon('fa-server') + ->setIcon('fa-server') ->setHeader(pht('Launch Instance')) ->setHref('#') ->setSubHeader(pht("Maybe this is what you're likely here for.")) @@ -33,7 +33,7 @@ final class PHUIActionPanelExample extends PhabricatorUIExample { $view->addColumn($panel2); $panel3 = id(new PHUIActionPanelView()) - ->setFontIcon('fa-group') + ->setIcon('fa-group') ->setHeader(pht('Code with Friends')) ->setHref('#') ->setSubHeader(pht('Writing code is much more fun with friends!')) @@ -41,7 +41,7 @@ final class PHUIActionPanelExample extends PhabricatorUIExample { $view->addColumn($panel3); $panel4 = id(new PHUIActionPanelView()) - ->setFontIcon('fa-cloud-download') + ->setIcon('fa-cloud-download') ->setHeader(pht('Download Data')) ->setHref('#') ->setSubHeader(pht('Need a backup of all your kitten memes?')) @@ -53,7 +53,7 @@ final class PHUIActionPanelExample extends PhabricatorUIExample { /* Action Panels */ $panel1 = id(new PHUIActionPanelView()) - ->setFontIcon('fa-credit-card') + ->setIcon('fa-credit-card') ->setHeader(pht('Account Balance')) ->setHref('#') ->setSubHeader(pht('You were last billed $2,245.12 on Dec 12, 2014.')) diff --git a/src/applications/uiexample/examples/PHUIIconExample.php b/src/applications/uiexample/examples/PHUIIconExample.php index ad31caba8d..1db4aa202f 100644 --- a/src/applications/uiexample/examples/PHUIIconExample.php +++ b/src/applications/uiexample/examples/PHUIIconExample.php @@ -23,9 +23,9 @@ final class PHUIIconExample extends PhabricatorUIExample { public function renderExample() { - $colors = PHUIIconView::getFontIconColors(); + $colors = PHUIIconView::getIconColors(); $colors = array_merge(array(null), $colors); - $fas = PHUIIconView::getFontIcons(); + $fas = PHUIIconView::getIcons(); $trans = $this->listTransforms(); diff --git a/src/applications/xhprof/application/PhabricatorXHProfApplication.php b/src/applications/xhprof/application/PhabricatorXHProfApplication.php index ad480a821a..999e0378a5 100644 --- a/src/applications/xhprof/application/PhabricatorXHProfApplication.php +++ b/src/applications/xhprof/application/PhabricatorXHProfApplication.php @@ -14,7 +14,7 @@ final class PhabricatorXHProfApplication extends PhabricatorApplication { return pht('PHP Profiling Tool'); } - public function getFontIcon() { + public function getIcon() { return 'fa-stethoscope'; } diff --git a/src/infrastructure/markup/rule/PhabricatorNavigationRemarkupRule.php b/src/infrastructure/markup/rule/PhabricatorNavigationRemarkupRule.php index 857a0c10bd..458ee5b834 100644 --- a/src/infrastructure/markup/rule/PhabricatorNavigationRemarkupRule.php +++ b/src/infrastructure/markup/rule/PhabricatorNavigationRemarkupRule.php @@ -46,7 +46,7 @@ final class PhabricatorNavigationRemarkupRule extends PhutilRemarkupRule { static $icon_names; if (!$icon_names) { - $icon_names = array_fuse(PHUIIconView::getFontIcons()); + $icon_names = array_fuse(PHUIIconView::getIcons()); } $out = array(); diff --git a/src/view/page/PhabricatorStandardPageView.php b/src/view/page/PhabricatorStandardPageView.php index b26ce6297b..e85abb2140 100644 --- a/src/view/page/PhabricatorStandardPageView.php +++ b/src/view/page/PhabricatorStandardPageView.php @@ -747,7 +747,7 @@ final class PhabricatorStandardPageView extends PhabricatorBarePageView if ($application) { $application_class = get_class($application); if ($application->getApplicationSearchDocumentTypes()) { - $application_search_icon = $application->getFontIcon(); + $application_search_icon = $application->getIcon(); } } } diff --git a/src/view/page/menu/PhabricatorMainMenuSearchView.php b/src/view/page/menu/PhabricatorMainMenuSearchView.php index 1af42511a8..a5c5653cc3 100644 --- a/src/view/page/menu/PhabricatorMainMenuSearchView.php +++ b/src/view/page/menu/PhabricatorMainMenuSearchView.php @@ -128,7 +128,7 @@ final class PhabricatorMainMenuSearchView extends AphrontView { if ($application) { $application_value = get_class($application); if ($application->getApplicationSearchDocumentTypes()) { - $application_icon = $application->getFontIcon(); + $application_icon = $application->getIcon(); } } diff --git a/src/view/phui/PHUIActionPanelView.php b/src/view/phui/PHUIActionPanelView.php index a81b2e5dcf..f5f74b2807 100644 --- a/src/view/phui/PHUIActionPanelView.php +++ b/src/view/phui/PHUIActionPanelView.php @@ -24,7 +24,7 @@ final class PHUIActionPanelView extends AphrontTagView { return $this; } - public function setFontIcon($image) { + public function setIcon($image) { $this->fontIcon = $image; return $this; } diff --git a/src/view/phui/PHUIIconView.php b/src/view/phui/PHUIIconView.php index 02e06be9e9..adfd33187d 100644 --- a/src/view/phui/PHUIIconView.php +++ b/src/view/phui/PHUIIconView.php @@ -105,7 +105,7 @@ final class PHUIIconView extends AphrontTagView { return idx(phutil_json_decode($data), 'sprites'); } - public static function getFontIcons() { + public static function getIcons() { return array( 'fa-glass', 'fa-music', @@ -747,7 +747,7 @@ final class PHUIIconView extends AphrontTagView { ); } - public static function getFontIconColors() { + public static function getIconColors() { return array( 'bluegrey', 'white', diff --git a/src/view/phui/PHUIObjectItemView.php b/src/view/phui/PHUIObjectItemView.php index bc48351c96..b3c4368c22 100644 --- a/src/view/phui/PHUIObjectItemView.php +++ b/src/view/phui/PHUIObjectItemView.php @@ -169,11 +169,11 @@ final class PHUIObjectItemView extends AphrontTagView { $fi = 'fa-refresh ph-spin sky'; break; } - $this->setFontIcon($fi); + $this->setIcon($fi); return $this; } - public function setFontIcon($icon) { + public function setIcon($icon) { $this->fontIcon = id(new PHUIIconView()) ->setIcon($icon); return $this;