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

List:       kde-core-devel
Subject:    Re: Review Request: Add submenu support to QML shutdown dialog.
From:       "Oswald Buddenhagen" <ossi () kde ! org>
Date:       2012-07-17 21:04:44
Message-ID: 20120717210444.8658.20151 () vidsolbach ! de
[Download RAW message or body]

> On July 17, 2012, 6:19 p.m., Konstantinos Smanis wrote:
> > I forgot to mention that the submenus should only be created if Grub2 or Burg is \
> > the selected Boot Manager in KDM. Other bootloaders (grub, lilo) should still be \
> > able to use '>' in the menu titles without creating submenus. See the ksmserver \
> > part of the other patch I am submitting for branch KDE/4.8 \
> > (https://git.reviewboard.kde.org/r/105563/).
> 
> Lamarque Vieira Souza wrote:
> I will fix that tonight. I need to go now.

i would recommend against doing anything until the kdm patch is final


- Oswald


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/105568/#review16022
-----------------------------------------------------------


On July 14, 2012, 6:53 p.m., Lamarque Vieira Souza wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/105568/
> -----------------------------------------------------------
> 
> (Updated July 14, 2012, 6:53 p.m.)
> 
> 
> Review request for KDE Runtime and Konstantinos Smanis.
> 
> 
> Description
> -------
> 
> Add support to show submenus in the new QML shutdown dialog. I think this patch can \
> be improved, the GUI too. When I have more time I will go back to improve it, until \
> there you can send suggestions. 
> The patch assumes rebootOptions now contains strings like:
> 
> entry1
> submenu1 > subentry 1.1
> submenu1 > subentry 1.2
> submenu2 > subentry 2.1
> submenu2 > subsubmenu 1 > subsubentry 2.1.1
> entry2
> 
> The character '>' is the separator for submenus.
> 
> 
> This addresses bug 297209.
> http://bugs.kde.org/show_bug.cgi?id=297209
> 
> 
> Diffs
> -----
> 
> ksmserver/themes/default/ContextMenu.qml 6f2f1fd 
> ksmserver/themes/default/MenuItem.qml 74bb03f 
> ksmserver/themes/default/main.qml 7e78761 
> 
> Diff: http://git.reviewboard.kde.org/r/105568/diff/
> 
> 
> Testing
> -------
> 
> Submenus are created and it emits rebootRequested2 signal with the correct index.
> 
> 
> Screenshots
> -----------
> 
> 
> http://git.reviewboard.kde.org/r/105568/s/635/
> 
> 
> Thanks,
> 
> Lamarque Vieira Souza
> 
> 


[Attachment #3 (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://git.reviewboard.kde.org/r/105568/">http://git.reviewboard.kde.org/r/105568/</a>
  </td>
    </tr>
   </table>
   <br />





<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: \
10px;">  <p style="margin-top: 0;">On July 17th, 2012, 6:19 p.m., <b>Konstantinos \
Smanis</b> wrote:</p>  <blockquote style="margin-left: 1em; border-left: 2px solid \
#d0d0d0; padding-left: 10px;">  <pre style="white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">I forgot to mention that the submenus should only be created if Grub2 or \
Burg is the selected Boot Manager in KDM. Other bootloaders (grub, lilo) should still \
be able to use &#39;&gt;&#39; in the menu titles without creating submenus. See the \
ksmserver part of the other patch I am submitting for branch KDE/4.8 \
(https://git.reviewboard.kde.org/r/105563/).</pre>  </blockquote>




 <p>On July 17th, 2012, 7:18 p.m., <b>Lamarque Vieira Souza</b> wrote:</p>
 <blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: \
10px;">  <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">I will fix that tonight. \
I need to go now.</pre>  </blockquote>








</blockquote>

<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">i would recommend \
against doing anything until the kdm patch is final</pre> <br />








<p>- Oswald</p>


<br />
<p>On July 14th, 2012, 6:53 p.m., Lamarque Vieira Souza wrote:</p>






<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" \
style="background-image: \
url('http://git.reviewboard.kde.org/media/rb/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 KDE Runtime and Konstantinos Smanis.</div>
<div>By Lamarque Vieira Souza.</div>


<p style="color: grey;"><i>Updated July 14, 2012, 6:53 p.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;">Add support to show submenus in the new QML shutdown dialog. I think \
this patch can be improved, the GUI too. When I have more time I will go back to \
improve it, until there you can send suggestions.

The patch assumes rebootOptions now contains strings like:

entry1
submenu1 &gt; subentry 1.1
submenu1 &gt; subentry 1.2
submenu2 &gt; subentry 2.1
submenu2 &gt; subsubmenu 1 &gt; subsubentry 2.1.1
entry2

The character &#39;&gt;&#39; is the separator for submenus.</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;">Submenus are created and it emits rebootRequested2 signal with the \
correct index.</pre>  </td>
 </tr>
</table>



<div style="margin-top: 1.5em;">
 <b style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Bugs: </b>


 <a href="http://bugs.kde.org/show_bug.cgi?id=297209">297209</a>


</div>


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

 <li>ksmserver/themes/default/ContextMenu.qml <span style="color: \
grey">(6f2f1fd)</span></li>

 <li>ksmserver/themes/default/MenuItem.qml <span style="color: \
grey">(74bb03f)</span></li>

 <li>ksmserver/themes/default/main.qml <span style="color: \
grey">(7e78761)</span></li>

</ul>

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



<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Screenshots </h1>

<div>

 <a href="http://git.reviewboard.kde.org/r/105568/s/635/"><img \
src="http://git.reviewboard.kde.org/media/uploaded/images/2012/07/14/submenus_400x100.jpg" \
style="border: 1px black solid;" alt="" /></a>

</div>


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








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



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

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