[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Review Request: Overrides Plasma::wallpaer method addUrls() to
From:       "Sinny Kumari" <ksinny () gmail ! com>
Date:       2011-01-23 17:51:16
Message-ID: 20110123175116.31499.29996 () vidsolbach ! de
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


> On Jan. 21, 2011, 3:25 p.m., Aaron Seigo wrote:
> > trunk/KDE/kdebase/workspace/plasma/generic/wallpapers/image/image.cpp, lines \
> > 140-141 <http://svn.reviewboard.kde.org/r/6391/diff/1/?file=44401#file44401line140>
> >  
> > if it is running as a slideshow, it should probably add all of the urls to the \
> > slideshow (not just the first one) and start showing the first of them.

Since the option in Frame applet says that "Set Wallpaper", so only that image should \
be set as wallpaper and in "SingleImage" mode. According to me if "Picture Frame" and \
"wallpaper" both are in Slideshow mode, it should not add all Url to the slideshow. \
Only the current picture from the Picture Frame should be set as wallpaper and mode \
should be set to SingleImage.


- Sinny


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://svn.reviewboard.kde.org/r/6391/#review9669
-----------------------------------------------------------


On Jan. 21, 2011, 5:52 a.m., Sinny Kumari wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://svn.reviewboard.kde.org/r/6391/
> -----------------------------------------------------------
> 
> (Updated Jan. 21, 2011, 5:52 a.m.)
> 
> 
> Review request for Plasma.
> 
> 
> Summary
> -------
> 
> Method addUrls(const KUrl::List &urls) which is protected Q_SLOTS will override the \
> method defined ( changes that have been made in \
> http://svn.reviewboard.kde.org/r/6375/ ) in the base class Plasma::wallpaper to set \
> Image. After reviewing it I will implement both changes in Frame Applet :) 
> 
> Diffs
> -----
> 
> trunk/KDE/kdebase/workspace/plasma/generic/wallpapers/image/image.h 1215563 
> trunk/KDE/kdebase/workspace/plasma/generic/wallpapers/image/image.cpp 1215563 
> 
> Diff: http://svn.reviewboard.kde.org/r/6391/diff
> 
> 
> Testing
> -------
> 
> Tested in trunk and it works perfectly.
> 
> 
> Thanks,
> 
> Sinny
> 
> 


[Attachment #5 (text/html)]

<html>
 <body>
  <div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
   <table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 \
solid;">  <tr>
     <td>
      This is an automatically generated e-mail. To reply, visit:
      <a href="http://svn.reviewboard.kde.org/r/6391/">http://svn.reviewboard.kde.org/r/6391/</a>
  </td>
    </tr>
   </table>
   <br />








<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: \
10px;">  <p style="margin-top: 0;">On January 21st, 2011, 3:25 p.m., <b>Aaron \
Seigo</b> wrote:</p>  <blockquote style="margin-left: 1em; border-left: 2px solid \
#d0d0d0; padding-left: 10px;">  



<table width="100%" border="0" bgcolor="white" style="border: 1px solid #C0C0C0; \
border-collapse: collapse; margin: 2px padding: 2px;">  <thead>
  <tr>
   <th colspan="4" bgcolor="#F0F0F0" style="border-bottom: 1px solid #C0C0C0; \
font-size: 9pt; padding: 4px 8px; text-align: left;">  <a \
href="http://svn.reviewboard.kde.org/r/6391/diff/1/?file=44401#file44401line140" \
style="color: black; font-weight: bold; text-decoration: \
underline;">trunk/KDE/kdebase/workspace/plasma/generic/wallpapers/image/image.cpp</a> \
<span style="font-weight: normal;">

     (Diff revision 1)

    </span>
   </th>
  </tr>
 </thead>

 <tbody style="background-color: #e4d9cb; padding: 4px 8px; text-align: center;">
  <tr>

   <td colspan="2"><pre style="font-size: 8pt; line-height: 140%; margin: 0; \
"></pre></td>  <td colspan="2"><pre style="font-size: 8pt; line-height: 140%; margin: \
0; ">void Image::addUrls(const KUrl::List &amp;urls)</pre></td>

  </tr>
 </tbody>




 
 



 <tbody>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" \
align="right"><font size="2"></font></th>  <td bgcolor="#c5ffc4" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>  <th \
bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid \
#C0C0C0;" align="right"><font size="2">140</font></th>  <td bgcolor="#c5ffc4" \
width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">     <span \
class="n">setWallpaper</span><span class="p">(</span><span class="n">urls</span><span \
class="p">.</span><span class="n">at</span><span class="p">(</span><span \
class="mi">0</span><span class="p">));</span></pre></td>  </tr>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" \
align="right"><font size="2"></font></th>  <td bgcolor="#c5ffc4" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>  <th \
bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid \
#C0C0C0;" align="right"><font size="2">141</font></th>  <td bgcolor="#c5ffc4" \
width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">     <span \
class="n">kDebug</span><span class="p">()</span> <span class="o">&lt;&lt;</span> \
<span class="n">urls</span><span class="p">.</span><span class="n">at</span><span \
class="p">(</span><span class="mi">0</span><span class="p">);</span></pre></td>  \
</tr>

 </tbody>

</table>

  <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">if it is running as a \
slideshow, it should probably add all of the urls to the slideshow (not just the \
first one) and start showing the first of them.</pre>  </blockquote>





</blockquote>
<pre style="margin-left: 1em; white-space: pre-wrap; white-space: -moz-pre-wrap; \
white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Since the \
option in Frame applet says that &quot;Set Wallpaper&quot;, so only that image should \
be set as wallpaper and in &quot;SingleImage&quot; mode. According to me if \
&quot;Picture Frame&quot; and &quot;wallpaper&quot; both are in Slideshow mode, it \
should not add all Url to the slideshow. Only the current picture from the Picture \
Frame should be set as wallpaper and mode should be set to SingleImage.</pre> <br />




<p>- Sinny</p>


<br />
<p>On January 21st, 2011, 5:52 a.m., Sinny Kumari wrote:</p>






<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" \
style="background-image: \
url('http://svn.reviewboard.kde.orgrb/images/review_request_box_top_bg.png'); \
background-position: left top; background-repeat: repeat-x; border: 1px black \
solid;">  <tr>
  <td>

<div>Review request for Plasma.</div>
<div>By Sinny Kumari.</div>


<p style="color: grey;"><i>Updated Jan. 21, 2011, 5:52 a.m.</i></p>




<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: \
1px solid #b8b5a0">  <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;"> Method addUrls(const KUrl::List &amp;urls) which is protected Q_SLOTS \
will override the method defined ( changes that have been made in \
http://svn.reviewboard.kde.org/r/6375/ ) in the base class Plasma::wallpaper to set \
Image. After reviewing it I will implement both changes in Frame Applet :)</pre>  \
</td>  </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: \
1px solid #b8b5a0">  <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">Tested in trunk and it works perfectly.</pre>  </td>
 </tr>
</table>




<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">

 <li>trunk/KDE/kdebase/workspace/plasma/generic/wallpapers/image/image.h <span \
style="color: grey">(1215563)</span></li>

 <li>trunk/KDE/kdebase/workspace/plasma/generic/wallpapers/image/image.cpp <span \
style="color: grey">(1215563)</span></li>

</ul>

<p><a href="http://svn.reviewboard.kde.org/r/6391/diff/" style="margin-left: \
3em;">View Diff</a></p>




  </td>
 </tr>
</table>








  </div>
 </body>
</html>



_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic