lib/grumblr/ui.rb in grumblr-2.1.1 vs lib/grumblr/ui.rb in grumblr-2.2.0

- old
+ new

@@ -493,11 +493,11 @@ Gtk::SeparatorMenuItem.new end ## Destroy Config def destroy_account - icon = Gtk::ImageMenuItem.new 'Destroy account' + icon = Gtk::ImageMenuItem.new 'Forget password' icon.set_image Gtk::Image.new(Gtk::Stock::STOP, Gtk::IconSize::MENU) icon.signal_connect(:activate) do $cfg.destroy end icon.show @@ -651,10 +651,10 @@ false end end def report_length - $statusbar.push 0, "Length: #{self.buffer.text.size}" + $statusbar.push 0, "Length: #{self.buffer.text.chars.count}" end def get_value value = self.buffer.get_text value == @label ? "" : value