Mercurial > hg > release > thermostat-0.7
changeset 52:58e1fc8005b8
remove motivational quote from summary panel
author | Omair Majid <omajid@redhat.com> |
---|---|
date | Tue, 24 Jan 2012 17:38:27 -0500 |
parents | ed4a3f66df3a |
children | fceb773a3938 |
files | src/com/redhat/thermostat/client/strings.properties src/com/redhat/thermostat/client/ui/IconResource.java src/com/redhat/thermostat/client/ui/SummaryPanel.java |
diffstat | 3 files changed, 0 insertions(+), 20 deletions(-) [+] |
line wrap: on
line diff
--- a/src/com/redhat/thermostat/client/strings.properties Tue Jan 24 17:31:31 2012 -0500 +++ b/src/com/redhat/thermostat/client/strings.properties Tue Jan 24 17:38:27 2012 -0500 @@ -7,14 +7,6 @@ MAIN_WINDOW_TREE_ROOT_NAME = Thermostat -WELCOME_MESSAGE = Welcome to thermostat!<br>\ - Thermostat is awesome++<br>\ - if you love it, contribute code!<br>\ - THAT IS ALL.<br><br>\ - A subtle thought that is in error may yet give rise to fruitful inquiry<br>\ - that can establish truths of great value<br>\ - -- Isaac Asimov<br> - BUTTON_CLOSE = Close BUTTON_NEXT = Next BUTTON_CANCEL = Cancel
--- a/src/com/redhat/thermostat/client/ui/IconResource.java Tue Jan 24 17:31:31 2012 -0500 +++ b/src/com/redhat/thermostat/client/ui/IconResource.java Tue Jan 24 17:38:27 2012 -0500 @@ -60,8 +60,6 @@ public static final IconResource SEARCH = new IconResource(ICON_PREFIX + "16x16/actions/search.png"); - public static final IconResource USER_HOME = new IconResource(ICON_PREFIX + "256x256/places/user-home.png"); - private final String path; private IconResource(String descriptor) {
--- a/src/com/redhat/thermostat/client/ui/SummaryPanel.java Tue Jan 24 17:31:31 2012 -0500 +++ b/src/com/redhat/thermostat/client/ui/SummaryPanel.java Tue Jan 24 17:38:27 2012 -0500 @@ -64,16 +64,6 @@ setLayout(new BorderLayout()); - JPanel intro = new JPanel(); - intro.setLayout(new BorderLayout()); - JLabel homeIcon = new JLabel(IconResource.USER_HOME.getIcon()); - intro.add(homeIcon, BorderLayout.LINE_START); - - JLabel welcomeMessageLabel = new JLabel(new HtmlTextBuilder(_("WELCOME_MESSAGE")).toHtml()); - intro.add(welcomeMessageLabel, BorderLayout.CENTER); - - add(intro, BorderLayout.PAGE_START); - List<Section> sections = new ArrayList<Section>(); TableEntry entry;