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 _ |
… |
… |
from jarabe.intro import colorpicker |
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') |
… |
… |
class IntroWindow(gtk.Window): |
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 |