~ubuntu-branches/ubuntu/intrepid/digikam/intrepid

« back to all changes in this revision

Viewing changes to debian/patches/40_kdesvn786622_honour_scrollbar.diff

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2008-07-17 20:25:39 UTC
  • mfrom: (1.2.15 upstream) (3.1.2 lenny)
  • Revision ID: james.westby@ubuntu.com-20080717202539-6n7dtirbkoo7qvhd
Tags: 2:0.9.4-1
* New upstream release
  - digiKam 0.9.4 Release Plan (KDE3) ~ 13 July 08 (Closes: #490144)
* DEB_CONFIGURE_EXTRA_FLAGS := --without-included-sqlite3
* Debhelper compatibility level V7
* Install pixmaps in debian/*.install
* Add debian/digikam.lintian-overrides

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
--- a/digikam/libs/thumbbar/thumbbar.cpp
2
 
+++ b/digikam/libs/thumbbar/thumbbar.cpp
3
 
@@ -687,9 +687,9 @@
4
 
     }
5
 
 
6
 
     if (d->orientation == Vertical)
7
 
-       resizeContents(width(), d->count*(d->tileSize+2*d->margin));
8
 
+       resizeContents(visibleWidth(), d->count*(d->tileSize+2*d->margin));
9
 
     else    
10
 
-       resizeContents(d->count*(d->tileSize+2*d->margin), height());
11
 
+       resizeContents(d->count*(d->tileSize+2*d->margin), visibleHeight());
12
 
        
13
 
     if (!urlList.isEmpty())
14
 
     {