summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/bookmark_manager_gtk.cc
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-13 03:17:31 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-13 03:17:31 +0000
commiteabecbe43e7f5f238503383d481a01d39e4380cf (patch)
treefff501860f1c033f4c426e886dabd83aae764c16 /chrome/browser/gtk/bookmark_manager_gtk.cc
parentc4789ead19306b64518910ad8be4ff6b835cf509 (diff)
downloadchromium_src-eabecbe43e7f5f238503383d481a01d39e4380cf.zip
chromium_src-eabecbe43e7f5f238503383d481a01d39e4380cf.tar.gz
chromium_src-eabecbe43e7f5f238503383d481a01d39e4380cf.tar.bz2
Wires up bookmark all tabs on linux.
BUG=2935 TEST=Create two tabs, press control-shift-d. You should be presented with a dialog that lets you give a name to a folder. Change the name, press enter and make sure you get a bookmark folder populated with the urls of any open tabs. Review URL: http://codereview.chromium.org/268038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28788 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/bookmark_manager_gtk.cc')
-rw-r--r--chrome/browser/gtk/bookmark_manager_gtk.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/gtk/bookmark_manager_gtk.cc b/chrome/browser/gtk/bookmark_manager_gtk.cc
index 0ffb725..11cc191 100644
--- a/chrome/browser/gtk/bookmark_manager_gtk.cc
+++ b/chrome/browser/gtk/bookmark_manager_gtk.cc
@@ -224,7 +224,7 @@ void BookmarkManagerGtk::BookmarkNodeAdded(BookmarkModel* model,
if (node->is_folder()) {
GtkTreeIter iter = { 0, };
if (RecursiveFind(GTK_TREE_MODEL(left_store_), &iter, parent->id()))
- bookmark_utils::AddToTreeStoreAt(node, 0, left_store_, NULL, &iter);
+ bookmark_utils::AddToTreeStoreAt(node, 0, NULL, left_store_, NULL, &iter);
}
}
@@ -615,7 +615,7 @@ void BookmarkManagerGtk::ResetOrganizeMenu(bool left) {
void BookmarkManagerGtk::BuildLeftStore() {
GtkTreeIter select_iter;
bookmark_utils::AddToTreeStore(model_,
- model_->GetBookmarkBarNode()->id(), left_store_, &select_iter);
+ model_->GetBookmarkBarNode()->id(), NULL, left_store_, &select_iter);
gtk_tree_selection_select_iter(left_selection(), &select_iter);
// TODO(estade): is there a decent stock icon we can use here?