LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File gnome-panel-beagle-search.patch of Package gnome-panel-nld (Project home:winddss:gnome-panel-nld)

--- gnome-panel/panel-action-button.c
+++ gnome-panel/panel-action-button.c
@@ -188,11 +188,11 @@
 	GnomeDesktopItem *ditem;
 	GdkScreen *screen;
 	GError    *error = NULL;
-	char      *argv[2] = {"gnome-search-tool", NULL};
+	char      *argv[2] = {"nautilus", "x-nautilus-search:", NULL};
 	char      *file;
 
 	screen = gtk_widget_get_screen (widget);
-	file = panel_lookup_in_data_dirs ("applications/gnome-search-tool.desktop");
+	file = panel_lookup_in_data_dirs ("applications/nautilus-search.desktop");
 
 	if (file) {
 		ditem = gnome_desktop_item_new_from_file (file, 0, &error);
@@ -203,10 +203,10 @@
 		}
 		if (error) {
 			panel_error_dialog (screen,
-			                    "cannot_exec_gnome-search-tool", TRUE,
+			                    "cannot_exec_nautilus-search", TRUE,
 			                    _("Cannot execute '%s'"),
 			                    "%s",
-			                    "gnome-search-tool",
+			                    "nautilus x-nautilus-search:",
 			                    error->message);
 			g_error_free (error);
 		}
@@ -216,10 +216,10 @@
 				  G_SPAWN_SEARCH_PATH,
 				  NULL, NULL, NULL, &error)) {
 		panel_error_dialog (screen,
-				    "cannot_exec_gnome-search-tool", TRUE,
+				    "cannot_exec_nautilus-search", TRUE,
 				    _("Cannot execute '%s'"),
 				    "%s",
-				    "gnome-search-tool",
+				    "nautilus x-nautilus-search:",
 				    error->message);
 		g_error_free (error);
 	}
--- gnome-panel/panel-menu-items.c
+++ gnome-panel/panel-menu-items.c
@@ -578,7 +578,7 @@
 	add_menu_separator (places_menu);
 
 	panel_menu_items_append_from_desktop (places_menu,
-					      "gnome-search-tool.desktop",
+					      "nautilus-search.desktop",
 					      NULL);
 
 	*recent_view = panel_recent_append_documents_menu (places_menu,