[gnome-software: 17/18] gs-history-dialog: Remove this widget




commit a0788996a1705155d0190b0c939873041a17d8d3
Author: Philip Withnall <pwithnall endlessos org>
Date:   Mon Jul 26 17:03:21 2021 +0100

    gs-history-dialog: Remove this widget
    
    Since removing the details grid from `GsDetailsPage`, it is no longer
    used. It was not fully implemented by backends (only the PackageKit
    backend ever calls `gs_app_add_history()`, and that’s in a trivial way)
    and hence was not useful.
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 po/POTFILES.in                   |   2 -
 src/gnome-software.gresource.xml |   1 -
 src/gs-details-page.c            |   1 -
 src/gs-history-dialog.c          | 211 ---------------------------------------
 src/gs-history-dialog.h          |  26 -----
 src/gs-history-dialog.ui         |  40 --------
 src/meson.build                  |   1 -
 7 files changed, 282 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 49bf95f56..68d98bc22 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -39,8 +39,6 @@ src/gs-featured-carousel.ui
 src/gs-first-run-dialog.ui
 src/gs-hardware-support-context-dialog.c
 src/gs-hardware-support-context-dialog.ui
-src/gs-history-dialog.c
-src/gs-history-dialog.ui
 src/gs-installed-page.c
 src/gs-installed-page.ui
 src/gs-license-tile.c
diff --git a/src/gnome-software.gresource.xml b/src/gnome-software.gresource.xml
index 8a090a3c3..1eb5ee561 100644
--- a/src/gnome-software.gresource.xml
+++ b/src/gnome-software.gresource.xml
@@ -17,7 +17,6 @@
   <file preprocess="xml-stripblanks">gs-featured-carousel.ui</file>
   <file preprocess="xml-stripblanks">gs-first-run-dialog.ui</file>
   <file preprocess="xml-stripblanks">gs-hardware-support-context-dialog.ui</file>
-  <file preprocess="xml-stripblanks">gs-history-dialog.ui</file>
   <file preprocess="xml-stripblanks">gs-info-bar.ui</file>
   <file preprocess="xml-stripblanks">gs-installed-page.ui</file>
   <file preprocess="xml-stripblanks">gs-license-tile.ui</file>
diff --git a/src/gs-details-page.c b/src/gs-details-page.c
index 0d1318955..39d4e4bef 100644
--- a/src/gs-details-page.c
+++ b/src/gs-details-page.c
@@ -23,7 +23,6 @@
 #include "gs-app-version-history-row.h"
 #include "gs-app-version-history-dialog.h"
 #include "gs-description-box.h"
-#include "gs-history-dialog.h"
 #include "gs-license-tile.h"
 #include "gs-origin-popover-row.h"
 #include "gs-screenshot-carousel.h"
diff --git a/src/meson.build b/src/meson.build
index 7fcfa14c1..a15cb41f2 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -46,7 +46,6 @@ gnome_software_sources = [
   'gs-fixed-size-bin.c',
   'gs-folders.c',
   'gs-hardware-support-context-dialog.c',
-  'gs-history-dialog.c',
   'gs-info-bar.c',
   'gs-installed-page.c',
   'gs-language.c',


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