From 397dd423bd716a2f3a9e683612fec6e47ed18e2a Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Mon, 22 Jun 2009 23:03:59 +0200 Subject: [PATCH] Draw radio action popup menu items as radio items --- midori/sokoke.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/midori/sokoke.c b/midori/sokoke.c index f3bab36c..c65918bd 100644 --- a/midori/sokoke.c +++ b/midori/sokoke.c @@ -758,6 +758,9 @@ sokoke_action_create_popup_menu_item (GtkAction* action) menuitem = gtk_check_menu_item_new_with_mnemonic (label); gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menuitem), gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (action))); + if (GTK_IS_RADIO_ACTION (action)) + gtk_check_menu_item_set_draw_as_radio (GTK_CHECK_MENU_ITEM (menuitem), + TRUE); } else if (stock_id) { -- 2.39.5