diff options
author | nick@chromium.org <nick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-04 22:10:26 +0000 |
---|---|---|
committer | nick@chromium.org <nick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-04 22:10:26 +0000 |
commit | 32bd194164565228a4174aa7bf9e1b9cb3b3f6e3 (patch) | |
tree | 1945aff4a40737f7b92f2e2513fb1b46f7f4b0ff /chrome/browser | |
parent | 579d71deb2e0c8139ca1d49c0fa436444e94eead (diff) | |
download | chromium_src-32bd194164565228a4174aa7bf9e1b9cb3b3f6e3.zip chromium_src-32bd194164565228a4174aa7bf9e1b9cb3b3f6e3.tar.gz chromium_src-32bd194164565228a4174aa7bf9e1b9cb3b3f6e3.tar.bz2 |
Remove the sync error button from the Linux bookmark bar.
It wasn't wired up to any errors yet, it wasn't hidden by default, it created an unnecessary horizontal space, and it would DCHECK (or worse) when that space was clicked.
BUG=26595
TEST=Displayed the bookmarks bar, verified that the gap to the left of "Other Bookmarks" went away and that it was no longer clickable.
R=estade
Review URL: http://codereview.chromium.org/360024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31011 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/gtk/bookmark_bar_gtk.cc | 6 | ||||
-rw-r--r-- | chrome/browser/gtk/bookmark_bar_gtk.h | 4 |
2 files changed, 0 insertions, 10 deletions
diff --git a/chrome/browser/gtk/bookmark_bar_gtk.cc b/chrome/browser/gtk/bookmark_bar_gtk.cc index 752f56c..ae9b083 100644 --- a/chrome/browser/gtk/bookmark_bar_gtk.cc +++ b/chrome/browser/gtk/bookmark_bar_gtk.cc @@ -118,7 +118,6 @@ BookmarkBarGtk::BookmarkBarGtk(BrowserWindowGtk* window, model_(NULL), instructions_label_(NULL), instructions_(NULL), - sync_error_button_(NULL), sync_service_(NULL), dragged_node_(NULL), toolbar_drop_item_(NULL), @@ -261,11 +260,6 @@ void BookmarkBarGtk::Init(Profile* profile) { g_signal_connect(vseparator, "expose-event", G_CALLBACK(OnSeparatorExpose), this); - sync_error_button_ = theme_provider_->BuildChromeButton(); - ConnectFolderButtonEvents(sync_error_button_); - gtk_box_pack_start(GTK_BOX(bookmark_hbox_), sync_error_button_, - FALSE, FALSE, 0); - // We pack the button manually (rather than using gtk_button_set_*) so that // we can have finer control over its label. other_bookmarks_button_ = theme_provider_->BuildChromeButton(); diff --git a/chrome/browser/gtk/bookmark_bar_gtk.h b/chrome/browser/gtk/bookmark_bar_gtk.h index 4f4b7b7..1e0e97e 100644 --- a/chrome/browser/gtk/bookmark_bar_gtk.h +++ b/chrome/browser/gtk/bookmark_bar_gtk.h @@ -316,10 +316,6 @@ class BookmarkBarGtk : public AnimationDelegate, // The other bookmarks button. GtkWidget* other_bookmarks_button_; - // The sync re-login indicator which appears when the user needs to re-enter - // credentials in order to continue syncing. - GtkWidget* sync_error_button_; - // A pointer to the ProfileSyncService instance if one exists. ProfileSyncService* sync_service_; |