[Sugar-devel] index 908ec8d..a2965fe 100755

Ignacio Rodríguez nachoel01 at gmail.com
Thu Oct 11 08:38:27 EDT 2012


     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"


More information about the Sugar-devel mailing list