[anjuta] anjuta: Remove old tutorial links
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] anjuta: Remove old tutorial links
- Date: Sat, 24 Dec 2011 20:30:55 +0000 (UTC)
commit eb87ddd1016c812d95ecbf9536f19890757af91b
Author: SÃbastien Granjoux <seb sfo free fr>
Date: Sat Dec 24 21:11:14 2011 +0100
anjuta: Remove old tutorial links
src/action-callbacks.c | 18 ------------------
src/action-callbacks.h | 2 --
src/anjuta-actions.h | 8 --------
src/anjuta-app.c | 6 ------
src/anjuta.xml | 2 --
5 files changed, 0 insertions(+), 36 deletions(-)
---
diff --git a/src/action-callbacks.c b/src/action-callbacks.c
index 1eecdcb..ebbeec5 100644
--- a/src/action-callbacks.c
+++ b/src/action-callbacks.c
@@ -120,12 +120,6 @@ on_set_preferences1_activate (GtkAction * action, AnjutaApp *app)
gtk_widget_show (preferences_dialog);
}
-static void
-help_activate (GtkWidget *parent, const gchar *doc_id, const gchar *item)
-{
- anjuta_util_help_display (parent, doc_id, item);
-}
-
void
on_help_manual_activate (GtkAction *action, gpointer data)
{
@@ -139,18 +133,6 @@ on_help_manual_activate (GtkAction *action, gpointer data)
}
void
-on_help_tutorial_activate (GtkAction *action, gpointer data)
-{
- help_activate (data, "anjuta-tutorial", "anjuta-tutorial.xml");
-}
-
-void
-on_help_advanced_tutorial_activate (GtkAction *action, gpointer data)
-{
- help_activate (data, "anjuta-advanced-tutorial", "anjuta-advanced-tutorial.xml");
-}
-
-void
on_help_faqs_activate (GtkAction *action, gpointer data)
{
GError* error = NULL;
diff --git a/src/action-callbacks.h b/src/action-callbacks.h
index f354a4e..6a71f60 100644
--- a/src/action-callbacks.h
+++ b/src/action-callbacks.h
@@ -31,8 +31,6 @@ void on_set_preferences1_activate (GtkAction * action, AnjutaApp *app);
/* Help actions */
void on_help_manual_activate (GtkAction *action, gpointer data);
-void on_help_tutorial_activate (GtkAction *action, gpointer data);
-void on_help_advanced_tutorial_activate (GtkAction *action, gpointer data);
void on_help_faqs_activate (GtkAction *action, gpointer data);
void on_url_home_activate (GtkAction * action, gpointer user_data);
diff --git a/src/anjuta-actions.h b/src/anjuta-actions.h
index 1fa0541..fb46193 100644
--- a/src/anjuta-actions.h
+++ b/src/anjuta-actions.h
@@ -63,14 +63,6 @@ static GtkActionEntry menu_entries_help[] = {
N_("_User's Manual"), "F1",
N_("Anjuta user's manual"),
G_CALLBACK (on_help_manual_activate)},
- { "ActionHelpTutorial", NULL,
- N_("Kick start _tutorial"), NULL,
- N_("Anjuta Kick start tutorial"),
- G_CALLBACK (on_help_tutorial_activate)},
- { "ActionHelpAdvancedTutorial", NULL,
- N_("_Advanced tutorial"), NULL,
- N_("Anjuta advanced tutorial"),
- G_CALLBACK (on_help_advanced_tutorial_activate)},
{ "ActionHelpFaqManual", NULL,
N_("_Frequently Asked Questions"), NULL,
N_("Anjuta frequently asked questions"),
diff --git a/src/anjuta-app.c b/src/anjuta-app.c
index 98e6993..73e5632 100644
--- a/src/anjuta-app.c
+++ b/src/anjuta-app.c
@@ -681,12 +681,6 @@ anjuta_app_instance_init (AnjutaApp *app)
"/MenuMain/MenuView");
app->view_menu = gtk_menu_item_get_submenu (GTK_MENU_ITEM (view_menu));
- /* Disable unavailible tutorials */
- action = anjuta_ui_get_action(app->ui, "ActionGroupHelp", "ActionHelpTutorial");
- g_object_set(G_OBJECT(action), "visible", FALSE, NULL);
- action = anjuta_ui_get_action(app->ui, "ActionGroupHelp", "ActionHelpAdvancedTutorial");
- g_object_set(G_OBJECT(action), "visible", FALSE, NULL);
-
/* Create about plugins menu */
about_menu =
gtk_ui_manager_get_widget (GTK_UI_MANAGER(app->ui),
diff --git a/src/anjuta.xml b/src/anjuta.xml
index 8afc063..05b6731 100644
--- a/src/anjuta.xml
+++ b/src/anjuta.xml
@@ -41,8 +41,6 @@
<placeholder name="PlaceHolderHelpDevel" >
<separator name="separator1" />
<menuitem name="UserManual" action="ActionHelpUserManual" />
- <menuitem name="Tutorial" action="ActionHelpTutorial" />
- <menuitem name="AdvancedTutorial" action="ActionHelpAdvancedTutorial" />
<menuitem name="FaqManual" action="ActionHelpFaqManual" />
</placeholder>
<placeholder name="PlaceHolderHelpWeb" >
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]