From: Christian Dywan Date: Mon, 22 Jun 2009 21:03:59 +0000 (+0200) Subject: Draw radio action popup menu items as radio items X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=397dd423bd716a2f3a9e683612fec6e47ed18e2a;p=midori Draw radio action popup menu items as radio items --- 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) {