Index: /CKEditor/trunk/CHANGES.html
===================================================================
--- /CKEditor/trunk/CHANGES.html	(revision 5731)
+++ /CKEditor/trunk/CHANGES.html	(revision 5732)
@@ -41,5 +41,5 @@
 	<ul>
 		<li><a href="http://dev.fckeditor.net/ticket/5882">#5882</a> : New event dialog#selectPage like the OnDialogTabChange in FCKeditor.</li>
-		<li><a href="http://dev.fckeditor.net/ticket/5927">#5927</a> : The native controls in ui.dialog elements can be styled with a controlStyle definition.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/5927">#5927</a> : The native controls in ui.dialog.elements can be styled with a controlStyle definition.</li>
 	</ul>
 	<p>
@@ -84,4 +84,5 @@
 		<li><a href="http://dev.fckeditor.net/ticket/5819">#5819</a> : Introducing the new removeFormatCleanup event and making sure remove format doesn't break the showborder plugin.</li>
 		<li><a href="http://dev.fckeditor.net/ticket/5558">#5558</a> : After pasting on WebKit based browsers the editor now scrolls to the end of the pasted content.</li>
+		<li><a href="http://dev.fckeditor.net/ticket/5799">#5799</a> : Correct plugin dependencies for the liststyle plugin with contextMenu and dialog.</li>
 		<li>Updated the following language files:<ul>
 			<li><a href="http://dev.fckeditor.net/ticket/5962">#5962</a> : German;</li>
Index: /CKEditor/trunk/_source/plugins/liststyle/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/liststyle/plugin.js	(revision 5731)
+++ /CKEditor/trunk/_source/plugins/liststyle/plugin.js	(revision 5732)
@@ -8,7 +8,7 @@
 	CKEDITOR.plugins.liststyle =
 	{
+		requires : [ 'dialog' ],
 		init : function( editor )
 		{
-
 			editor.addCommand( 'numberedListStyle', new CKEDITOR.dialogCommand( 'numberedListStyle' ) );
 			CKEDITOR.dialog.add( 'numberedListStyle', this.path + 'dialogs/liststyle.js' );
@@ -16,9 +16,10 @@
 			CKEDITOR.dialog.add( 'bulletedListStyle', this.path + 'dialogs/liststyle.js' );
 
-			//Register map group;
-			editor.addMenuGroup("list", 108);
 			// If the "menu" plugin is loaded, register the menu items.
 			if ( editor.addMenuItems )
 			{
+				//Register map group;
+				editor.addMenuGroup("list", 108);
+
 				editor.addMenuItems(
 					{
