[Bug 61758] execute command dialog is redundant

Alexander Dymo cloudtemple at mksat.net
Wed Jul 30 00:06:02 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=61758     
cloudtemple at mksat.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From cloudtemple at mksat.net  2003-07-30 00:05 -------
Subject: kdevelop/parts/filter

CVS commit by dymo: 

Added tooltips for actions and captions for dialogs.
CCMAIL: 61758-done at bugs.kde.org


  M +13 -6     filterpart.cpp   1.10


--- kdevelop/parts/filter/filterpart.cpp  #1.9:1.10
@@ -39,8 +39,10 @@ FilterPart::FilterPart(QObject *parent, 
                           this, SLOT(slotShellInsert()),
                           actionCollection(), "tools_insertshell" );
+    action->setToolTip(i18n("Executes a shell command and outputs it's result into the current document"));
 
     action = new KAction( i18n("Filter Selection Through Command..."), 0,
                           this, SLOT(slotShellFilter()),
                           actionCollection(), "tools_filtershell" );
+    action->setToolTip(i18n("Filters selection trough a shell command and outputs it's result into the current document"));
 
     m_insertDialog = 0;
@@ -86,6 +88,8 @@ void FilterPart::slotShellInsert()
 
     if (!m_insertDialog)
+    {
         m_insertDialog = new ShellInsertDialog();
-
+        m_insertDialog->setCaption(i18n("Execute Command"));
+    }
     if (m_insertDialog->exec()) {
         uint line, col;
@@ -130,5 +134,8 @@ void FilterPart::slotShellFilter()
 
     if (!m_filterDialog)
+    {
         m_filterDialog = new ShellFilterDialog();
+        m_filterDialog->setCaption(i18n("Filter Selection Through Command"));
+    }
 
     kdDebug(9029) << "Old text: " << selectioniface->selection()<< endl;




More information about the KDevelop-devel mailing list