Skip to content

Commit

Permalink
Add an icon.
Browse files Browse the repository at this point in the history
  • Loading branch information
dcaliste committed Aug 28, 2015
1 parent e725279 commit 49953a9
Show file tree
Hide file tree
Showing 5 changed files with 203 additions and 3 deletions.
Binary file added about-score-board.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added harbour-score-board.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 6 additions & 3 deletions qml/About.qml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ import QtQuick 2.0
import Sailfish.Silica 1.0

Page {
id: page

PageHeader {
title: "About"
}
Expand All @@ -29,10 +31,11 @@ Page {

spacing: Theme.paddingLarge

/*Image {
source: Qt.resolvedUrl("../about-freebox-o-fish.png")
Image {
visible: page.orientation === Orientation.Portrait || page.orientation === Orientation.PortraitInverted
source: Qt.resolvedUrl("../about-score-board.png")
anchors.horizontalCenter: parent.horizontalCenter
}*/
}
Label {
anchors.horizontalCenter: parent.horizontalCenter
text: "Score board"
Expand Down
5 changes: 5 additions & 0 deletions rpm/score-board.spec
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,17 @@ install -m 644 -p qml/TeamModel.qml %{buildroot}%{_datadir}/%{name}/qml
install -m 644 -p qml/Score.qml %{buildroot}%{_datadir}/%{name}/qml
install -m 644 -p qml/BoardSetup.qml %{buildroot}%{_datadir}/%{name}/qml
install -m 644 -p qml/sqlite_backend.js %{buildroot}%{_datadir}/%{name}/qml
install -d %{buildroot}%{_datadir}/%{name}
install -m 644 -p about-score-board.png %{buildroot}%{_datadir}/%{name}
install -d %{buildroot}%{_datadir}/icons/hicolor/86x86/apps/
install -m 644 -p harbour-score-board.png %{buildroot}%{_datadir}/icons/hicolor/86x86/apps/
install -d %{buildroot}%{_datadir}/applications
install -m 644 -p harbour-score-board.desktop %{buildroot}%{_datadir}/applications

%files
%defattr(-,root,root,-)
%{_datadir}/applications
%{_datadir}/icons
%{_datadir}/%{name}

%changelog
Expand Down
Loading

0 comments on commit 49953a9

Please sign in to comment.