From 0f224e134234a6fb880613babd45942ece918f92 Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Fri, 27 Oct 2006 14:51:46 +0000 Subject: Cleanups. Fallback to using hardcoded paths if binreloc fails. Add GTK+ log handler (shows errors and warnings in a graphical window). --- hardinfo2/menu.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'hardinfo2/menu.c') diff --git a/hardinfo2/menu.c b/hardinfo2/menu.c index 0d9b64eb..e663f918 100644 --- a/hardinfo2/menu.c +++ b/hardinfo2/menu.c @@ -37,7 +37,7 @@ static GtkActionEntry entries[] = { "ReportAction", HI_STOCK_REPORT, /* name, stock id */ "Generate _Report", "R", /* label, accelerator */ - "Creates a report in HTML", /* tooltip */ + NULL, /* tooltip */ G_CALLBACK(cb_generate_report) }, { "CopyAction", GTK_STOCK_COPY, @@ -116,7 +116,7 @@ void menu_init(Shell *shell) g_free(uidefs_path); if (error) { - g_error("building menus failed: %s", error->message); + g_error("Building menus failed: %s", error->message); g_error_free(error); return; } @@ -138,3 +138,4 @@ void menu_init(Shell *shell) gtk_toolbar_set_style(GTK_TOOLBAR(gtk_ui_manager_get_widget(shell->ui_manager, "/MainMenuBarAction")), GTK_TOOLBAR_BOTH_HORIZ); } + -- cgit v1.2.3