diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-06 20:17:35 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-06 20:17:35 +0000 |
commit | 0ef42ff9d9de850a881cfa66f96d4217695a2186 (patch) | |
tree | 74084f99061b1841a7e6a137939141919b648c9f /chrome/browser/gtk | |
parent | e8fd29634b3ecedb2fcfa2a6f759f7f7236f367a (diff) | |
download | chromium_src-0ef42ff9d9de850a881cfa66f96d4217695a2186.zip chromium_src-0ef42ff9d9de850a881cfa66f96d4217695a2186.tar.gz chromium_src-0ef42ff9d9de850a881cfa66f96d4217695a2186.tar.bz2 |
Fix the current remaining Views-GTK compile and linker errors.
Chrome still doesn't run.
Review URL: http://codereview.chromium.org/155026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19977 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk')
-rw-r--r-- | chrome/browser/gtk/bookmark_manager_gtk.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/chrome/browser/gtk/bookmark_manager_gtk.cc b/chrome/browser/gtk/bookmark_manager_gtk.cc index 18778d7..534766a 100644 --- a/chrome/browser/gtk/bookmark_manager_gtk.cc +++ b/chrome/browser/gtk/bookmark_manager_gtk.cc @@ -548,7 +548,12 @@ void BookmarkManagerGtk::ResetOrganizeMenu(bool left) { organize_menu_.reset(new BookmarkContextMenu(window_, profile_, NULL, NULL, parent, nodes, BookmarkContextMenu::BOOKMARK_MANAGER_ORGANIZE_MENU)); +#if defined(TOOLKIT_GTK) gtk_menu_item_set_submenu(GTK_MENU_ITEM(organize_), organize_menu_->menu()); +#else + // GTK+Views should implement this somehow. + NOTIMPLEMENTED(); +#endif } void BookmarkManagerGtk::BuildLeftStore() { @@ -1142,8 +1147,13 @@ gboolean BookmarkManagerGtk::OnRightTreeViewMotion(GtkWidget* tree_view, // static gboolean BookmarkManagerGtk::OnTreeViewButtonRelease(GtkWidget* tree_view, GdkEventButton* button, BookmarkManagerGtk* bm) { +#if defined(TOOLKIT_GTK) if (button->button == 3) bm->organize_menu_->PopupAsContext(button->time); +#else + // Implement on GTK+views. + NOTIMPLEMENTED(); +#endif if (bm->delaying_mousedown_ && (tree_view == bm->right_tree_view_)) { gtk_propagate_event(tree_view, |