[epiphany] Open multiple items in history dialog
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Open multiple items in history dialog
- Date: Tue, 26 May 2020 16:28:23 +0000 (UTC)
commit 88798627b58f349477471e4a0b66c9ff05e56f12
Author: Jan-Michael Brummer <jan brummer tabos org>
Date: Sun May 17 20:41:43 2020 +0200
Open multiple items in history dialog
Fixes: https://gitlab.gnome.org/GNOME/epiphany/-/issues/862
src/ephy-history-dialog.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/ephy-history-dialog.c b/src/ephy-history-dialog.c
index 486d6393a..df5dc08f2 100644
--- a/src/ephy-history-dialog.c
+++ b/src/ephy-history-dialog.c
@@ -567,13 +567,12 @@ on_listbox_button_press_event (GtkWidget *widget,
if (event->button == GDK_BUTTON_SECONDARY) {
GtkListBoxRow *row = gtk_list_box_get_row_at_y (GTK_LIST_BOX (self->listbox), event->y);
GList *rows = NULL;
- guint state = event->state & gtk_accelerator_get_default_mod_mask ();
int n;
if (!row)
return GDK_EVENT_PROPAGATE;
- if (state != GDK_CONTROL_MASK)
+ if (!gtk_list_box_row_is_selected (row))
gtk_list_box_unselect_all (GTK_LIST_BOX (self->listbox));
gtk_list_box_select_row (GTK_LIST_BOX (self->listbox), row);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]