[nautilus/wip/antoniof/experimental-gtk4-build: 33/52] MenuButton not ToggleButton
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/antoniof/experimental-gtk4-build: 33/52] MenuButton not ToggleButton
- Date: Fri, 31 Dec 2021 23:58:46 +0000 (UTC)
commit 7a70403938f9a5fe16d9b7659e45ea95d77e1f40
Author: António Fernandes <antoniof gnome org>
Date: Fri Dec 24 00:03:52 2021 +0000
MenuButton not ToggleButton
src/nautilus-toolbar.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/nautilus-toolbar.c b/src/nautilus-toolbar.c
index badf31e37..9c55f7fe9 100644
--- a/src/nautilus-toolbar.c
+++ b/src/nautilus-toolbar.c
@@ -1421,5 +1421,5 @@ nautilus_toolbar_is_menu_visible (NautilusToolbar *self)
gboolean
nautilus_toolbar_is_operations_button_active (NautilusToolbar *self)
{
- return gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (self->operations_button));
+ return gtk_widget_is_visible (GTK_WIDGET (self->operations_popover));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]