[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: [Bug 26937] show filename when hovering over the "save" option in
From: Brad Hards <bhards () bigpond ! net ! au>
Date: 2004-06-14 11:57:37
Message-ID: 20040614115737.23370.qmail () ktown ! kde ! org
[Download RAW message or body]
------- 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=26937
------- Additional Comments From bhards bigpond net au 2004-06-14 13:57 -------
http://bugs.kde.org/show_bug.cgi?id=26937 is long standing and potentially
dubious wishlist request that basically seeks to use the current filename as
the tooltip for the save menubar button.
The code that can implement it is trivial (see below) but the usability of
this needs to be worked. I'd be just as happy to close it as WONTFIX or to
commit the change (after 3.3, of course).
Any thoughts or suggestions?
Brad
Index: koMainWindow.cc
===================================================================
RCS file: /home/kde/koffice/lib/kofficecore/koMainWindow.cc,v
retrieving revision 1.330
diff -u -4 -p -r1.330 koMainWindow.cc
--- koMainWindow.cc 2 Jun 2004 22:20:15 -0000 1.330
+++ koMainWindow.cc 14 Jun 2004 11:54:06 -0000
@ -536,15 +536,17 @ void KoMainWindow::updateCaption()
caption = rootDocument()->url().prettyURL( 0,
KURL::StripFileProtocol );
}
setCaption( caption, rootDocument()->isModified() );
+ d->m_paSave->setToolTip( caption );
}
}
void KoMainWindow::updateCaption( QString caption, bool mod )
{
//kdDebug(30003)<<"KoMainWindow::updateCaption("<<caption<<","<<mod<<")"<<endl;
setCaption( caption, mod );
+ d->m_paSave->setToolTip( caption );
}
KoDocument *KoMainWindow::rootDocument() const
{
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic