summaryrefslogtreecommitdiff
path: root/colorblind
diff options
context:
space:
mode:
authorCarlos Eduardo Rodrigues DiĆ³genes <carlosd@src.gnome.org>2007-08-26 16:13:02 +0000
committerCarlos Eduardo Rodrigues DiĆ³genes <carlosd@src.gnome.org>2007-08-26 16:13:02 +0000
commita181c3a1e03dc61acd20f44a1a6aef32daa1f80a (patch)
tree29ba083a289578fcbaa2da7e20997bdb382f0ddb /colorblind
parent55f81be15ffade33ae4581966c45a97e98bf0690 (diff)
correcting the spell dessaturation by desaturation
svn path=/trunk/; revision=561
Diffstat (limited to 'colorblind')
-rw-r--r--colorblind/data/colorblind-prefs.glade24
-rw-r--r--colorblind/ui/ColorblindPreferencesUI.py32
2 files changed, 28 insertions, 28 deletions
diff --git a/colorblind/data/colorblind-prefs.glade b/colorblind/data/colorblind-prefs.glade
index fb51d95..4833ef7 100644
--- a/colorblind/data/colorblind-prefs.glade
+++ b/colorblind/data/colorblind-prefs.glade
@@ -177,11 +177,11 @@
<property name="spacing">0</property>
<child>
- <widget class="GtkRadioButton" id="radio_filter_red_dessaturate">
+ <widget class="GtkRadioButton" id="radio_filter_red_desaturate">
<property name="visible">True</property>
- <property name="tooltip" translatable="yes">This filter completely dessaturate the red color when this is the predominant pixel color in the image.</property>
+ <property name="tooltip" translatable="yes">This filter completely desaturate the red color when this is the predominant pixel color in the image.</property>
<property name="can_focus">True</property>
- <property name="label" translatable="yes">Selective Red Dessaturation</property>
+ <property name="label" translatable="yes">Selective Red Desaturation</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
@@ -189,7 +189,7 @@
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
<property name="group">radio_filter_red_saturate</property>
- <signal name="toggled" handler="on_radio_filter_red_dessaturate_toggled" last_modification_time="Tue, 01 May 2007 14:41:01 GMT"/>
+ <signal name="toggled" handler="on_radio_filter_red_desaturate_toggled" last_modification_time="Tue, 01 May 2007 14:41:01 GMT"/>
</widget>
<packing>
<property name="padding">0</property>
@@ -199,11 +199,11 @@
</child>
<child>
- <widget class="GtkRadioButton" id="radio_filter_green_dessaturate">
+ <widget class="GtkRadioButton" id="radio_filter_green_desaturate">
<property name="visible">True</property>
- <property name="tooltip" translatable="yes">This filter completely dessaturate the green color when this is the predominant pixel color in the image.</property>
+ <property name="tooltip" translatable="yes">This filter completely desaturate the green color when this is the predominant pixel color in the image.</property>
<property name="can_focus">True</property>
- <property name="label" translatable="yes">Selective Green Dessaturation</property>
+ <property name="label" translatable="yes">Selective Green Desaturation</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
@@ -211,7 +211,7 @@
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
<property name="group">radio_filter_red_saturate</property>
- <signal name="toggled" handler="on_radio_filter_green_dessaturate_toggled" last_modification_time="Tue, 01 May 2007 14:41:07 GMT"/>
+ <signal name="toggled" handler="on_radio_filter_green_desaturate_toggled" last_modification_time="Tue, 01 May 2007 14:41:07 GMT"/>
</widget>
<packing>
<property name="padding">0</property>
@@ -221,11 +221,11 @@
</child>
<child>
- <widget class="GtkRadioButton" id="radio_filter_blue_dessaturate">
+ <widget class="GtkRadioButton" id="radio_filter_blue_desaturate">
<property name="visible">True</property>
- <property name="tooltip" translatable="yes">This filter completely dessaturate the blue color when this is the predominant pixel color in the image.</property>
+ <property name="tooltip" translatable="yes">This filter completely desaturate the blue color when this is the predominant pixel color in the image.</property>
<property name="can_focus">True</property>
- <property name="label" translatable="yes">Selective Blue Dessaturation</property>
+ <property name="label" translatable="yes">Selective Blue Desaturation</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
@@ -233,7 +233,7 @@
<property name="inconsistent">False</property>
<property name="draw_indicator">True</property>
<property name="group">radio_filter_red_saturate</property>
- <signal name="toggled" handler="on_radio_filter_blue_dessaturate_toggled" last_modification_time="Tue, 01 May 2007 14:41:11 GMT"/>
+ <signal name="toggled" handler="on_radio_filter_blue_desaturate_toggled" last_modification_time="Tue, 01 May 2007 14:41:11 GMT"/>
</widget>
<packing>
<property name="padding">0</property>
diff --git a/colorblind/ui/ColorblindPreferencesUI.py b/colorblind/ui/ColorblindPreferencesUI.py
index 4c8aed6..18bba5d 100644
--- a/colorblind/ui/ColorblindPreferencesUI.py
+++ b/colorblind/ui/ColorblindPreferencesUI.py
@@ -192,7 +192,7 @@ class AccelEntry( gobject.GObject ):
self.set_accelerator_name(self.__old_value)
class ColorblindPreferencesUI:
- CB_FILTER_NO_FILTER, CB_FILTER_SELECTIVE_SATURATE_RED, CB_FILTER_SELECTIVE_SATURATE_GREEN, CB_FILTER_SELECTIVE_SATURATE_BLUE, CB_FILTER_SELECTIVE_DESSATURATE_RED, CB_FILTER_SELECTIVE_DESSATURATE_GREEN, CB_FILTER_SELECTIVE_DESSATURATE_BLUE, CB_FILTER_POSITIVE_HUE_SHIFT, CB_FILTER_NEGATIVE_HUE_SHIFT = range (9)
+ CB_FILTER_NO_FILTER, CB_FILTER_SELECTIVE_SATURATE_RED, CB_FILTER_SELECTIVE_SATURATE_GREEN, CB_FILTER_SELECTIVE_SATURATE_BLUE, CB_FILTER_SELECTIVE_DESATURATE_RED, CB_FILTER_SELECTIVE_DESATURATE_GREEN, CB_FILTER_SELECTIVE_DESATURATE_BLUE, CB_FILTER_POSITIVE_HUE_SHIFT, CB_FILTER_NEGATIVE_HUE_SHIFT = range (9)
def __init__(self, applet):
self.glade = gtk.glade.XML(join(colorblind.SHARED_DATA_DIR, "colorblind-prefs.glade"))
@@ -201,9 +201,9 @@ class ColorblindPreferencesUI:
self.radio1 = self.glade.get_widget("radio_filter_red_saturate")
self.radio2 = self.glade.get_widget("radio_filter_green_saturate")
self.radio3 = self.glade.get_widget("radio_filter_blue_saturate")
- self.radio4 = self.glade.get_widget("radio_filter_red_dessaturate")
- self.radio5 = self.glade.get_widget("radio_filter_green_dessaturate")
- self.radio6 = self.glade.get_widget("radio_filter_blue_dessaturate")
+ self.radio4 = self.glade.get_widget("radio_filter_red_desaturate")
+ self.radio5 = self.glade.get_widget("radio_filter_green_desaturate")
+ self.radio6 = self.glade.get_widget("radio_filter_blue_desaturate")
self.radio7 = self.glade.get_widget("radio_filter_positive_hue_shift")
self.radio8 = self.glade.get_widget("radio_filter_negative_hue_shift")
self.hbox_default = self.glade.get_widget("hbox_default")
@@ -212,9 +212,9 @@ class ColorblindPreferencesUI:
self.combofilters.append_text (_("Selective Red Saturation"))
self.combofilters.append_text (_("Selective Green Saturation"))
self.combofilters.append_text (_("Selective Blue Saturation"))
- self.combofilters.append_text (_("Selective Red Dessaturation"))
- self.combofilters.append_text (_("Selective Green Dessaturation"))
- self.combofilters.append_text (_("Selective Blue Dessaturation"))
+ self.combofilters.append_text (_("Selective Red Desaturation"))
+ self.combofilters.append_text (_("Selective Green Desaturation"))
+ self.combofilters.append_text (_("Selective Blue Desaturation"))
self.combofilters.append_text (_("Positive Hue Shift"))
self.combofilters.append_text (_("Negative Hue Shift"))
self.check_default_filter = self.glade.get_widget("check_default_filter")
@@ -255,11 +255,11 @@ class ColorblindPreferencesUI:
elif entry == self.radio3:
colorblind.GCONF_CLIENT.set_int(colorblind.GCONF_COLORBLIND_FILTER, self.CB_FILTER_SELECTIVE_SATURATE_BLUE)
elif entry == self.radio4:
- colorblind.GCONF_CLIENT.set_int(colorblind.GCONF_COLORBLIND_FILTER, self.CB_FILTER_SELECTIVE_DESSATURATE_RED)
+ colorblind.GCONF_CLIENT.set_int(colorblind.GCONF_COLORBLIND_FILTER, self.CB_FILTER_SELECTIVE_DESATURATE_RED)
elif entry == self.radio5:
- colorblind.GCONF_CLIENT.set_int(colorblind.GCONF_COLORBLIND_FILTER, self.CB_FILTER_SELECTIVE_DESSATURATE_GREEN)
+ colorblind.GCONF_CLIENT.set_int(colorblind.GCONF_COLORBLIND_FILTER, self.CB_FILTER_SELECTIVE_DESATURATE_GREEN)
elif entry == self.radio6:
- colorblind.GCONF_CLIENT.set_int(colorblind.GCONF_COLORBLIND_FILTER, self.CB_FILTER_SELECTIVE_DESSATURATE_BLUE)
+ colorblind.GCONF_CLIENT.set_int(colorblind.GCONF_COLORBLIND_FILTER, self.CB_FILTER_SELECTIVE_DESATURATE_BLUE)
elif entry == self.radio7:
colorblind.GCONF_CLIENT.set_int(colorblind.GCONF_COLORBLIND_FILTER, self.CB_FILTER_POSITIVE_HUE_SHIFT)
elif entry == self.radio8:
@@ -274,12 +274,12 @@ class ColorblindPreferencesUI:
colorblind.GCONF_CLIENT.set_int(colorblind.GCONF_DEFAULT_FILTER, self.CB_FILTER_SELECTIVE_SATURATE_GREEN)
elif i == self.CB_FILTER_SELECTIVE_SATURATE_BLUE:
colorblind.GCONF_CLIENT.set_int(colorblind.GCONF_DEFAULT_FILTER, self.CB_FILTER_SELECTIVE_SATURATE_BLUE)
- elif i == self.CB_FILTER_SELECTIVE_DESSATURATE_RED:
- colorblind.GCONF_CLIENT.set_int(colorblind.GCONF_DEFAULT_FILTER, self.CB_FILTER_SELECTIVE_DESSATURATE_RED)
- elif i == self.CB_FILTER_SELECTIVE_DESSATURATE_GREEN:
- colorblind.GCONF_CLIENT.set_int(colorblind.GCONF_DEFAULT_FILTER, self.CB_FILTER_SELECTIVE_DESSATURATE_GREEN)
- elif i == self.CB_FILTER_SELECTIVE_DESSATURATE_BLUE:
- colorblind.GCONF_CLIENT.set_int(colorblind.GCONF_DEFAULT_FILTER, self.CB_FILTER_SELECTIVE_DESSATURATE_BLUE)
+ elif i == self.CB_FILTER_SELECTIVE_DESATURATE_RED:
+ colorblind.GCONF_CLIENT.set_int(colorblind.GCONF_DEFAULT_FILTER, self.CB_FILTER_SELECTIVE_DESATURATE_RED)
+ elif i == self.CB_FILTER_SELECTIVE_DESATURATE_GREEN:
+ colorblind.GCONF_CLIENT.set_int(colorblind.GCONF_DEFAULT_FILTER, self.CB_FILTER_SELECTIVE_DESATURATE_GREEN)
+ elif i == self.CB_FILTER_SELECTIVE_DESATURATE_BLUE:
+ colorblind.GCONF_CLIENT.set_int(colorblind.GCONF_DEFAULT_FILTER, self.CB_FILTER_SELECTIVE_DESATURATE_BLUE)
elif i == self.CB_FILTER_POSITIVE_HUE_SHIFT:
colorblind.GCONF_CLIENT.set_int(colorblind.GCONF_DEFAULT_FILTER, self.CB_FILTER_POSITIVE_HUE_SHIFT)
elif i == self.CB_FILTER_NEGATIVE_HUE_SHIFT: