[gnome-terminal] help: prefs: Add preference help



commit 2c29d1c7061c5bd7be1e3352d36e28c9b87ad8f6
Author: Ekaterina Gerasimova <kittykat3756 gmail com>
Date:   Sun Mar 3 20:06:08 2013 +0000

    help: prefs: Add preference help
    
    Add guide page for preferences, link all preferences to it and update
    the help button.

 help/C/adv-keyboard-shortcuts.page |    1 +
 help/C/pref-encoding.page          |    2 +-
 help/C/pref-keyboard-access.page   |    2 +-
 help/C/pref-menubar.page           |    1 +
 help/C/pref-profiles.page          |    1 +
 help/C/pref.page                   |   20 ++++++++++++++++++++
 help/Makefile.am                   |    1 +
 src/terminal-prefs.c               |    4 +---
 8 files changed, 27 insertions(+), 5 deletions(-)
---
diff --git a/help/C/adv-keyboard-shortcuts.page b/help/C/adv-keyboard-shortcuts.page
index 3de3f7f..46c203b 100644
--- a/help/C/adv-keyboard-shortcuts.page
+++ b/help/C/adv-keyboard-shortcuts.page
@@ -6,6 +6,7 @@
   <info>
     <revision version="0.1" date="2013-02-17" status="candidate"/>
     <link type="guide" xref="index#advanced"/>
+    <link type="guide" xref="pref"/>
     <link type="seealso" xref="pref-keyboard-access" />
 
     <credit type="author copyright">
diff --git a/help/C/pref-encoding.page b/help/C/pref-encoding.page
index 396e629..f91f4fb 100644
--- a/help/C/pref-encoding.page
+++ b/help/C/pref-encoding.page
@@ -3,7 +3,7 @@
       id="pref-encoding">
   <info>
     <link type="guide" xref="index#preferences"/>
-    <link type="guide" xref="profile"/>
+    <link type="guide" xref="pref"/>
     <revision version="0.1" date="2013-03-02" status="candidate"/>
 
     <credit type="author copyright">
diff --git a/help/C/pref-keyboard-access.page b/help/C/pref-keyboard-access.page
index 51f34d7..4fd834a 100644
--- a/help/C/pref-keyboard-access.page
+++ b/help/C/pref-keyboard-access.page
@@ -5,7 +5,7 @@
   <info>
     <revision version="0.1" date="2013-02-25" status="candidate"/>
     <link type="guide" xref="index#preferences"/>
-    <link type="guide" xref="profile"/>
+    <link type="guide" xref="pref"/>
     <link type="seealso" xref="pref-menubar"/>
 
     <credit type="author copyright">
diff --git a/help/C/pref-menubar.page b/help/C/pref-menubar.page
index a411d84..9863285 100644
--- a/help/C/pref-menubar.page
+++ b/help/C/pref-menubar.page
@@ -5,6 +5,7 @@
   <info>
     <revision version="0.1" date="2013-02-21" status="candidate"/>
     <link type="guide" xref="index#preferences"/>
+    <link type="guide" xref="pref"/>
     <link type="seealso" xref="adv-keyboards-access"/>
     <link type="seealso" xref="app-fullscreen"/>
 
diff --git a/help/C/pref-profiles.page b/help/C/pref-profiles.page
index 8c98f27..612fa5e 100644
--- a/help/C/pref-profiles.page
+++ b/help/C/pref-profiles.page
@@ -5,6 +5,7 @@
   <info>
     <revision version="0.1" date="2013-03-03" status="candidate"/>
     <link type="guide" xref="index#preferences"/>
+    <link type="guide" xref="pref"/>
 
     <credit type="author copyright">
       <name>Sindhu S</name>
diff --git a/help/C/pref.page b/help/C/pref.page
new file mode 100644
index 0000000..e904795
--- /dev/null
+++ b/help/C/pref.page
@@ -0,0 +1,20 @@
+<page xmlns="http://projectmallard.org/1.0/";
+      type="guide" style="2column task"
+      id="pref">
+
+  <info>
+    <revision version="0.1" date="2013-03-02" status="draft"/>
+
+    <credit type="author">
+      <name>Ekaterina Gerasimova</name>
+      <email>kittykat3756 gmail com</email>
+    </credit>
+
+    <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
+
+    <desc></desc>
+  </info>
+
+  <title><app>Terminal</app> preferences</title>
+
+</page>
diff --git a/help/Makefile.am b/help/Makefile.am
index 0634d2f..a6b52e0 100644
--- a/help/Makefile.am
+++ b/help/Makefile.am
@@ -23,6 +23,7 @@ HELP_FILES = \
        introduction.page \
        legal.xml \
        overview.page \
+       pref.page \
        pref-bell.page \
        pref-custom-exit.page \
        pref-custom-shells.page \
diff --git a/src/terminal-prefs.c b/src/terminal-prefs.c
index 4408865..9d5bea7 100644
--- a/src/terminal-prefs.c
+++ b/src/terminal-prefs.c
@@ -61,9 +61,7 @@ prefs_dialog_response_cb (GtkWidget *editor,
 {
   if (response == GTK_RESPONSE_HELP)
     {
-      terminal_util_show_help ("gnome-terminal-shortcuts", GTK_WINDOW (data->dialog));
-      //      terminal_util_show_help ("gnome-terminal-manage-profiles", GTK_WINDOW (data->dialog));
-      //    terminal_util_show_help ("gnome-terminal-encoding-add", GTK_WINDOW (window));
+      terminal_util_show_help ("pref", GTK_WINDOW (data->dialog));
       return;
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]