Opened 7 years ago

Last modified 4 months ago

#8021 new Feature request

Ability to rename tabs

Reported by: Ruben Benjamin Owned by:
Priority: normal Component: FileZilla Client
Keywords: Rename Tab Cc: JWWalker
Component version: Operating system type:
Operating system version:

Description

When we have multiple tabs open for an FTP site all the tabs have the same name. User has to click on each tab to look for the folder that he needs. It would be great if we could right click on a tab and rename it as we like

Attachments (2)

context_control.cpp (19.7 KB) - added by harsh 7 years ago.
filezilla.patch (838 bytes) - added by harsh 7 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 7 years ago by harsh

void CContextControl::OnTabContextRename(wxCommandEvent& event)
{

CInputDialog dlg;
if (!dlg.Create(this, _("Rename Tab"), _("Please enter new name for the tab:")))

return;

if (dlg.ShowModal() != wxID_OK)

return;


for (size_t j = 0; j < m_context_controls.size(); j++) {


if (m_context_controls[j].tab_index != m_right_clicked_tab)

continue;


m_context_controls[j].pState->SetTitle(dlg.GetValue());


CContextControl::_context_controls* controls = GetControlsFromState(m_context_controls[j].pState);
m_tabs->SetPageText(controls->tab_index, controls->pState->GetTitle());


break;

}

}

This is part of the patch.

Changed 7 years ago by harsh

Attachment: context_control.cpp added

Changed 7 years ago by harsh

Attachment: filezilla.patch added

comment:2 Changed 7 years ago by harsh

please ignore the above two attachments. I will upload the proper patch file soon

comment:3 Changed 2 years ago by fatabbot

What's the status on this?

Can't seem to find an option for this. It would be so convenient to have this, as I often have 3-4 tabs open for the same site, which display all with the same tab name.

comment:4 Changed 4 months ago by JWWalker

Cc: JWWalker added

This would really be helpful.

Note: See TracTickets for help on using tickets.