+/* This file is part of the Linux Trace Toolkit viewer
+ * Copyright (C) 2003-2004 Mathieu Desnoyers and XangXiu Yang
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License Version 2 as
+ * published by the Free Software Foundation;
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+ * MA 02111-1307, USA.
+ */
+
/*
* Initial main.c file generated by Glade. Edit as required.
* Glade will not overwrite this file.
#include "interface.h"
#include "support.h"
-#include <lttv/mainWindow.h>
+#include <lttv/mainwindow.h>
#include "callbacks.h"
#include <ltt/trace.h>
{
WindowCreationData* window_creation_data = (WindowCreationData*)hook_data;
- g_critical("GUI window_creation_hook()");
+ g_debug("GUI window_creation_hook()");
#ifdef ENABLE_NLS
bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
add_pixmap_directory (PACKAGE_DATA_DIR "/" PACKAGE "/pixmaps");
add_pixmap_directory ("pixmaps");
- add_pixmap_directory ("modules/gui/mainWin/pixmaps");
+ add_pixmap_directory ("../modules/gui/main/pixmaps");
construct_main_window(NULL, window_creation_data);
// Global attributes only used for interaction with main() here.
LttvIAttribute *attributes = LTTV_IATTRIBUTE(lttv_global_attributes());
- g_critical("GUI init()");
+ g_debug("GUI init()");
lttv_option_add("trace", 't',
"add a trace to the trace set to analyse",
lttv_hooks_remove_data(main_hooks, window_creation_hook, &win_creation_data);
- g_critical("GUI destroy()");
+ g_debug("GUI destroy()");
if(g_main_window_list){
g_slist_foreach(g_main_window_list, main_window_destroy_walk, NULL );