diff options
author | markus <markus@FreeBSD.org> | 2005-04-04 05:33:14 +0800 |
---|---|---|
committer | markus <markus@FreeBSD.org> | 2005-04-04 05:33:14 +0800 |
commit | a11fca07244017bab53dedf898faf9f321e75972 (patch) | |
tree | f0b3ca5ff53994c8ed5c74b6231e7a2a2e156214 /deskutils/metabar/files | |
parent | c67db31cb400279c90d0b88c4f94651954d2d822 (diff) | |
download | freebsd-ports-gnome-a11fca07244017bab53dedf898faf9f321e75972.tar.gz freebsd-ports-gnome-a11fca07244017bab53dedf898faf9f321e75972.tar.zst freebsd-ports-gnome-a11fca07244017bab53dedf898faf9f321e75972.zip |
Update to version 0.6
Diffstat (limited to 'deskutils/metabar/files')
-rw-r--r-- | deskutils/metabar/files/patch-metabar_widget.cpp | 12 | ||||
-rw-r--r-- | deskutils/metabar/files/patch-metascrollview.cpp | 11 |
2 files changed, 23 insertions, 0 deletions
diff --git a/deskutils/metabar/files/patch-metabar_widget.cpp b/deskutils/metabar/files/patch-metabar_widget.cpp new file mode 100644 index 000000000000..afbe6e74004e --- /dev/null +++ b/deskutils/metabar/files/patch-metabar_widget.cpp @@ -0,0 +1,12 @@ +--- src/metabar_widget.cpp.orig Sun Apr 3 22:35:03 2005 ++++ src/metabar_widget.cpp Sun Apr 3 22:40:09 2005 +@@ -763,7 +763,8 @@ + void MetabarWidget::slotRunDesktopFile(const QString &url) + { + KURL::List list; +- KRun::run(KService(new KDesktopFile(url)), list); ++ KService service(new KDesktopFile(url)); ++ KRun::run(service, list); + } + + void MetabarWidget::slotShowMore() diff --git a/deskutils/metabar/files/patch-metascrollview.cpp b/deskutils/metabar/files/patch-metascrollview.cpp new file mode 100644 index 000000000000..e195598a65a5 --- /dev/null +++ b/deskutils/metabar/files/patch-metascrollview.cpp @@ -0,0 +1,11 @@ +--- src/metascrollview.cpp.orig Sun Apr 3 23:03:42 2005 ++++ src/metascrollview.cpp Sun Apr 3 23:06:18 2005 +@@ -43,7 +43,7 @@ + bool visible = verticalScrollBar()->isVisible(); + + int w = width() - (visible ? verticalScrollBar()->width() : 0); +- int h = (int)fmax(height(), metabarWidget->sizeHint().height()); ++ int h = (height() > metabarWidget->sizeHint().height() ? height() : metabarWidget->sizeHint().height()); + + QScrollView::resizeContents(w, h); + |