Ticket #1111 (closed defect: worksforme)

Opened 9 years ago

Last modified 8 years ago

RadioActionEntry not initialized correctly

Reported by: guest Owned by: somebody
Priority: normal Milestone:
Component: general (Gtk+, Glib) Version: 0.9.12
Keywords: RadioAction menu toolbar Cc:



data RadioActionEntry = RadioActionEntry {
radioActionName :: String
radioActionLabel :: String
radioActionStockId :: (Maybe String)
radioActionAccelerator :: (Maybe String)
radioActionTooltip :: (Maybe String)
radioActionValue :: Int

the function:

actionGroupAddRadioActions :: 
              ActionGroup -> [RadioActionEntry] -> Int -> (RadioAction -> IO ()) -> IO ()

does not initialize to the 3rd (Int) argument as it should. The last item in the list is always initialized visually, regardless of the argument's value. The function:


is defined as:

:: RadioActionClass self	
=> self	
-> IO Int

but GHCi complains there is no instance for a

RadioActionEntry type. 

However, the function can be used inside the callback function (4th argument) to get the current value.

Change History

Changed 8 years ago by axel

  • status changed from new to closed
  • resolution set to worksforme

This bug I understand no more than #1109, thus, I'm closing it due to lack of information.

Changed 8 years ago by Alvaro

A thing is not necessarily true because a man dies for it.

-- Oscar Wilde, "The Portrait of Mr. W.H."

impotenza erezione fioricet information compra cialis online tramadol pharmacy

Note: See TracTickets for help on using tickets.