       when 'READY'
         @onViewReady(event.source, event.origin)
       when 'NOTIFY_CLICK'
-        @onNotifyClick(message.data)
+        emit(this, 'open', message.data)
       when 'SHOW_DETAILS'
         @onShowDetails(message.data.item, message.data.left)
       when 'HIDE_DETAILS'

      menuitem.disabled = true for menuitem in @itemSpecific
      @activeItem = undefined

  # Helper method to handle messages from a view.
  # @private
  onNotifyClick : (item) =>
    @removeItem(item)
    tabs.open(item.link)
    if @displayedItems.length == 0 && preferences.hideOnEmpty
      @hideToolbar()
    else
      @send('REMOVE_ITEM', item)

  onShowDetails : (item, left) =>
    @details = Panel({
      width: 400,

  # Helper method to create the toolbar UI
  # @private
  createUI : =>
    @frame = Frame(
      url: './ticker.html'
      onMessage: @onReceiveMessage
    )
    @itemSpecific = []
    @menu = new Menu(onHide: @resetMenu, [
      new MenuItem(label: _('refresh_feeds'), onCommand: => emit(this, 'refresh'))
      Menu.Separator
      @itemSpecific[...0] = new MenuItem(
        label: _('open_feed_in_tabs')
        disabled: true
        onCommand: => emit(this, 'open', @activeItem.feed)
      )
      new MenuItem(label: _('open_all_in_tabs'), onCommand: => emit(this, 'open', null))
      Menu.Separator
      @itemSpecific[...0] = new MenuItem(
        label: _('mark_item_read')
        disabled: true
        onCommand: => emit(this, 'mark_read', @activeItem)
      )
      @itemSpecific[...0] = new MenuItem(
        label: _('mark_feed_read')
        disabled: true
        onCommand: => emit(this, 'mark_read', @activeItem.feed)
      )
      new MenuItem(label: _('mark_all_read'), onCommand: => emit(this, 'mark_read', null))
    ])

  # Helper method for communication with the @see View instances
