aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2024-07-17 04:19:55 +0200
committerRobert Tari <robert@tari.in>2024-07-17 04:19:55 +0200
commit1eaf28c93056710c2d0eb64ab6afe9f150bdf243 (patch)
tree78eba918b867533872d3c84c85d402d0f3fbcbfd
parent9906cc1d22f17c3629d32521473b172ae594ddcf (diff)
downloadayatana-ido-1eaf28c93056710c2d0eb64ab6afe9f150bdf243.tar.gz
ayatana-ido-1eaf28c93056710c2d0eb64ab6afe9f150bdf243.tar.bz2
ayatana-ido-1eaf28c93056710c2d0eb64ab6afe9f150bdf243.zip
src/idoscalemenuitem.c: Disable menu item selection
-rw-r--r--src/idoscalemenuitem.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/idoscalemenuitem.c b/src/idoscalemenuitem.c
index c6cf877..9bdfbad 100644
--- a/src/idoscalemenuitem.c
+++ b/src/idoscalemenuitem.c
@@ -475,8 +475,6 @@ ido_scale_menu_item_select (GtkMenuItem *item)
priv->has_focus = TRUE;
gtk_widget_set_state_flags (priv->scale, GTK_STATE_FLAG_FOCUSED, FALSE);
-
- GTK_MENU_ITEM_CLASS (ido_scale_menu_item_parent_class)->select (item);
}
static void
@@ -487,8 +485,6 @@ ido_scale_menu_item_deselect (GtkMenuItem *item)
priv->has_focus = FALSE;
gtk_widget_unset_state_flags (priv->scale, GTK_STATE_FLAG_FOCUSED);
-
- GTK_MENU_ITEM_CLASS (ido_scale_menu_item_parent_class)->deselect (item);
}
static gboolean