X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=frontends%2Fgconf%2Fgconf.c;h=b94dfa34a5b32cc6c034f39cc8329f10f8e92909;hb=6bc83be982e93c53a4fdeda9d60dcbb2a95c8f1b;hp=adc230638c5b141ceaa2cf9b25d35f99324c19b6;hpb=413bb8dfb5ea230350caab2ac45cbb222df0fe52;p=kconfig-frontends diff --git a/frontends/gconf/gconf.c b/frontends/gconf/gconf.c index adc2306..b94dfa3 100644 --- a/frontends/gconf/gconf.c +++ b/frontends/gconf/gconf.c @@ -10,8 +10,9 @@ # include #endif +#include #include "lkc.h" -#include "images.c" +#include "images.h" #include #include @@ -22,7 +23,6 @@ #include #include #include -#include //#define DEBUG @@ -1404,7 +1404,7 @@ static void display_tree(struct menu *menu) && (tree == tree2)) continue; /* - if (((menu != &rootmenu) && !(menu->flags & MENU_ROOT)) + if (((menu != &rootmenu) && !(menu->flags & MENU_ROOT)) || (view_mode == FULL_VIEW) || (view_mode == SPLIT_VIEW))*/ @@ -1468,8 +1468,10 @@ void fixup_rootmenu(struct menu *menu) int main(int ac, char *av[]) { const char *name; +#if 0 char *env; - gchar *glade_file; +#endif + gchar *glade_file = GUI_PATH; bindtextdomain(PACKAGE, LOCALEDIR); bind_textdomain_codeset(PACKAGE, "UTF-8"); @@ -1483,6 +1485,7 @@ int main(int ac, char *av[]) //add_pixmap_directory (PACKAGE_DATA_DIR "/" PACKAGE "/pixmaps"); //add_pixmap_directory (PACKAGE_SOURCE_DIR "/pixmaps"); +#if 0 /* Determine GUI path */ env = getenv(SRCTREE); if (env) @@ -1491,6 +1494,7 @@ int main(int ac, char *av[]) glade_file = g_strconcat(av[0], ".glade", NULL); else glade_file = g_strconcat(g_get_current_dir(), "/", av[0], ".glade", NULL); +#endif /* Conf stuffs */ if (ac > 1 && av[1][0] == '-') {