| Index: chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc
|
| diff --git a/chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc b/chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc
|
| index 031259bfdb643dac20ff26ab0163b7bf52bb5d93..7e834f2eadd3121317ddc194505c417f3c5da974 100644
|
| --- a/chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc
|
| +++ b/chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc
|
| @@ -183,8 +183,6 @@ BookmarkBubbleGtk::BookmarkBubbleGtk(GtkWidget* anchor,
|
| G_CALLBACK(&OnNameActivateThunk), this);
|
| g_signal_connect(folder_combo_, "changed",
|
| G_CALLBACK(&OnFolderChangedThunk), this);
|
| - g_signal_connect(folder_combo_, "notify::popup-shown",
|
| - G_CALLBACK(&OnFolderPopupShownThunk), this);
|
| g_signal_connect(edit_button, "clicked",
|
| G_CALLBACK(&OnEditClickedThunk), this);
|
| g_signal_connect(close_button, "clicked",
|
| @@ -238,18 +236,6 @@ void BookmarkBubbleGtk::OnFolderChanged(GtkWidget* widget) {
|
| }
|
| }
|
|
|
| -void BookmarkBubbleGtk::OnFolderPopupShown(GtkWidget* widget,
|
| - GParamSpec* property) {
|
| - // GtkComboBox grabs the keyboard and pointer when it displays its popup,
|
| - // which steals the grabs that BubbleGtk had installed. When the popup is
|
| - // hidden, we notify BubbleGtk so it can try to reacquire the grabs
|
| - // (otherwise, GTK won't activate our widgets when the user clicks in them).
|
| - gboolean popup_shown = FALSE;
|
| - g_object_get(G_OBJECT(folder_combo_), "popup-shown", &popup_shown, NULL);
|
| - if (!popup_shown)
|
| - bubble_->HandlePointerAndKeyboardUngrabbedByContent();
|
| -}
|
| -
|
| void BookmarkBubbleGtk::OnEditClicked(GtkWidget* widget) {
|
| content::RecordAction(UserMetricsAction("BookmarkBubble_Edit"));
|
| ShowEditor();
|
|
|