diff --git a/data/io.elementary.calendar.gresource.xml b/data/io.elementary.calendar.gresource.xml index 38869347c..9192eea5c 100644 --- a/data/io.elementary.calendar.gresource.xml +++ b/data/io.elementary.calendar.gresource.xml @@ -14,7 +14,6 @@ calendar-go-today.svg LocationMarker.svg style/AgendaEventRow.css - style/Application.css style/Grid.css style/Header.css style/WeekLabels.css diff --git a/data/style/Application.css b/data/style/Application.css deleted file mode 100644 index d05d2e1ab..000000000 --- a/data/style/Application.css +++ /dev/null @@ -1,2 +0,0 @@ -@define-color accent_color @LIME_500; - diff --git a/src/Application.vala b/src/Application.vala index 7ac6ffab8..06fdc3db9 100644 --- a/src/Application.vala +++ b/src/Application.vala @@ -58,10 +58,6 @@ namespace Maya { GLib.Intl.bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); GLib.Intl.bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); GLib.Intl.textdomain (GETTEXT_PACKAGE); - - var provider = new Gtk.CssProvider (); - provider.load_from_resource ("/io/elementary/calendar/Application.css"); - Gtk.StyleContext.add_provider_for_screen (Gdk.Screen.get_default (), provider, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION); } protected override void activate () { diff --git a/src/Grid/CalendarView.vala b/src/Grid/CalendarView.vala index 6c6d28622..150b0239a 100644 --- a/src/Grid/CalendarView.vala +++ b/src/Grid/CalendarView.vala @@ -221,9 +221,9 @@ public class Maya.View.CalendarView : Gtk.Grid { if (previous_first != null) { if (previous_first.compare (days_grid.grid_range.first_dt) == -1) { - stack.transition_type = Gtk.StackTransitionType.SLIDE_UP; + stack.transition_type = Gtk.StackTransitionType.SLIDE_LEFT; } else { - stack.transition_type = Gtk.StackTransitionType.SLIDE_DOWN; + stack.transition_type = Gtk.StackTransitionType.SLIDE_RIGHT; } }