[gnome-calendar] Drop the now unused year view



commit 2fd20f72a8994c9151345db4610659c258aecc21
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Fri May 6 13:23:37 2022 +0200

    Drop the now unused year view
    
    We don't need this anymore.

 po/POTFILES.in                    |   2 -
 src/gcal-enums.h                  |   2 -
 src/gui/views/gcal-year-view.c    | 714 --------------------------------------
 src/gui/views/gcal-year-view.h    |  31 --
 src/gui/views/gcal-year-view.ui   |  68 ----
 src/gui/views/meson.build         |   1 -
 src/gui/views/views.gresource.xml |   1 -
 src/theme/Adwaita.css             |  51 ---
 8 files changed, 870 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index d4c460db..cf9e2e88 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -44,6 +44,4 @@ src/gui/views/gcal-week-grid.c
 src/gui/views/gcal-week-header.c
 src/gui/views/gcal-week-hour-bar.c
 src/gui/views/gcal-week-view.c
-src/gui/views/gcal-year-view.c
-src/gui/views/gcal-year-view.ui
 src/utils/gcal-utils.c
diff --git a/src/gcal-enums.h b/src/gcal-enums.h
index c745b670..87971ea2 100644
--- a/src/gcal-enums.h
+++ b/src/gcal-enums.h
@@ -35,7 +35,6 @@ typedef enum
  * GcalWindowViewType:
  * @GCAL_WINDOW_VIEW_WEEK: Week view
  * @GCAL_WINDOW_VIEW_MONTH: Month view
- * @GCAL_WINDOW_VIEW_YEAR: Year view
  *
  * Enum with the available views.
  */
@@ -43,7 +42,6 @@ typedef enum
 {
   GCAL_WINDOW_VIEW_WEEK,
   GCAL_WINDOW_VIEW_MONTH,
-  GCAL_WINDOW_VIEW_YEAR,
 } GcalWindowView;
 
 typedef enum
diff --git a/src/gui/views/meson.build b/src/gui/views/meson.build
index 2306458b..717adf4a 100644
--- a/src/gui/views/meson.build
+++ b/src/gui/views/meson.build
@@ -16,5 +16,4 @@ sources += files(
   'gcal-week-hour-bar.c',
   'gcal-week-view.c',
   'gcal-week-view-common.c',
-  'gcal-year-view.c',
 )
diff --git a/src/gui/views/views.gresource.xml b/src/gui/views/views.gresource.xml
index 4e6eddba..dea33d62 100644
--- a/src/gui/views/views.gresource.xml
+++ b/src/gui/views/views.gresource.xml
@@ -6,6 +6,5 @@
     <file compressed="true">gcal-month-view.ui</file>
     <file compressed="true">gcal-week-header.ui</file>
     <file compressed="true">gcal-week-view.ui</file>
-    <file compressed="true">gcal-year-view.ui</file>
   </gresource>
 </gresources>
diff --git a/src/theme/Adwaita.css b/src/theme/Adwaita.css
index 14acd710..18401020 100644
--- a/src/theme/Adwaita.css
+++ b/src/theme/Adwaita.css
@@ -36,57 +36,6 @@ calendar-view:selected {
     font-weight: bold;
 }
 
-/* Year View CSS */
-
-.year-navigator grid.month {
-  padding: 12px;
-}
-
-.year-navigator label.days {
-    padding: 5px;
-    color: @theme_fg_color;
-    font-size: 9pt;
-    min-width: 18px;
-    min-height: 18px;
-}
-
-.year-navigator label.non-workday {
-    color: alpha(@theme_fg_color, 0.5);
-}
-
-.year-navigator label.week-number {
-    font-size: 0.5rem;
-    border-radius: 50%;
-    background-color: alpha(@theme_fg_color, 0.05);
-    color: alpha(@theme_fg_color, 0.4);
-    min-width: 18px;
-    min-height: 18px;
-}
-
-.year-navigator .current label {
-    color: @accent_fg_color;
-    background-color: @accent_bg_color;
-    border-radius: 50%;
-    font-weight: bold;
-}
-
-.year-navigator dot {
-    transform: translateX(-1px) translateY(-3px);
-    background-color: @theme_fg_color;
-    border-radius: 3px;
-    min-width: 3px;
-    min-height: 3px;
-}
-
-.year-navigator .current dot {
-    background-color: @accent_fg_color;
-}
-
-
-.year-navigator .non-workday dot {
-    background-color: alpha(@theme_fg_color, 0.5);
-}
-
 popover.events {
     background-color: @theme_bg_color;
     padding: 0;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]