[nautilus] Update to the new API.



commit e6d70ef8a41bd0c6e6685f07e85e266e3227c61c
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu May 6 18:17:17 2010 +0200

    Update to the new API.

 src/nautilus-bookmarks-window.c    |    4 ++--
 src/nautilus-window-manage-views.c |    2 +-
 src/nautilus-window.c              |    4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/nautilus-bookmarks-window.c b/src/nautilus-bookmarks-window.c
index 98fc4c2..b468823 100644
--- a/src/nautilus-bookmarks-window.c
+++ b/src/nautilus-bookmarks-window.c
@@ -821,8 +821,8 @@ update_bookmark_from_text (void)
 		location = g_file_parse_name 
 			(gtk_entry_get_text (GTK_ENTRY (uri_field)));
 		
-		bookmark = nautilus_bookmark_new_with_icon (location, gtk_entry_get_text (GTK_ENTRY (name_field)),
-							    name_text_changed, NULL);
+		bookmark = nautilus_bookmark_new (location, gtk_entry_get_text (GTK_ENTRY (name_field)),
+		                                  name_text_changed, NULL);
 		
 		g_object_unref (location);
 
diff --git a/src/nautilus-window-manage-views.c b/src/nautilus-window-manage-views.c
index bc873a2..f982c39 100644
--- a/src/nautilus-window-manage-views.c
+++ b/src/nautilus-window-manage-views.c
@@ -144,7 +144,7 @@ set_displayed_location (NautilusWindowSlot *slot, GFile *location)
 		slot->last_location_bookmark = slot->current_location_bookmark;
 		name = g_file_get_uri (location);
 		slot->current_location_bookmark = (location == NULL) ? NULL
-                        : nautilus_bookmark_new (location, name);
+                        : nautilus_bookmark_new (location, name, TRUE, NULL);
 		g_free (name);
         }
 }
diff --git a/src/nautilus-window.c b/src/nautilus-window.c
index 2bc2c73..939ee11 100644
--- a/src/nautilus-window.c
+++ b/src/nautilus-window.c
@@ -1669,7 +1669,7 @@ nautilus_remove_from_history_list_no_notify (GFile *location)
 {
 	NautilusBookmark *bookmark;
 
-	bookmark = nautilus_bookmark_new (location, "");
+	bookmark = nautilus_bookmark_new (location, "", FALSE, NULL);
 	remove_from_history_list (bookmark);
 	g_object_unref (bookmark);
 }
@@ -1683,7 +1683,7 @@ nautilus_add_to_history_list_no_notify (GFile *location,
 	NautilusBookmark *bookmark;
 	gboolean ret;
 
-	bookmark = nautilus_bookmark_new_with_icon (location, name, has_custom_name, icon);
+	bookmark = nautilus_bookmark_new (location, name, has_custom_name, icon);
 	ret = nautilus_add_bookmark_to_history_list (bookmark);
 	g_object_unref (bookmark);
 



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