[epiphany/mcatanzaro/#1417] history-dialog: ensure Remove button is initially insensitive
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/mcatanzaro/#1417] history-dialog: ensure Remove button is initially insensitive
- Date: Tue, 5 Jan 2021 17:55:14 +0000 (UTC)
commit 21484a339102886611e3ee07b1ef91a38f9f5328
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Tue Jan 5 11:55:04 2021 -0600
history-dialog: ensure Remove button is initially insensitive
Currently we crash if clicking Remove when nothing is selected.
Fixes #1417
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]