[nautilus] Fixing help buttons to go to new gnome-help pages



commit 69a3e83971e2f0963d0c68f4b3e84612ff4032e8
Author: Shaun McCance <shaunm gnome org>
Date:   Sun Mar 27 17:34:08 2011 -0400

    Fixing help buttons to go to new gnome-help pages

 src/nautilus-bookmarks-window.c           |    2 +-
 src/nautilus-connect-server-dialog.c      |    2 +-
 src/nautilus-file-management-properties.c |   15 ++++++---------
 src/nautilus-properties-window.c          |    2 +-
 src/nautilus-view.c                       |    2 +-
 src/nautilus-window-menus.c               |    2 +-
 6 files changed, 11 insertions(+), 14 deletions(-)
---
diff --git a/src/nautilus-bookmarks-window.c b/src/nautilus-bookmarks-window.c
index 4005f9b..14f3cad 100644
--- a/src/nautilus-bookmarks-window.c
+++ b/src/nautilus-bookmarks-window.c
@@ -146,7 +146,7 @@ nautilus_bookmarks_window_response_callback (GtkDialog *dialog,
 		GError *error = NULL;
 
 		gtk_show_uri (gtk_window_get_screen (GTK_WINDOW (dialog)),
-			      "ghelp:user-guide#gosnautilus-36",
+			      "ghelp:gnome-help#nautilus-bookmarks-edit",
 			      gtk_get_current_event_time (), &error);
 
 		if (error) {
diff --git a/src/nautilus-connect-server-dialog.c b/src/nautilus-connect-server-dialog.c
index bc17ee9..11d9fec 100644
--- a/src/nautilus-connect-server-dialog.c
+++ b/src/nautilus-connect-server-dialog.c
@@ -674,7 +674,7 @@ connect_dialog_response_cb (NautilusConnectServerDialog *dialog,
 	case GTK_RESPONSE_HELP :
 		error = NULL;
 		gtk_show_uri (gtk_window_get_screen (GTK_WINDOW (dialog)),
-			      "ghelp:user-guide#nautilus-server-connect",
+			      "ghelp:gnome-help#nautilus-connect",
 			      gtk_get_current_event_time (), &error);
 		if (error) {
 			eel_show_error_dialog (_("There was an error displaying help."), error->message,
diff --git a/src/nautilus-file-management-properties.c b/src/nautilus-file-management-properties.c
index a7aa6fa..b94918f 100644
--- a/src/nautilus-file-management-properties.c
+++ b/src/nautilus-file-management-properties.c
@@ -225,25 +225,22 @@ nautilus_file_management_properties_dialog_response_cb (GtkDialog *parent,
 		switch (gtk_notebook_get_current_page (GTK_NOTEBOOK (gtk_builder_get_object (builder, "notebook1")))) {
 		default:
 		case 0:
-			section = "gosnautilus-438";
+			section = "nautilus-views";
 			break;
 		case 1:
-			section = "gosnautilus-56";
+			section = "nautilus-behavior";
 			break;
 		case 2:
-			section = "gosnautilus-439";
+			section = "nautilus-display";
 			break;
 		case 3:
-			section = "gosnautilus-490";
+			section = "nautilus-list";
 			break;
 		case 4:
-			section = "gosnautilus-60";
-			break;
-		case 5:
-			section = "gosnautilus-61";
+			section = "nautilus-preview";
 			break;
 		}
-		preferences_show_help (GTK_WINDOW (parent), "user-guide", section);
+		preferences_show_help (GTK_WINDOW (parent), "gnome-help", section);
 	} else if (response_id == GTK_RESPONSE_CLOSE) {
 		gtk_widget_destroy (GTK_WIDGET (parent));
 	}
diff --git a/src/nautilus-properties-window.c b/src/nautilus-properties-window.c
index de3acd0..f5a1c34 100644
--- a/src/nautilus-properties-window.c
+++ b/src/nautilus-properties-window.c
@@ -5158,7 +5158,7 @@ real_response (GtkDialog *dialog,
 	switch (response) {
 	case GTK_RESPONSE_HELP:
 		gtk_show_uri (gtk_window_get_screen (GTK_WINDOW (dialog)),
-			      "ghelp:user-guide#gosnautilus-51",
+			      "ghelp:gnome-help#nautilus-file-properties-basic",
 			      gtk_get_current_event_time (),
 			      &error);
 		if (error != NULL) {
diff --git a/src/nautilus-view.c b/src/nautilus-view.c
index d228f1e..f3f2360 100644
--- a/src/nautilus-view.c
+++ b/src/nautilus-view.c
@@ -1512,7 +1512,7 @@ pattern_select_response_cb (GtkWidget *dialog, int response, gpointer user_data)
 	case GTK_RESPONSE_HELP :
 		error = NULL;
 		gtk_show_uri (gtk_window_get_screen (GTK_WINDOW (dialog)),
-			      "ghelp:user-guide#nautilus-select-pattern",
+			      "ghelp:gnome-help#files-select",
 			      gtk_get_current_event_time (), &error);
 		if (error) {
 			eel_show_error_dialog (_("There was an error displaying help."), error->message,
diff --git a/src/nautilus-window-menus.c b/src/nautilus-window-menus.c
index 125d62f..a95978a 100644
--- a/src/nautilus-window-menus.c
+++ b/src/nautilus-window-menus.c
@@ -422,7 +422,7 @@ action_nautilus_manual_callback (GtkAction *action,
 		nautilus_launch_application_from_command (gtk_window_get_screen (GTK_WINDOW (window)), "gnome-help", FALSE, NULL);
 	} else {
 		gtk_show_uri (gtk_window_get_screen (GTK_WINDOW (window)),
-			      "ghelp:user-guide#gosnautilus-1",
+			      "ghelp:gnome-help#files",
 			      gtk_get_current_event_time (), &error);
 	}
 



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