Ticket #1568: dlo_9612.patch
| File dlo_9612.patch, 0.9 KB (added by sayamindu, 4 years ago) |
|---|
-
src/jarabe/intro/window.py
diff --git a/src/jarabe/intro/window.py b/src/jarabe/intro/window.py index 3975900..bce16ea 100644
a b 14 14 # along with this program; if not, write to the Free Software 15 15 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 16 16 17 from ctypes import cdll 17 18 import os 18 19 import logging 19 20 from gettext import gettext as _ … … 33 34 34 35 _BACKGROUND_COLOR = style.COLOR_WHITE 35 36 37 def sync(): 38 libc = cdll.LoadLibrary("libc.so.6") 39 libc.sync() 40 36 41 def create_profile(name, color=None, pixbuf=None): 37 42 if not pixbuf: 38 43 path = os.path.join(os.path.dirname(__file__), 'default-picture.png') … … 256 261 257 262 def _create_profile_cb(self, name, color): 258 263 create_profile(name, color) 264 sync() 259 265 gtk.main_quit() 260 266 261 267 return False
