[epiphany] Always use compact mode for url entry
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Always use compact mode for url entry
- Date: Tue, 5 Nov 2019 21:32:38 +0000 (UTC)
commit e0094fad4bcc5dd7a6689cc3cfa9f864712a8d8f
Author: Jan-Michael Brummer <jan brummer tabos org>
Date: Tue Nov 5 16:28:32 2019 +0100
Always use compact mode for url entry
lib/widgets/ephy-location-entry.c | 1 +
src/resources/themes/Adwaita-dark.css | 2 +-
src/resources/themes/Adwaita.css | 2 +-
src/resources/themes/_Adwaita-base.scss | 2 +-
4 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c
index 1c56a7265..bc5460881 100644
--- a/lib/widgets/ephy-location-entry.c
+++ b/lib/widgets/ephy-location-entry.c
@@ -914,6 +914,7 @@ ephy_location_entry_construct_contents (EphyLocationEntry *entry)
/* URL entry */
entry->url_entry = dzl_suggestion_entry_new ();
+ dzl_suggestion_entry_set_compact (DZL_SUGGESTION_ENTRY (entry->url_entry), TRUE);
dzl_suggestion_entry_set_position_func (DZL_SUGGESTION_ENTRY (entry->url_entry), position_func, NULL,
NULL);
gtk_entry_set_icon_tooltip_text (GTK_ENTRY (entry->url_entry), GTK_ENTRY_ICON_PRIMARY, _("Show website
security status and permissions"));
gtk_entry_set_width_chars (GTK_ENTRY (entry->url_entry), 0);
diff --git a/src/resources/themes/Adwaita-dark.css b/src/resources/themes/Adwaita-dark.css
index eb8788b2d..d5e2f231d 100644
--- a/src/resources/themes/Adwaita-dark.css
+++ b/src/resources/themes/Adwaita-dark.css
@@ -226,7 +226,7 @@ row.narrow .page-row-close-button image { padding: 6px; }
dzlsuggestionpopover > revealer > box > elastic > scrolledwindow > viewport > list > row > box {
margin-left: 3px; }
-dzlsuggestionpopover > revealer > box > elastic > scrolledwindow > viewport > list > row > box .title {
margin-left: 6px; }
+dzlsuggestionpopover > revealer > box > elastic > scrolledwindow > viewport > list > row > box .title,
dzlsuggestionpopover > revealer > box > elastic > scrolledwindow > viewport > list > row > box .subtitle {
margin-left: 6px; }
.main-notebook tab:not(.reorderable-page) { min-width: 16px; }
diff --git a/src/resources/themes/Adwaita.css b/src/resources/themes/Adwaita.css
index 5d783e06a..614721bd6 100644
--- a/src/resources/themes/Adwaita.css
+++ b/src/resources/themes/Adwaita.css
@@ -226,7 +226,7 @@ row.narrow .page-row-close-button image { padding: 6px; }
dzlsuggestionpopover > revealer > box > elastic > scrolledwindow > viewport > list > row > box {
margin-left: 3px; }
-dzlsuggestionpopover > revealer > box > elastic > scrolledwindow > viewport > list > row > box .title {
margin-left: 6px; }
+dzlsuggestionpopover > revealer > box > elastic > scrolledwindow > viewport > list > row > box .title,
dzlsuggestionpopover > revealer > box > elastic > scrolledwindow > viewport > list > row > box .subtitle {
margin-left: 6px; }
.main-notebook tab:not(.reorderable-page) { min-width: 16px; }
diff --git a/src/resources/themes/_Adwaita-base.scss b/src/resources/themes/_Adwaita-base.scss
index 9b028cfcb..830e5d7db 100644
--- a/src/resources/themes/_Adwaita-base.scss
+++ b/src/resources/themes/_Adwaita-base.scss
@@ -272,7 +272,7 @@ $close_button_fg_color: if($variant == 'light', lighten($fg_color, 10%), darken(
dzlsuggestionpopover > revealer > box > elastic > scrolledwindow > viewport > list > row > box {
margin-left: 3px;
- .title {
+ .title, .subtitle {
margin-left: 6px;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]