title: Refreshing a view in Gtk3-Ruby
body: <p>I'm having a problem changing a view in my feed reader. When a button in the feed list is clicked, the feed window is supposed to update. Instead, the feed window stays empty. How do you remove and replace a widget in gtk3-ruby?</p>
  
  <p>The problem method:</p>
  
  <pre><code>  def feed=(feed)
        @feed.destroy()
        @title, @count = feed.channel.title, feed.items.size
        @label.set_markup "&lt;b&gt;#{@title} (#{@count} articles)&lt;/b&gt;"
        @feed = FeedItems.new(feed.items, @parent)
        self.pack_end(@feed)
        @feed.show()
    end
  </code></pre>
  
  <p>The full source is on pastebin:
  <a href="http://pastebin.com/KPKAfCmx" rel="nofollow">http://pastebin.com/KPKAfCmx</a></p>