[Nautilus-list] Patch for bugs #75830 and #75372



May I commit this patch?

	Benedikt
? nautilus.patch
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/nautilus/ChangeLog,v
retrieving revision 1.5241
diff -p -u -r1.5241 ChangeLog
--- ChangeLog	24 Apr 2002 14:40:35 -0000	1.5241
+++ ChangeLog	25 Apr 2002 15:54:41 -0000
@@ -1,3 +1,15 @@
+2002-04-25  Benedikt Roth  <Benedikt Roth gmx net>
+
+	* libnautilus-private/nautilus-program-chooser.c:
+	(launch_mime_capplet_on_ok),
+	(nautilus_program_chooser_show_no_choices_message):
+	Changed OK to Yes, as this is a Yes/No question.
+	Fixed dialog to really open the capplet when choosing yes (#75372).
+
+	* nautilus.desktop.in: (Bugzilla Bug: 75830) Use the stock home icon
+	for the Home folder in applications menu. 
+	(Patch from Dennis Cranston <dennis_cranston yahoo com>)
+
 2002-04-24  Jody Goldberg <jody gnome org>
 
 	* src/file-manager/fm-list-model.c
Index: nautilus.desktop.in
===================================================================
RCS file: /cvs/gnome/nautilus/nautilus.desktop.in,v
retrieving revision 1.6
diff -p -u -r1.6 nautilus.desktop.in
--- nautilus.desktop.in	20 Apr 2002 21:11:25 -0000	1.6
+++ nautilus.desktop.in	25 Apr 2002 15:54:41 -0000
@@ -3,7 +3,7 @@ _Name=Home Folder
 _Comment=View your home folder in the Nautilus file manager
 TryExec=nautilus
 Exec=nautilus
-Icon=nautilus/nautilus-launch-icon.png
+Icon=gnome-home.png
 Terminal=0
 Type=Application
 Categories=Application;Core;
Index: libnautilus-private/nautilus-program-chooser.c
===================================================================
RCS file: /cvs/gnome/nautilus/libnautilus-private/nautilus-program-chooser.c,v
retrieving revision 1.71
diff -p -u -r1.71 nautilus-program-chooser.c
--- libnautilus-private/nautilus-program-chooser.c	11 Apr 2002 17:03:34 -0000	1.71
+++ libnautilus-private/nautilus-program-chooser.c	25 Apr 2002 15:54:42 -0000
@@ -929,8 +929,8 @@ static void
 launch_mime_capplet_on_ok (GtkDialog *dialog, int response, gpointer callback_data)
 {
 	g_assert (GTK_IS_DIALOG (dialog));
-	
-	if (response == GTK_RESPONSE_OK) {
+
+	if (response == GTK_RESPONSE_YES) {
 		launch_mime_capplet (callback_data);
 	}
 	gtk_object_destroy (GTK_OBJECT (dialog));
@@ -1543,7 +1543,7 @@ nautilus_program_chooser_show_no_choices
 				    "you want to go there now?"),
 				  unavailable_message);
 	dialog = eel_show_yes_no_dialog 
-		(prompt, dialog_title, GTK_STOCK_OK, GTK_STOCK_CANCEL, parent_window);
+		(prompt, dialog_title, GTK_STOCK_YES, GTK_STOCK_CANCEL, parent_window);
 
 	g_signal_connect (dialog, "response",
 			  G_CALLBACK (launch_mime_capplet_on_ok),


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