From f5f1a04ee9c3fdb8c42308863fb7288a8560a613 Mon Sep 17 00:00:00 2001 From: compudj Date: Wed, 11 Oct 2006 18:42:52 +0000 Subject: [PATCH] add version to help and about git-svn-id: http://ltt.polymtl.ca/svn@2196 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/configure.in | 2 +- ltt/branches/poly/lttv/lttv/main.c | 2 +- .../lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ltt/branches/poly/configure.in b/ltt/branches/poly/configure.in index 3c797808..32b45c2c 100644 --- a/ltt/branches/poly/configure.in +++ b/ltt/branches/poly/configure.in @@ -23,7 +23,7 @@ AC_PREREQ(2.57) AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS) #AC_WITH_LTDL # not needed ? -AM_INIT_AUTOMAKE(LinuxTraceToolkitViewer,0.8.64-11102006) +AM_INIT_AUTOMAKE(LinuxTraceToolkitViewer,0.8.65-11102006) AM_CONFIG_HEADER(config.h) AM_PROG_LIBTOOL diff --git a/ltt/branches/poly/lttv/lttv/main.c b/ltt/branches/poly/lttv/lttv/main.c index 29aa288e..a9ebf627 100644 --- a/ltt/branches/poly/lttv/lttv/main.c +++ b/ltt/branches/poly/lttv/lttv/main.c @@ -272,7 +272,7 @@ void lttv_fatal(void *hook_data) void lttv_help(void *hook_data) { - printf("Linux Trace Toolkit Visualizer\n"); + printf("Linux Trace Toolkit Visualizer " VERSION "\n"); printf("\n"); lttv_option_show_help(); printf("\n"); 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 d313a006..98f58d60 100644 --- a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c +++ b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c @@ -3085,7 +3085,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 +3104,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 +3123,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\ -- 2.34.1