コード例 #1
0
ファイル: community.py プロジェクト: proximate/proximate
 def get_ordinary_community(self, cname):
     return get_ordinary_community(cname)
コード例 #2
0
ファイル: gui_user.py プロジェクト: proximate/proximate
def get_default_community_icon(com):
    if com == proximatestate.get_ordinary_community(DEFAULT_COMMUNITY_NAME):
        fname = get_path(PROXIMATE_COMMUNITY_ICON)
    else:
        fname = get_path(DEFAULT_COMMUNITY_ICON)
    return gtk.gdk.pixbuf_new_from_file(fname)