fix multiple shelf config diaslog bug.
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Thu, 18 Apr 2013 04:08:20 +0000 (13:08 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Thu, 18 Apr 2013 04:08:20 +0000 (13:08 +0900)
src/modules/conf_shelves/e_int_config_shelf.c

index 1058744..072b69d 100644 (file)
@@ -44,6 +44,8 @@ e_int_config_shelf(E_Container *con, const char *params __UNUSED__)
    E_Config_Dialog *cfd;
    E_Config_Dialog_View *v;
 
+   if (e_config_dialog_find("E", "extensions/shelves")) return NULL;
+
    v = E_NEW(E_Config_Dialog_View, 1);
    if (!v) return NULL;
    v->create_cfdata = _create_data;