Skip to content

Commit

Permalink
Styles: Remove Extra.css (#227)
Browse files Browse the repository at this point in the history
The classes defined in this file renamed to title-* in the following commit:

elementary/granite@15bd5eb

And since these classes seem to be defined in stylesheets in other distributions like Ubuntu, this file is now meaningless.
  • Loading branch information
ryonakano authored Jan 1, 2024
1 parent 2ce03cd commit ff0491b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 21 deletions.
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

0 comments on commit ff0491b

Please sign in to comment.