X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fgui%2Flttvwindow%2Flttvwindow%2Fcallbacks.c;h=09e6656369f4fc39de03b4e570931dcb4b2a4379;hb=f464e5e3f8605404eb62da03babdb6bcaa5bab3c;hp=25987f6939814fdf5dd8f788a41acdc15e3460b5;hpb=3c456a8abcc006a6f12311228d47865921a45059;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c index 25987f69..09e66563 100644 --- a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c +++ b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c @@ -32,7 +32,6 @@ #include "interface.h" #include "support.h" #include -#include #include #include #include @@ -3085,7 +3084,7 @@ on_about_activate (GtkMenuItem *menuitem, gtk_window_set_title(about_window, "About Linux Trace Toolkit"); gtk_window_set_resizable(about_window, FALSE); - gtk_window_set_transient_for(GTK_WINDOW(window_widget), about_window); + gtk_window_set_transient_for(about_window, GTK_WINDOW(window_widget)); gtk_window_set_destroy_with_parent(about_window, TRUE); gtk_window_set_modal(about_window, FALSE); @@ -3104,7 +3103,7 @@ on_about_activate (GtkMenuItem *menuitem, GtkWidget *label1 = gtk_label_new(""); gtk_misc_set_padding(GTK_MISC(label1), 10, 20); gtk_label_set_markup(GTK_LABEL(label1), "\ -Linux Trace Toolkit"); +Linux Trace Toolkit " VERSION ""); gtk_label_set_justify(GTK_LABEL(label1), GTK_JUSTIFY_CENTER); GtkWidget *label2 = gtk_label_new(""); @@ -3123,12 +3122,12 @@ Xang-Xiu Yang (new trace reading library and converter, lttv gui, \n\ detailed event list and statistics view)\n\ Tom Zanussi (RelayFS)\n\ \n\ -Strongly inspired from the original Linux Trace Toolkit Visualizer made by\n\ +Inspired from the original Linux Trace Toolkit Visualizer made by\n\ Karim Yaghmour"); GtkWidget *label3 = gtk_label_new(""); gtk_label_set_markup(GTK_LABEL(label3), "\ -Linux Trace Toolkit Viewer, Copyright (C) 2004\n\ +Linux Trace Toolkit Viewer, Copyright (C) 2004, 2005, 2006\n\ Michel Dagenais\n\ Mathieu Desnoyers\n\ Xang-Xiu Yang\n\ @@ -4852,7 +4851,7 @@ gboolean execute_events_requests(Tab *tab) } -void create_main_window_with_trace_list(GSList *traces) +__EXPORT void create_main_window_with_trace_list(GSList *traces) { GSList *iter = NULL; @@ -4894,7 +4893,7 @@ void create_main_window_with_trace_list(GSList *traces) GTK_DIALOG_MODAL|GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, - "Cannot open trace : maybe you should enter in the directory" + "Cannot open trace : maybe you should enter in the directory " "to select it ?"); gtk_dialog_run(GTK_DIALOG(dialogue)); gtk_widget_destroy(dialogue);