Summary: | Add "Recent Files" feature, plus merge with "Recent URLs" tab on start page | ||
---|---|---|---|
Product: | [Applications] gwenview | Reporter: | Kevin Funk <kfunk> |
Component: | general | Assignee: | Gwenview Bugs <gwenview-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | kfunk, myriam, sahil.sareen, sareensah |
Priority: | NOR | Keywords: | junior-jobs |
Version: | 4.11.4 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/gwenview/daabe27bb0b981922b5ad96406b5896ed5aa07a6 | Version Fixed In: | |
Sentry Crash Report: |
Description
Kevin Funk
2014-02-11 12:47:30 UTC
Git commit bec4e1bf3f19d7693815f9f8140f3cbf02ad15a8 by Aurélien Gâteau, on behalf of Kevin Funk. Committed on 12/02/2014 at 09:09. Pushed by gateau into branch 'master'. Add "Recent Files" menu item REVIEW: 115659 M +15 -1 app/mainwindow.cpp M +1 -0 app/mainwindow.h http://commits.kde.org/gwenview/bec4e1bf3f19d7693815f9f8140f3cbf02ad15a8 Reopening because there's still something left: - Replace the "Recent URLs" tab by "Recent Files" instead I want to take this up but will need some help as this is my first time on kde. I think I can change the "Recent URLs" to "Recent Files" and make it work. -Sahil @Sahil: Just check out the gwenview source code and get familiar with the code. I think Aurelien and me agreed on replacing the second tab by a "Recent Files" widget. That means, it should just show the *same* contents as the "File -> Open Recent" menu item instead of just URLs. Just have a look at the patch at https://projects.kde.org/projects/kde/kdegraphics/gwenview/repository/revisions/bec4e1bf3f19d7693815f9f8140f3cbf02ad15a8/diff/app/mainwindow.cpp to see where the recent file entries are coming from. Im still on it. -Sahil Git commit daabe27bb0b981922b5ad96406b5896ed5aa07a6 by Tomas Mecir. Committed on 10/11/2014 at 08:26. Pushed by mecir into branch 'master'. Replace the 'Recent URLs' tab with a 'Recent Files' one, which shows the same files as the recently opened menu item does. Motivation as per 331011 in bugzilla. M +11 -10 app/gvcore.cpp M +2 -2 app/gvcore.h M +4 -3 app/mainwindow.cpp M +30 -48 app/startmainpage.cpp M +2 -14 app/startmainpage.ui M +1 -0 lib/CMakeLists.txt A +111 -0 lib/recentfilesmodel.cpp [License: GPL] A +61 -0 lib/recentfilesmodel.h [License: GPL] http://commits.kde.org/gwenview/daabe27bb0b981922b5ad96406b5896ed5aa07a6 |