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

List:       kde-commits
Subject:    KDE/kdevplatform/plugins/sourceformatter
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2008-09-14 16:11:32
Message-ID: 1221408692.316928.23130.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 860916 by apaku:

Make sure the reformat action is in the menu.


 M  +2 -2      kdevsourceformatter.rc  
 M  +1 -1      sourceformatterplugin.cpp  


--- trunk/KDE/kdevplatform/plugins/sourceformatter/kdevsourceformatter.rc #860915:860916
@@ -1,9 +1,9 @@
 <!DOCTYPE kpartgui>
-<kpartgui name="kdevsourceformatter" version="1">
+<kpartgui name="kdevsourceformatter" version="2">
 <MenuBar>
  <Menu name="edit">
   <Text context="@title:menu">Edit</Text>
-   <Action name="edit_beautify" group="edit_formatting"/>
+   <Action name="edit_reformat_source" group="edit_formatting"/>
  </Menu>
 </MenuBar>
 </kpartgui>
--- trunk/KDE/kdevplatform/plugins/sourceformatter/sourceformatterplugin.cpp #860915:860916
@@ -64,7 +64,7 @@
 {
 	setXMLFile("kdevsourceformatter.rc");
 
-	m_formatTextAction = actionCollection()->addAction("edit_astyle_reformat");
+	m_formatTextAction = actionCollection()->addAction("edit_reformat_source");
 	m_formatTextAction->setText(i18n("&Reformat Source"));
 	m_formatTextAction->setToolTip(i18n("Reformat source using AStyle"));
 	m_formatTextAction->setWhatsThis(i18n("<b>Reformat source</b><p>Source reformatting "
[prev in list] [next in list] [prev in thread] [next in thread] 

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