[latexila] Mallard doc: use "ghelp:latexila" URI to open it
- From: SÃbastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila] Mallard doc: use "ghelp:latexila" URI to open it
- Date: Sun, 17 Jul 2011 00:56:38 +0000 (UTC)
commit 9c1b28ff2a606e61ed4a3d42910fe1acf98974e4
Author: SÃbastien Wilmet <swilmet src gnome org>
Date: Sun Jul 17 02:36:11 2011 +0200
Mallard doc: use "ghelp:latexila" URI to open it
CMakeLists.txt | 4 +---
TODO | 9 ++++++---
help/C/CMakeLists.txt | 2 --
help/CMakeLists.txt | 4 ++++
src/config.h.in | 1 -
src/main_window.vala | 2 +-
vapi/config.vapi | 1 -
7 files changed, 12 insertions(+), 11 deletions(-)
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8ff5096..1c18294 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -49,8 +49,6 @@ else ()
set (DESKTOP_SCHEMAS "0")
endif ()
-set (HELP_DIR ${DATA_DIR}/help/C)
-
configure_file (${latexila_SOURCE_DIR}/src/config.h.in
${latexila_BINARY_DIR}/src/config.h)
add_definitions (-include config.h)
@@ -84,4 +82,4 @@ else ()
endif ()
add_subdirectory (src/ui)
add_subdirectory (data)
-add_subdirectory (help/C)
+add_subdirectory (help)
diff --git a/TODO b/TODO
index 24e2856..1750ff9 100644
--- a/TODO
+++ b/TODO
@@ -6,8 +6,11 @@ See also the Roadmap:
LaTeXila 2.2
============
-- Documentation:
- - use gnome-doc-utils (autotools are required, so bye bye CMake :( )
+- use ITS tool (http://itstool.org/):
+ - for the Mallard doc
+ - for the build tools
+ - for the templates
+ - ...?
- Build Tools:
- Some problems with the latex and latexmk post processors
@@ -20,7 +23,7 @@ LaTeXila 2.2
LaTeXila â 2.4
==============
-- Auto-completion:
+- Completion:
- show details by default
- complete placeholders (\ref, \cite, ...)
(take into account all *.tex, *.bib, ... files of the project)
diff --git a/help/CMakeLists.txt b/help/CMakeLists.txt
new file mode 100644
index 0000000..d9733ab
--- /dev/null
+++ b/help/CMakeLists.txt
@@ -0,0 +1,4 @@
+install (
+ DIRECTORY "C"
+ DESTINATION "${CMAKE_INSTALL_PREFIX}/share/gnome/help/latexila"
+)
diff --git a/src/config.h.in b/src/config.h.in
index 64ba216..36b8fed 100644
--- a/src/config.h.in
+++ b/src/config.h.in
@@ -28,6 +28,5 @@
#define SCHEMA_DIR "@SCHEMA_DIR@"
#define ICONS_DIR "@ICONS_DIR@"
#define DESKTOP_SCHEMAS @DESKTOP_SCHEMAS@
-#define HELP_DIR "@HELP_DIR@"
#endif /* LATEXILA_CONFIG_H */
diff --git a/src/main_window.vala b/src/main_window.vala
index c130fcc..8c68d86 100644
--- a/src/main_window.vala
+++ b/src/main_window.vala
@@ -1852,7 +1852,7 @@ public class MainWindow : Window
{
try
{
- show_uri (this.get_screen (), "ghelp:" + Config.HELP_DIR, Gdk.CURRENT_TIME);
+ show_uri (this.get_screen (), "ghelp:latexila", Gdk.CURRENT_TIME);
}
catch (Error e)
{
diff --git a/vapi/config.vapi b/vapi/config.vapi
index 5a9ddd0..4faf2b6 100644
--- a/vapi/config.vapi
+++ b/vapi/config.vapi
@@ -9,5 +9,4 @@ namespace Config
public const string SCHEMA_DIR;
public const string ICONS_DIR;
public const bool DESKTOP_SCHEMAS;
- public const string HELP_DIR;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]