[gnome-photos] Update to latest libgd and remove custom photos-entry-tag style class
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] Update to latest libgd and remove custom photos-entry-tag style class
- Date: Tue, 9 May 2017 11:06:18 +0000 (UTC)
commit bb4242b87d0bb4c36517764ca2dae157bf61d894
Author: Debarshi Ray <debarshir gnome org>
Date: Tue May 9 12:23:49 2017 +0200
Update to latest libgd and remove custom photos-entry-tag style class
We now use the new entry-tag CSS style class from Adwaita.
data/Adwaita.css | 33 ---------------------------------
libgd | 2 +-
src/photos-overview-searchbar.c | 5 -----
3 files changed, 1 insertions(+), 39 deletions(-)
---
diff --git a/data/Adwaita.css b/data/Adwaita.css
index 2c16205..835996a 100644
--- a/data/Adwaita.css
+++ b/data/Adwaita.css
@@ -1,8 +1,6 @@
@define-color theme_base_color #333333;
@define-color theme_bg_color #393f3f;
-@define-color entry_tag_bg #888a85;
-@define-color entry_tag_fg black;
@define-color photos_collection_bg #000000;
GdMainIconView.content-view {
@@ -24,37 +22,6 @@ GdMainIconView.content-view.cell:active {
font-weight: bold;
}
-.photos-entry-tag {
- background-image: none;
- background-color: @entry_tag_bg;
- color: @entry_tag_fg;
-
- border-radius: 4px;
- border-width: 0;
-
- margin: 2px;
- padding: 4px;
-}
-
-.photos-entry-tag:hover {
- background-color: shade(@entry_tag_bg, 1.10);
- color: @entry_tag_fg;
-}
-
-.photos-entry-tag.button,
-.photos-entry-tag.button:hover,
-.photos-entry-tag.button:active,
-.photos-entry-tag.button:active:hover {
- background-color: transparent;
- background-image: none;
- border-image: none;
- border-width: 0;
-}
-
-.photos-entry-tag.button:hover {
- color: shade(@entry_tag_bg, 2.10);
-}
-
.documents-scrolledwin.frame {
border-width: 1px 0 0;
border-radius: 0;
diff --git a/libgd b/libgd
index a4928d0..cc90107 160000
--- a/libgd
+++ b/libgd
@@ -1 +1 @@
-Subproject commit a4928d0f5e7aebe7d0670fb65d5b6c1bcbe5dd60
+Subproject commit cc90107531640bcba6c3c58e5cf6aec94d498763
diff --git a/src/photos-overview-searchbar.c b/src/photos-overview-searchbar.c
index b691886..ffc851c 100644
--- a/src/photos-overview-searchbar.c
+++ b/src/photos-overview-searchbar.c
@@ -193,13 +193,8 @@ photos_overview_searchbar_create_search_widgets (PhotosSearchbar *searchbar)
photos_searchbar_set_search_entry (PHOTOS_SEARCHBAR (self), GTK_WIDGET (self->search_entry));
self->src_tag = gd_tagged_entry_tag_new (NULL);
- gd_tagged_entry_tag_set_style (self->src_tag, "photos-entry-tag");
-
self->srch_mtch_tag = gd_tagged_entry_tag_new (NULL);
- gd_tagged_entry_tag_set_style (self->srch_mtch_tag, "photos-entry-tag");
-
self->srch_typ_tag = gd_tagged_entry_tag_new (NULL);
- gd_tagged_entry_tag_set_style (self->srch_typ_tag, "photos-entry-tag");
g_signal_connect_object (self->srch_cntrlr,
"search-string-changed",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]