grim/glibre

f807cda293b2
Parents 63636a4957b5
Children ce39c4ca1507
correctly reload the dock layout when opening the program

fixes #7
  • +4 -1
    glibre.c
  • --- a/glibre.c Sun Jul 18 04:31:36 2010 -0500
    +++ b/glibre.c Sat Jul 24 14:03:16 2010 -0500
    @@ -304,7 +304,10 @@
    /* now grab the layout */
    layout_file = glibre_config_file("layout.xml");
    - gdl_dock_layout_load_from_file(window.layout, layout_file);
    +
    + if(gdl_dock_layout_load_from_file(window.layout, layout_file))
    + gdl_dock_layout_load_layout(window.layout, "__default__");
    +
    g_free(layout_file);
    glibre_update();