[epiphany/gnome-3-38] history-dialog: ensure Remove button is initially insensitive
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/gnome-3-38] history-dialog: ensure Remove button is initially insensitive
- Date: Thu, 7 Jan 2021 15:54:30 +0000 (UTC)
commit 83f3fb1f38244cb35479f5efbae2db9984eb3598
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Tue Jan 5 17:55:04 2021 +0000
history-dialog: ensure Remove button is initially insensitive
Currently we crash if clicking Remove when nothing is selected.
Fixes #1417
(cherry picked from commit 5af696a750a563753dbc71b086a1968765780371)
src/ephy-history-dialog.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/ephy-history-dialog.c b/src/ephy-history-dialog.c
index ce3d3db3f..7066e8ffe 100644
--- a/src/ephy-history-dialog.c
+++ b/src/ephy-history-dialog.c
@@ -954,6 +954,7 @@ ephy_history_dialog_init (EphyHistoryDialog *self)
self->cancellable = g_cancellable_new ();
self->urls = NULL;
self->sorter_source = 0;
+ self->is_selection_empty = TRUE;
hdy_search_bar_connect_entry (HDY_SEARCH_BAR (self->search_bar), GTK_ENTRY (self->search_entry));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]