Desktop Slideshow Settings
Steven Sroka
steven.sroka at live.ca
Wed Dec 8 08:10:19 CET 2010
In kdebase/workspace/libs/plasmagenericshell/backgrounddialog.cpp, what happens in BackgroundDialog::saveConfig() specifically?
In general, I know that the wallpaper/mouse settings are saved and the last 'if' statement forces the wallpaper to change. But, what does the code above the last 'if' statement *specifically* do?
Steve
From: aseigo at kde.org
To: plasma-devel at kde.org
Subject: Re: Desktop Slideshow Settings
Date: Sun, 5 Dec 2010 23:01:33 -0800
On Sunday, December 5, 2010, Steven Sroka wrote:
> add at the very beginning of BackgroundDialog::saveConfig(),if(
> !hasChanged() ) { return;}orif( hasChanged() ) { //the existing code that
> is run when a setting is changed.}
yes, that would work. it would still mean the wallpaper would reload if the
layout type was changed (e.g. default dekstop -> folderview) or when the mouse
actions are changed.
so while what you suggest would be an improvement (and i'd probably accept
such a patch), it would be even nicer to track wallpaper changes independantly
as well.
--
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
KDE core developer sponsored by Qt Development Frameworks
_______________________________________________
Plasma-devel mailing list
Plasma-devel at kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20101208/8b7a4762/attachment.htm
More information about the Plasma-devel
mailing list