From e89c27826741334b35d8952c769f66d11eaedce8 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sun, 18 Dec 2005 04:33:29 +0000 Subject: Use libedataserver's e_xml_parse_file() instead of xmlParseFile() 2005-12-17 Tor Lillqvist * e-config-upgrade.c: Use libedataserver's e_xml_parse_file() instead of xmlParseFile() directly. * e-shell.c * e-shell-importer.c: Use GLib API when applicable. * e-shell-importer.c * e-shell-window.c: Construct pathname of glade file at run-time. * e-shell-window-commands.c: Include e-util-private.h for Win32 redefinition of EVOLUTION_DATADIR. * main.c: No SIGSEGV handling on Win32. (main): Drop unused evolution_directory variable. svn path=/trunk/; revision=30849 --- shell/e-shell-window-commands.c | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) (limited to 'shell/e-shell-window-commands.c') diff --git a/shell/e-shell-window-commands.c b/shell/e-shell-window-commands.c index 51619a09aa..fc6b482b72 100644 --- a/shell/e-shell-window-commands.c +++ b/shell/e-shell-window-commands.c @@ -20,26 +20,16 @@ * Author: Ettore Perazzoli */ -#ifdef HAVE_CONFIG_H #include -#endif - -#include "e-shell-window-commands.h" - -#include "e-shell-importer.h" -#include "e-shell-window.h" - -#include "evolution-shell-component-utils.h" -#include "e-util/e-icon-factory.h" -#include "e-util/e-dialog-utils.h" -#include "e-util/e-error.h" +#include #include #include -#include #include +#include + #include #include @@ -51,7 +41,17 @@ #include #include -#include + +#include "e-util/e-icon-factory.h" +#include "e-util/e-dialog-utils.h" +#include "e-util/e-error.h" +#include "e-util/e-util-private.h" + +#include "e-shell-window-commands.h" +#include "e-shell-window.h" +#include "evolution-shell-component-utils.h" + +#include "e-shell-importer.h" /* Utility functions. */ @@ -577,6 +577,8 @@ command_about_box (BonoboUIComponent *uih, gtk_widget_show (about_box_window); } +#if 0 +/* Unused */ static void command_help_faq (BonoboUIComponent *uih, EShellWindow *window, @@ -586,6 +588,7 @@ command_help_faq (BonoboUIComponent *uih, /* FIXME use the error */ gnome_url_show ("http://gnome.org/projects/evolution/faq.shtml", NULL); } +#endif static void command_quick_reference (BonoboUIComponent *uih, -- cgit v1.2.3