thanks yann

This commit is contained in:
Nikos Kouremenos 2005-03-06 20:53:58 +00:00
parent 049851e549
commit 56d4876b33
3 changed files with 5 additions and 5 deletions

View File

@ -179,7 +179,7 @@ class preferences_window:
self.plugin.send('CONFIG', None, ('GtkGui', self.plugin.config, 'GtkGui'))
self.plugin.roster.draw_roster()
def on_reset_colors_button_clicked(self, widget):
def on_reset_colors_and_fonts_button_clicked(self, widget):
defaults = self.plugin.default_config
self.plugin.config['inmsgcolor'] = defaults['inmsgcolor']
self.plugin.config['outmsgcolor'] = defaults['outmsgcolor']

View File

@ -3750,11 +3750,11 @@ on the server as a vCard</property>
</child>
<child>
<widget class="GtkButton" id="reset_colors_button">
<widget class="GtkButton" id="reset_colors_and_fonts_button">
<property name="visible">True</property>
<property name="relief">GTK_RELIEF_NONE</property>
<property name="focus_on_click">False</property>
<signal name="clicked" handler="on_reset_colors_button_clicked" last_modification_time="Sun, 06 Mar 2005 18:40:18 GMT"/>
<signal name="clicked" handler="on_reset_colors_and_fonts_button_clicked" last_modification_time="Sun, 06 Mar 2005 20:29:53 GMT"/>
<child>
<widget class="GtkAlignment" id="alignment50">
@ -3794,7 +3794,7 @@ on the server as a vCard</property>
<child>
<widget class="GtkLabel" id="label215">
<property name="visible">True</property>
<property name="label" translatable="yes">Reset to default colors</property>
<property name="label" translatable="yes">_Reset to default colors &amp; fonts</property>
<property name="use_underline">True</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>

View File

@ -2362,7 +2362,7 @@ class roster_window:
self.begin_emot = ''
split_line = self.plugin.config['emoticons'].split('\t')
for i in range(0, len(split_line)/2):
# (nk) lost you here. if you remember add some comments about the idea of the algo
# (nk) lost you here. if you remember add some comments about the idea of the algo
emot_file = split_line[2*i+1]
if not self.image_is_ok(emot_file):
continue