[kdesvn] [Bug 391804] kdesvn's window title should show current directory

2018-03-15 Thread David Faure
https://bugs.kde.org/show_bug.cgi?id=391804

David Faure  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
 Resolution|--- |FIXED
  Latest Commit||https://commits.kde.org/kde
   ||svn/78b0cb0e5d2ad9e169c55e3
   ||337d7b10500e17dc0

--- Comment #3 from David Faure  ---
Git commit 78b0cb0e5d2ad9e169c55e3337d7b10500e17dc0 by David Faure.
Committed on 15/03/2018 at 22:02.
Pushed by dfaure into branch 'master'.

Display relative path (including name of the checkout) in the titlebar

Summary:
My wife requested this a very long time ago ;)
Thanks to Christian Ehrlicher for the hint on how to implement it.

Test Plan:
While navigating in a checkout, the titlebar shows
  /relative/path

Reviewers: chehrlic

Reviewed By: chehrlic

Differential Revision: https://phabricator.kde.org/D11355

M  +8-0src/svnfrontend/maintreewidget.cpp

https://commits.kde.org/kdesvn/78b0cb0e5d2ad9e169c55e3337d7b10500e17dc0

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdesvn] [Bug 391804] kdesvn's window title should show current directory

2018-03-15 Thread David Faure
https://bugs.kde.org/show_bug.cgi?id=391804

--- Comment #2 from David Faure  ---
Thanks! Very helpful.

https://phabricator.kde.org/D11355

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdesvn] [Bug 391804] kdesvn's window title should show current directory

2018-03-13 Thread Christian Ehrlicher
https://bugs.kde.org/show_bug.cgi?id=391804

Christian Ehrlicher  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |CONFIRMED

--- Comment #1 from Christian Ehrlicher  ---
You're looking for something like this (maybe remove svn root path?):

diff --git a/src/svnfrontend/maintreewidget.cpp
b/src/svnfrontend/maintreewidget.cpp
index 0c4d50f8..6b3745f9 100644
--- a/src/svnfrontend/maintreewidget.cpp
+++ b/src/svnfrontend/maintreewidget.cpp
@@ -2236,6 +2236,9 @@ void MainTreeWidget::slotDirSelectionChanged(const
QItemSelection &_item, const
 if (Kdesvnsettings::show_navigation_panel()) {
 m_TreeView->setRootIndex(m_Data->m_SortModel->mapFromSource(_t));
 }
+auto item = m_Data->m_Model->nodeForIndex(_t);
+if (item)
+changeCaption(item->fullName());
 } else {
 checkSyncTreeModel();
 }

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdesvn] [Bug 391804] kdesvn's window title should show current directory

2018-03-13 Thread David Faure
https://bugs.kde.org/show_bug.cgi?id=391804

David Faure  changed:

   What|Removed |Added

 CC||ch.ehrlic...@gmx.de

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdesvn] [Bug 391804] kdesvn's window title should show current directory

2018-03-13 Thread David Faure
https://bugs.kde.org/show_bug.cgi?id=391804

David Faure  changed:

   What|Removed |Added

 CC||aspotas...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.