[Sugar-devel] index 908ec8d..a2965fe 100755
Gonzalo Odiard
gonzalo at laptop.org
Thu Oct 11 14:36:00 EDT 2012
What is the problem you are trying to solve?
Can you explain?
Gonzalo
On Thu, Oct 11, 2012 at 9:38 AM, Ignacio Rodríguez <nachoel01 at gmail.com>wrote:
> def _update(self):
> active = self._model.get_active_desktop()
> - self._active_desktop_label.set_markup("<big>" + _("Active desktop
> environment: ")
> - + "<b>" + active + "</b></big>")
> - self._active_desktop_label.show()
> -
> + if active == 'GNOME':
> + self._active_desktop_label.set_markup("<big>" + _("After
> restart desktop environment: ")
> + + "<b>" + 'GNOME' + "</b></big>")
> + self._active_desktop_label.show()
> + else:
> + self._active_desktop_label.set_markup("<big>" + _("Active
> desktop environment: ")
> + + "<b>" + active + "</b></big>")
> + self._active_desktop_label.show()
> sugar_active = active == "Sugar"
> gnome_active = active == "GNOME"
> unknown_active = active == "Unknown"
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20121011/0ddbeeaf/attachment.html>
More information about the Sugar-devel
mailing list