Hello community, here is the log from the commit of package kdebase3 checked in at Mon Sep 18 16:46:04 CEST 2006. -------- --- KDE/kdebase3/kdebase3.changes 2006-09-14 21:35:43.000000000 +0200 +++ kdebase3/kdebase3.changes 2006-09-18 13:56:55.000000000 +0200 @@ -1,0 +2,5 @@ +Mon Sep 18 13:56:22 CEST 2006 - ltinkl@suse.cz + +- fixing low disk space warning dialog (the don't-show-again case) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kdebase3.spec ++++++ --- /var/tmp/diff_new_pack.8EFRMm/_old 2006-09-18 16:45:27.000000000 +0200 +++ /var/tmp/diff_new_pack.8EFRMm/_new 2006-09-18 16:45:27.000000000 +0200 @@ -41,7 +41,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://www.kde.org/ Version: 3.5.4 -Release: 20 +Release: 21 %define kde_version 3.5.4 Source0: kdebase-%{kde_version}.tar.bz2 Source3: startkde.suse.sh @@ -342,7 +342,7 @@ Summary: Set and list fileshares Group: System/Management Version: 2.0 -Release: 121 +Release: 122 %description -n fileshareset This package contains the the fileshareset utility to allow users to @@ -1420,6 +1420,8 @@ %endif %changelog -n kdebase3 +* Mon Sep 18 2006 - ltinkl@suse.cz +- fixing low disk space warning dialog (the don't-show-again case) * Thu Sep 14 2006 - coolo@suse.de - fixing low disk space calculation for huge volumes (without having one to test either) ++++++ lowdiskspace.patch ++++++ --- /var/tmp/diff_new_pack.8EFRMm/_old 2006-09-18 16:45:29.000000000 +0200 +++ /var/tmp/diff_new_pack.8EFRMm/_new 2006-09-18 16:45:29.000000000 +0200 @@ -1,7 +1,7 @@ Index: kioslave/media/medianotifier/medianotifier.cpp =================================================================== ---- kioslave/media/medianotifier/medianotifier.cpp (Revision 584407) -+++ kioslave/media/medianotifier/medianotifier.cpp (Arbeitskopie) +--- kioslave/media/medianotifier/medianotifier.cpp (revision 585936) ++++ kioslave/media/medianotifier/medianotifier.cpp (working copy) @@ -19,8 +19,11 @@ #include "medianotifier.h" @@ -25,7 +25,7 @@ } MediaNotifier::~MediaNotifier() -@@ -309,4 +316,30 @@ +@@ -309,4 +316,34 @@ } } @@ -38,11 +38,13 @@ + { + total = sfs.f_blocks; + avail = ( getuid() ? sfs.f_bavail : sfs.f_bfree ); -+ if (avail < 0) -+ return; // we better do not say anything about it ++ ++ if (avail < 0) ++ return; // we better do not say anything about it ++ + int freeperc = static_cast<int>(100 * double(avail) / total); + -+ if ( freeperc < 5 ) // free disk space dropped under a limit ++ if ( freeperc < 5 && KMessageBox::shouldBeShownContinue( "dontagainfreespace" ) ) // free disk space dropped under a limit + { + int ret = KMessageBox::warningContinueCancel( 0, i18n( "You are running low on disk space on your home partition (currently %1% free), would you like to " + "run Konqueror to free some disk space and fix the problem?" ).arg( freeperc ), @@ -51,6 +53,8 @@ + { + ( void ) new KRun( KURL::fromPathOrURL( homeDirPath ) ); + } ++ else // people don't want to be bothered, at least stop the timer; there's no way to save the dontshowagain entry in this case ++ m_freeTimer->stop(); + } + } +} @@ -58,8 +62,8 @@ #include "medianotifier.moc" Index: kioslave/media/medianotifier/medianotifier.h =================================================================== ---- kioslave/media/medianotifier/medianotifier.h (Revision 584407) -+++ kioslave/media/medianotifier/medianotifier.h (Arbeitskopie) +--- kioslave/media/medianotifier/medianotifier.h (revision 585936) ++++ kioslave/media/medianotifier/medianotifier.h (working copy) @@ -41,6 +41,7 @@ private slots: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org