summaryrefslogtreecommitdiffstats
path: root/parts/fileview
diff options
context:
space:
mode:
Diffstat (limited to 'parts/fileview')
-rw-r--r--parts/fileview/filegroupswidget.cpp3
-rw-r--r--parts/fileview/filetreewidget.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/parts/fileview/filegroupswidget.cpp b/parts/fileview/filegroupswidget.cpp
index a31cb963..14f1d50c 100644
--- a/parts/fileview/filegroupswidget.cpp
+++ b/parts/fileview/filegroupswidget.cpp
@@ -224,7 +224,8 @@ void FileGroupsWidget::slotItemExecuted(TQListViewItem *item)
void FileGroupsWidget::slotContextMenu(KListView *, TQListViewItem *item, const TQPoint &p)
{
- KPopupMenu popup(i18n("File Groups"), this);
+ KPopupMenu popup(this);
+ popup.insertTitle(i18n("File Groups"));
/// @todo Add, remove groups
int customizeId = popup.insertItem(i18n("Customize..."));
popup.setWhatsThis(customizeId, i18n("<b>Customize</b><p>Opens <b>Customize File Groups</b> dialog where the groups can be managed."));
diff --git a/parts/fileview/filetreewidget.cpp b/parts/fileview/filetreewidget.cpp
index 6f049370..f5aa0ff4 100644
--- a/parts/fileview/filetreewidget.cpp
+++ b/parts/fileview/filetreewidget.cpp
@@ -203,7 +203,8 @@ void FileTreeWidget::slotContextMenu( KListView *, TQListViewItem* item, const T
{
kdDebug(9017) << "FileTreeWidget::slotContextMenu(...)" << endl;
- KPopupMenu popup( i18n("File Tree"), this );
+ KPopupMenu popup( this );
+ popup.insertTitle( i18n("File Tree") );
// If an item is selected, fill the file context with selected files' list
if (item)