Hello community,
here is the log from the commit of package yast2-control-center for openSUSE:Factory
checked in at Mon Aug 24 22:29:11 CEST 2009.
--------
--- yast2-control-center/yast2-control-center.changes 2009-08-20 12:52:29.000000000 +0200
+++ yast2-control-center/yast2-control-center.changes 2009-08-24 15:57:28.000000000 +0200
@@ -1,0 +2,7 @@
+Mon Aug 24 15:51:45 CEST 2009 - kmachalkova@suse.cz
+
+- Scroll icon view so that category header is in the topmost
+ position (if possible) - bnc#525288
+- 2.18.10
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-control-center-2.18.9.tar.bz2
New:
----
yast2-control-center-2.18.10.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-control-center.spec ++++++
--- /var/tmp/diff_new_pack.tx8t76/_old 2009-08-24 22:28:50.000000000 +0200
+++ /var/tmp/diff_new_pack.tx8t76/_new 2009-08-24 22:28:50.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-control-center (Version 2.18.9)
+# spec file for package yast2-control-center (Version 2.18.10)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -18,10 +18,10 @@
Name: yast2-control-center
-Version: 2.18.9
+Version: 2.18.10
Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-control-center-2.18.9.tar.bz2
+Source0: yast2-control-center-2.18.10.tar.bz2
Group: System/YaST
License: GPL v2 or later
BuildRequires: libdrm-devel libjpeg-devel libqt4-devel pkgconfig update-desktop-files yast2-devtools
++++++ yast2-control-center-2.18.9.tar.bz2 -> yast2-control-center-2.18.10.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-control-center-2.18.9/VERSION new/yast2-control-center-2.18.10/VERSION
--- old/yast2-control-center-2.18.9/VERSION 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-control-center-2.18.10/VERSION 2009-08-24 18:02:21.000000000 +0200
@@ -0,0 +1 @@
+2.18.10
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-control-center-2.18.9/VERSION.cmake new/yast2-control-center-2.18.10/VERSION.cmake
--- old/yast2-control-center-2.18.9/VERSION.cmake 2009-08-20 13:17:59.000000000 +0200
+++ new/yast2-control-center-2.18.10/VERSION.cmake 2009-08-24 18:02:21.000000000 +0200
@@ -1,3 +1,3 @@
SET(VERSION_MAJOR "2")
SET(VERSION_MINOR "18")
-SET(VERSION_PATCH "9")
+SET(VERSION_PATCH "10")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-control-center-2.18.9/package/yast2-control-center.changes new/yast2-control-center-2.18.10/package/yast2-control-center.changes
--- old/yast2-control-center-2.18.9/package/yast2-control-center.changes 2009-08-20 13:17:59.000000000 +0200
+++ new/yast2-control-center-2.18.10/package/yast2-control-center.changes 2009-08-24 18:02:21.000000000 +0200
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Mon Aug 24 15:51:45 CEST 2009 - kmachalkova@suse.cz
+
+- Scroll icon view so that category header is in the topmost
+ position (if possible) - bnc#525288
+- 2.18.10
+
+-------------------------------------------------------------------
Wed Aug 19 16:21:09 UTC 2009 - wstephenson@novell.com
- Don't allow the group dock widget to be closed
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-control-center-2.18.9/src/kcategorizedview.cpp new/yast2-control-center-2.18.10/src/kcategorizedview.cpp
--- old/yast2-control-center-2.18.9/src/kcategorizedview.cpp 2009-08-20 13:17:59.000000000 +0200
+++ new/yast2-control-center-2.18.10/src/kcategorizedview.cpp 2009-08-24 18:02:21.000000000 +0200
@@ -623,6 +623,18 @@
return d->visualRect(index);
}
+void KCategorizedView::scrollTo (const QModelIndex &index )
+{
+ QRect rect = visualRect( index );
+ int v = verticalScrollBar()->value();
+ int header = categoryDrawer()->categoryHeight(QModelIndex(), viewOptions());
+
+ // upper edge of 1st icon in a group + current position of scrollbar
+ // scroll a bit more up, to show the cat. header, but not too much (over max)
+ int scroll = qMin( rect.top() + v - header, verticalScrollBar()->maximum() );
+ verticalScrollBar()->setValue( scroll );
+}
+
KCategoryDrawer *KCategorizedView::categoryDrawer() const
{
return d->categoryDrawer;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-control-center-2.18.9/src/kcategorizedview.h new/yast2-control-center-2.18.10/src/kcategorizedview.h
--- old/yast2-control-center-2.18.9/src/kcategorizedview.h 2009-08-20 13:17:59.000000000 +0200
+++ new/yast2-control-center-2.18.10/src/kcategorizedview.h 2009-08-24 18:02:21.000000000 +0200
@@ -54,6 +54,8 @@
virtual QRect visualRect(const QModelIndex &index) const;
+ void scrollTo (const QModelIndex &index );
+
KCategoryDrawer *categoryDrawer() const;
void setCategoryDrawer(KCategoryDrawer *categoryDrawer);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-control-center-2.18.9/src/yqmodulesmodel.cpp new/yast2-control-center-2.18.10/src/yqmodulesmodel.cpp
--- old/yast2-control-center-2.18.9/src/yqmodulesmodel.cpp 2009-08-20 13:17:59.000000000 +0200
+++ new/yast2-control-center-2.18.10/src/yqmodulesmodel.cpp 2009-08-24 18:02:21.000000000 +0200
@@ -37,6 +37,7 @@
YQModuleGroupsModel *groupsModel;
QMap