Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
Epiphany
Commits
58adcb61
Commit
58adcb61
authored
Apr 11, 2022
by
Alexander Mikhaylenko
Browse files
bookmark-row: Close popover when opening properties
Prevent input from being stuck.
parent
beff6dc7
Pipeline
#400065
failed with stage
in 6 minutes and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/bookmarks/ephy-bookmark-row.c
View file @
58adcb61
...
...
@@ -51,6 +51,7 @@ static void
ephy_bookmark_row_button_clicked_cb
(
EphyBookmarkRow
*
row
,
GtkButton
*
button
)
{
GtkWidget
*
popover
;
GtkWidget
*
dialog
;
GtkWidget
*
content_area
;
GtkWidget
*
grid
;
...
...
@@ -65,6 +66,11 @@ ephy_bookmark_row_button_clicked_cb (EphyBookmarkRow *row,
"modal"
,
TRUE
,
NULL
);
popover
=
gtk_widget_get_ancestor
(
GTK_WIDGET
(
row
),
GTK_TYPE_POPOVER
);
if
(
popover
)
gtk_popover_popdown
(
GTK_POPOVER
(
popover
));
content_area
=
gtk_dialog_get_content_area
(
GTK_DIALOG
(
dialog
));
grid
=
ephy_bookmark_properties_new
(
ephy_bookmark_row_get_bookmark
(
row
),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment