Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated name as requested for AppCenter #3

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div align="center">
<span align="center"> <img width="80" height="80" class="center" src="data/icons/com.github.manexim.news.svg" alt="Icon"></span>
<h1 align="center">News</h1>
<h1 align="center">News Feed</h1>
<h3 align="center">The best news sources, all in one place</h3>
<p align="center">Designed for <a href="https://elementary.io">elementary OS</a></p>
</div>
Expand Down Expand Up @@ -57,7 +57,7 @@ sudo ninja uninstall

## Contributing

If you want to contribute to News and make it better, your help is very welcome.
If you want to contribute to News Feed and make it better, your help is very welcome.

### How to make a clean pull request

Expand Down
2 changes: 1 addition & 1 deletion data/com.github.manexim.news.appdata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<id>com.github.manexim.news</id>
<metadata_license>CC0</metadata_license>
<project_license>GPL-3.0+</project_license>
<name>News</name>
<name>News Feed</name>
<summary>The best news sources, all in one place</summary>
<description>
<p>The best news sources, all in one place</p>
Expand Down
4 changes: 2 additions & 2 deletions data/com.github.manexim.news.desktop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Desktop Entry]
Type=Application
Name=News
GenericName=News
Name=News Feed
GenericName=News Feed
Comment=The best news sources, all in one place
Exec=com.github.manexim.news
Icon=com.github.manexim.news
Expand Down
2 changes: 1 addition & 1 deletion src/Config/Constants.vala
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
namespace Config {
public const string APP_ID = "com.github.manexim.news";
public const string APP_AUTHOR = "Manexim";
public const string APP_NAME = "News";
public const string APP_NAME = "News Feed";
public const string APP_VERSION = "0.1.1";
public const string APP_STYLES = "com/github/manexim/news/styles/application.css";
}
8 changes: 4 additions & 4 deletions src/MainWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,16 @@ public class MainWindow : Gtk.ApplicationWindow {
headerbar.pack_start (return_button);

set_titlebar (headerbar);
title = "News";
title = Config.APP_ID;

stack = new Gtk.Stack ();
add (stack);

var feed = new Controllers.FeedController (
new Models.Feed ("https://blog.elementary.io/feed.xml")
);
stack.add_named (feed.view, "News");
history.add ("News");
stack.add_named (feed.view, Config.APP_ID);
history.add (Config.APP_ID);

delete_event.connect (() => {
save_settings ();
Expand Down Expand Up @@ -98,7 +98,7 @@ public class MainWindow : Gtk.ApplicationWindow {
return_button.no_show_all = true;
return_button.visible = false;

title = "News";
title = Config.APP_ID;
}
}

Expand Down