[anjuta] manuals: Add fullscreen to faq and fixed faq loading
- From: Johannes Schmid <jhs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] manuals: Add fullscreen to faq and fixed faq loading
- Date: Sat, 4 Dec 2010 13:50:59 +0000 (UTC)
commit 29e18279b6f24580c7816058054e2a481929a009
Author: Johannes Schmid <jhs gnome org>
Date: Sat Dec 4 14:50:17 2010 +0100
manuals: Add fullscreen to faq and fixed faq loading
manuals/anjuta-faqs/C/index.page | 5 +++++
manuals/anjuta-faqs/Makefile.am | 2 +-
plugins/project-wizard/templates/Makefile.am | 6 ++++--
src/action-callbacks.c | 8 +++++++-
4 files changed, 17 insertions(+), 4 deletions(-)
---
diff --git a/manuals/anjuta-faqs/C/index.page b/manuals/anjuta-faqs/C/index.page
index 5a56865..b893174 100644
--- a/manuals/anjuta-faqs/C/index.page
+++ b/manuals/anjuta-faqs/C/index.page
@@ -62,6 +62,11 @@
<title>How can I use anjuta with an existing project?</title>
<p>Simply run <guiseq><gui>File</gui><gui>New</gui><gui>Project from existing sources</gui></guiseq></p>
</item>
+ <item>
+ <title>How can I maximize the editor window?</title>
+ <p>Double-click on the current tab to maximize the document window.
+ Do the same again restore the previous state of all docked windows.</p>
+ </item>
</terms>
</section>
diff --git a/manuals/anjuta-faqs/Makefile.am b/manuals/anjuta-faqs/Makefile.am
index fa296f5..ab2328a 100644
--- a/manuals/anjuta-faqs/Makefile.am
+++ b/manuals/anjuta-faqs/Makefile.am
@@ -1,7 +1,7 @@
include $(top_srcdir)/gnome-doc-utils.make
-DOC_ID = anjuta
+DOC_ID = anjuta-faqs
DOC_PAGES = index.page
DOC_LINGUAS =
DOC_FIGURES =
diff --git a/plugins/project-wizard/templates/Makefile.am b/plugins/project-wizard/templates/Makefile.am
index fb6cbad..3035dc8 100644
--- a/plugins/project-wizard/templates/Makefile.am
+++ b/plugins/project-wizard/templates/Makefile.am
@@ -1,7 +1,8 @@
SUBDIRS = minimal terminal cpp gtk gtkapplication anjuta-plugin \
gtkmm wxwin xlib xlib-dock gcj java pygtk \
- python mkfile sdl library directory licenses m4 js_minimal
+ python mkfile sdl library directory licenses m4 js_minimal \
+ vala-gtk
template_in_files = \
minimal.wiz.in \
@@ -22,7 +23,8 @@ template_in_files = \
pygtk.wiz.in \
mkfile.wiz.in \
sdl.wiz.in \
- library.wiz.in
+ library.wiz.in \
+ vala-gtk.wiz.in
wizard_filesdir = $(anjuta_data_dir)/project
wizard_files_DATA = \
diff --git a/src/action-callbacks.c b/src/action-callbacks.c
index c8b8bb6..24c09f6 100644
--- a/src/action-callbacks.c
+++ b/src/action-callbacks.c
@@ -147,7 +147,13 @@ on_help_advanced_tutorial_activate (GtkAction *action, gpointer data)
void
on_help_faqs_activate (GtkAction *action, gpointer data)
{
- help_activate (data, "anjuta-faqs", "index.page");
+ GError* error = NULL;
+ if (!g_spawn_command_line_async ("yelp ghelp:anjuta-faqs", &error) &&
+ error)
+ {
+ g_warning ("Could open FAQ: %s", error->message);
+ g_error_free (error);
+ }
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]