[Sugar-devel] [PATCH] Network device icon: use "Disconnect" label (SL#3007)

Daniel Drake dsd at laptop.org
Mon Aug 1 11:55:51 EDT 2011


The current label "Disconnect..." has an ellipsis for no apparent
reason. The equivalent menu on the neighborhood view has "Disconnect".
Remove the ellipsis to make these consistent.

This will also fix a bad Spanish translation of "Disconnect..."
("Desconectando..." which means "Disconnecting..."), as the Spanish
translation for Disconnect ("Desconectar") is correct.
---
 extensions/deviceicon/network.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/extensions/deviceicon/network.py b/extensions/deviceicon/network.py
index 4c4f339..46d59ad 100644
--- a/extensions/deviceicon/network.py
+++ b/extensions/deviceicon/network.py
@@ -101,7 +101,7 @@ class WirelessPalette(Palette):
         self._info.pack_start(_padded(self._ip_address_label))
         self._info.show_all()
 
-        self._disconnect_item = MenuItem(_('Disconnect...'))
+        self._disconnect_item = MenuItem(_('Disconnect'))
         icon = Icon(icon_size=gtk.ICON_SIZE_MENU, icon_name='media-eject')
         self._disconnect_item.set_image(icon)
         self._disconnect_item.connect('activate',
-- 
1.7.6



More information about the Sugar-devel mailing list