diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-02 00:21:18 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-02 00:21:18 +0000 |
commit | d3824ce2bbfc1cbf2c871ab7239487aa72d49a1b (patch) | |
tree | 645e14741e528391e6cdde20c24bb7438a3fc341 /chrome/browser/gtk/tabs | |
parent | 469f7c12ebcda341b297d28e595f03ebdb113c6e (diff) | |
download | chromium_src-d3824ce2bbfc1cbf2c871ab7239487aa72d49a1b.zip chromium_src-d3824ce2bbfc1cbf2c871ab7239487aa72d49a1b.tar.gz chromium_src-d3824ce2bbfc1cbf2c871ab7239487aa72d49a1b.tar.bz2 |
Don't paint the throbber animation while dragging.
Windows doesn't paint the throbber either, so we match. We can
probably add it back in if we want, but it might not be worth
the effort.
BUG=20750
Review URL: http://codereview.chromium.org/183039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25128 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/tabs')
-rw-r--r-- | chrome/browser/gtk/tabs/tab_strip_gtk.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/gtk/tabs/tab_strip_gtk.cc b/chrome/browser/gtk/tabs/tab_strip_gtk.cc index aaea60f..4f7ba74 100644 --- a/chrome/browser/gtk/tabs/tab_strip_gtk.cc +++ b/chrome/browser/gtk/tabs/tab_strip_gtk.cc @@ -1794,7 +1794,8 @@ gboolean TabStripGtk::OnExpose(GtkWidget* widget, GdkEventExpose* event, gdk_region_get_rectangles(event->region, &rects, &num_rects); qsort(rects, num_rects, sizeof(GdkRectangle), CompareGdkRectangles); std::vector<int> tabs_to_repaint; - if (tabstrip->CanPaintOnlyFavIcons(rects, num_rects, &tabs_to_repaint)) { + if (!tabstrip->IsDragSessionActive() && + tabstrip->CanPaintOnlyFavIcons(rects, num_rects, &tabs_to_repaint)) { tabstrip->PaintOnlyFavIcons(event, tabs_to_repaint); g_free(rects); return TRUE; |