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

Styles: Remove Extra.css #227

Merged
merged 1 commit into from
Jan 1, 2024
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
11 changes: 0 additions & 11 deletions data/Extra.css

This file was deleted.

1 change: 0 additions & 1 deletion data/reco.gresource.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<gresources>
<gresource prefix="/com/github/ryonakano/reco">
<file alias="Application.css">Application.css</file>
<file alias="Extra.css">Extra.css</file>
<file compressed="true" preprocess="xml-stripblanks" alias="record-completed-symbolic.svg">icons/record-completed-symbolic.svg</file>
</gresource>
</gresources>
9 changes: 0 additions & 9 deletions src/Application.vala
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,6 @@ public class Application : Gtk.Application {
cssprovider,
Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);

if (!Application.IS_ON_PANTHEON) {
var extra_cssprovider = new Gtk.CssProvider ();
extra_cssprovider.load_from_resource ("/com/github/ryonakano/reco/Extra.css");
// TODO: Deprecated in Gtk 4.10, buit no alternative api is provided so leave it for now
Gtk.StyleContext.add_provider_for_display (display,
extra_cssprovider,
Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);
}

// Load GResource for our custom icons
var icon_theme = Gtk.IconTheme.get_for_display (display);
icon_theme.add_resource_path ("/com/github/ryonakano/reco");
Expand Down