Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAjay Garg <ajay@activitycentral.com>2013-03-23 02:26:55 (GMT)
committer Ajay Garg <ajay@activitycentral.com>2013-03-23 02:26:55 (GMT)
commit9f68e5e1d2511cf139f05c8c25d31ae264a149a4 (patch)
tree457594f41e7e799c91bb8754e9113a39883b9429
parent1e2a424b028f920421a74b46ee907f0f9681efd7 (diff)
Fxing the "sugar not loading" issue in "Background feature".
-rw-r--r--src/jarabe/desktop/homebox.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/jarabe/desktop/homebox.py b/src/jarabe/desktop/homebox.py
index eb29eb4..aca203d 100644
--- a/src/jarabe/desktop/homebox.py
+++ b/src/jarabe/desktop/homebox.py
@@ -194,6 +194,10 @@ class HomeBox(Gtk.VBox):
def _update_background_image(self, *args):
self._background_pixbuf = None
+
+ if BACKGROUND_IMAGE_PATH is None:
+ return
+
if os.path.exists(BACKGROUND_IMAGE_PATH):
try:
self._background_pixbuf = GdkPixbuf.Pixbuf.new_from_file(