class Gdk::SubPartsFavorite

Public Instance Methods

get_default_votes() click to toggle source
# File core/mui/cairo_sub_parts_favorite.rb, line 14
def get_default_votes
  helper.message.favorited_by
end
get_vote_count() click to toggle source
Calls superclass method
# File core/mui/cairo_sub_parts_favorite.rb, line 10
def get_vote_count
  [helper.message[:favorite_count] || 0, super].max
end
name() click to toggle source
# File core/mui/cairo_sub_parts_favorite.rb, line 22
def name
  :favorited end
title_icon_model() click to toggle source
# File core/mui/cairo_sub_parts_favorite.rb, line 18
        def title_icon_model
  Skin.photo('unfav.png')
end