Patch by Simon to make sugar start when not connected to wireless.

This commit is contained in:
Marco Pesenti Gritti
2007-08-16 17:32:29 +02:00
parent d0a564e035
commit f056056691
2 changed files with 15 additions and 4 deletions
+3 -2
View File
@@ -175,8 +175,9 @@ class Palette(gtk.Window):
return gtk.gdk.Rectangle(x, y, width, height)
def set_primary_text(self, label, accel_path=None):
self._label.set_text(label)
self._label.show()
if label is not None:
self._label.set_text(label)
self._label.show()
def set_content(self, widget):
if len(self._content.get_children()) > 0: