From 9f68e5e1d2511cf139f05c8c25d31ae264a149a4 Mon Sep 17 00:00:00 2001 From: Ajay Garg Date: Sat, 23 Mar 2013 02:26:55 +0000 Subject: Fxing the "sugar not loading" issue in "Background feature". --- 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( -- cgit v0.9.1