<commit_before>import os

import pygtk
pygtk.require('2.0')
import gtk
import geckoembed

from sugar.activity.Activity import Activity
import sugar.env

_GMAIL_ACTIVITY_TYPE = "_gmail_google._tcp"

class GMailActivity(Activity):
	def __init__(self):
		Activity.__init__(self, _GMAIL_ACTIVITY_TYPE)
	
	def on_connected_to_shell(self):
		profile_path = os.path.join(sugar.env.get_user_dir(), 'gmail')
		geckoembed.set_profile_path(profile_path)
		self.set_tab_text("Mail")
		self.set_tab_icon(name="stock_mail")<commit_msg>Readd icon<commit_after>import os

import pygtk
pygtk.require('2.0')
import gtk
import geckoembed

from sugar.activity.Activity import Activity
import sugar.env

_GMAIL_ACTIVITY_TYPE = "_gmail_google._tcp"

class GMailActivity(Activity):
	def __init__(self):
		Activity.__init__(self, _GMAIL_ACTIVITY_TYPE)
	
	def on_connected_to_shell(self):
		profile_path = os.path.join(sugar.env.get_user_dir(), 'gmail')
		geckoembed.set_profile_path(profile_path)
		self.set_tab_text("Mail")
		self.set_tab_icon(name="stock_mail")
		self.set_show_tab_icon(True)
{'fraction_non_alphanumeric': 0.10560747663551402, 'fraction_numerical': 0.003738317757009346, 'mean_word_length': 6.992537313432836, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5250727', 'n_tokens_mistral': 412, 'n_tokens_neox': 392, 'n_words': 63}