Script Kiddy
ff913d232f
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1108213
16 years ago
Script Kiddy
bf36e688a5
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1085570
16 years ago
Albert Astals Cid
846a3e3c83
Do the same treatment to paths passed from the command line
...
when we are starting a new shell and when we are passing the argument
through dbus
BUGS: 205076
svn path=/trunk/KDE/kdegraphics/okular/; revision=1067205
16 years ago
Script Kiddy
c2390f3197
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1065022
16 years ago
Script Kiddy
d819d858bd
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1053122
17 years ago
Script Kiddy
1f786797a6
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1051910
17 years ago
Pino Toscano
a355d9fea4
isolate the argument -> url conversion code in an own function in the ShellUtils namespace
...
make the function able to be reused in unit tests (ie adding a function hook for the filename existance check)
svn path=/trunk/KDE/kdegraphics/okular/; revision=1032962
17 years ago
Pino Toscano
d5dd8fce01
when we remove the file:/ from the argument, do the precent-encoding removal to avoid being percent-encoded more than needed
...
based on a patch by Albert, slightly changed + unit test by me
BUG: 207461
svn path=/trunk/KDE/kdegraphics/okular/; revision=1032944
17 years ago
Script Kiddy
309a641160
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1024784
17 years ago
Script Kiddy
3d403bc66b
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1020829
17 years ago
Script Kiddy
00b149b380
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=997443
17 years ago
Pino Toscano
30a1f789f3
reencode the url from the argument, 'file:/' at the start (for local files)
...
then, do few checks to better strip the correct "ref" from other '#' in the path
BUG: 195909
svn path=/trunk/KDE/kdegraphics/okular/; revision=992393
17 years ago
Script Kiddy
9f0d409189
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=972275
17 years ago
Script Kiddy
af1302e36b
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=969584
17 years ago
Pino Toscano
37403a031a
Small rework on the system used to pass parameters of the document:
...
- on command line, properly read the URL ref ('#foobar' at the end), avoiding a KCmdLineArgs behaviour which encodes it as part of the file name
- pass what was specified as ref or the page (as specified with -p/--page) to the kpart
- make the okularpart take out the ref from the URL it opens and then:
a) if it is a number, assume it is the destination page number
b) otherwise, use that string as named destination
CCMAIL: okular-devel@kde.org
svn path=/trunk/KDE/kdegraphics/okular/; revision=969227
17 years ago
Script Kiddy
fa136bc6db
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=944478
17 years ago
Christian Ehrlicher
be51224a3c
KUrl::path() -> KUrl::toLocalFile() - fixes
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=941468
17 years ago
Script Kiddy
febf292a6f
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=936841
17 years ago
Script Kiddy
878fce954f
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=917792
17 years ago
Nick Shaforostoff
54e068e342
add fine-grained categories in (compliance with xdg menu spec)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=915866
17 years ago
Pino Toscano
5c200e59cb
KXmlGuiWindow is smart and tracks the visibility of toolbars and menubar, so just show/hide those directly instead of triggers their actions.
...
This should fix hopefully for all their toggling, also between various runs.
svn path=/trunk/KDE/kdegraphics/okular/; revision=913715
17 years ago
Pino Toscano
03e8a1bc7e
Make the window size at first startup big as 3/4 of the available screen size.
...
This currently does not seem to work as it should, because the max size is really contrained to 2/3 of the screen size, as per Qt behaviour (or bug?)
Anyway, even 2/3 is better than before.
svn path=/trunk/KDE/kdegraphics/okular/; revision=912463
17 years ago
Pino Toscano
d77c997f94
Document that we can read from stdin when called with '-' as command line argument.
...
BUG: 175653
svn path=/trunk/KDE/kdegraphics/okular/; revision=906809
17 years ago
Christian Ehrlicher
ebb92ad08e
add win32 app icons where needed and possible
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=904611
17 years ago
Script Kiddy
fdf4e64fae
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=899359
17 years ago
Albert Astals Cid
e8804c18f6
Update m_showMenuBarAction on the proper time
...
BUG: 178020
svn path=/trunk/KDE/kdegraphics/okular/; revision=898742
17 years ago
Script Kiddy
2eecd577ed
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=898588
17 years ago
Albert Astals Cid
acf5922dd4
correctly restore m_showMenuBarAction status on startup
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=894123
18 years ago
Pino Toscano
5d94111ce8
i18n fixes
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=886194
18 years ago
Pino Toscano
e5b13e2d5b
claim support for application/vnd.kde.okular-archive in the correct way, ie via .desktop files
...
thanks Albert for waking me up
svn path=/trunk/KDE/kdegraphics/okular/; revision=884982
18 years ago
Pino Toscano
938ed4acfa
claim support of the new application/vnd.kde.okular-archive mimetype, and check it where appropriate
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=884851
18 years ago
Script Kiddy
2f35e0b6ed
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=884759
18 years ago
Laurent Montel
dbd7fa12a9
Fix iterator
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=882947
18 years ago
Pino Toscano
8583cda513
recent files: do not add '-' (aka stdin) when reading a document from it
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=882131
18 years ago
Pino Toscano
f108284296
Remove the "old" way of configuring the toolbars and just use the XMLGUI facilities.
...
This makes the toolbar editing safer.
BUGS: 168528, 171186
svn path=/trunk/KDE/kdegraphics/okular/; revision=870502
18 years ago
Nick Shaforostoff
50f9c25712
bring order back
...
Rafael:
new order contradicts with API docs:
http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/classKXmlGuiWindow.html#e5ac6ec22a61a4d854600c0f5a41e8d4
if this is an exception (i.e. both docs and okular's calling order are fine),
then please add appropriate comment to the code.
also, I ask you to look into another problem: okular doesn't restore maximization on start.
CCMAIL:pino@kde.org
CCMAIL:ereslibre@kde.org
svn path=/trunk/KDE/kdegraphics/okular/; revision=868604
18 years ago
Nick Shaforostoff
601835fffb
-call createGUI and setupGUI in proper order (see KXmlGuiWindow::setupGUI API doc)
...
-don't call setAutoSaveSettings() as it is called implicitly by kxmlgui system
the problem i was shooting at still doesn't solved though: maximization ain't restored properly.
it is saved correctly, but it seems that in restoreWindowSize calling KWindowSystem::setState doesn't do the job.
obviously, this must have smth to do with kparts framework.
CCMAIL:pino@kde.org
svn path=/trunk/KDE/kdegraphics/okular/; revision=868586
18 years ago
Pino Toscano
bc966cb0f5
Add the --unique command line behaviour ala KDVI.
...
The "unique" instance is registered as "org.kde.okular".
BUG: 170151
svn path=/trunk/KDE/kdegraphics/okular/; revision=863380
18 years ago
Rafael Fernández López
269ef9b51a
setupGUI goes before createGUI. Actions weren't properly updated (and for instance, the configure shortcuts menu entry wasn't shown, even with Keys
...
flag passed to setupGUI)
svn path=/trunk/KDE/kdegraphics/okular/; revision=855382
18 years ago
Rafael Fernández López
3bf585defb
The save flag will try to load the state of the mainwindow when setupGUI is called. We always
...
need to call to createGUI before that (if no Create flag is passed to setupGUI, that isn't in
this case).
CCMAIL: pino@kde.org
svn path=/trunk/KDE/kdegraphics/okular/; revision=853433
18 years ago
Script Kiddy
9830f4e2aa
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=839175
18 years ago
Jakob Petsovits
df5364da6c
Copy Okular's app icon from Oxygen core as "okular",
...
in the hicolor namespace. Before, the non-specified
"graphics-viewer-document" icon was used, which caused
icon loaders from other toolkits not to find this icon
as they don't consider Oxygen by default.
Also update all the references that made use of the
"graphics-viewer-document" icon in the code and
the many .desktop files.
svn path=/trunk/KDE/kdegraphics/okular/; revision=819965
18 years ago
Script Kiddy
6048f67f48
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=815781
18 years ago
Laurent Montel
70513fa61e
USe INSTALL_TARGETS_DEFAULT_ARGS
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=813289
18 years ago
Script Kiddy
5ef72af455
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=808730
18 years ago
Script Kiddy
da6f2d204e
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=802309
18 years ago
Pino Toscano
1ed3928811
set the about data icon name in the right place
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=801281
18 years ago
Friedrich W. H. Kossebau
56e1842069
set global program icon via KAboutData, not directly
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=799282
18 years ago
Script Kiddy
3c387e94e9
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=790023
18 years ago
Script Kiddy
e81d64ff86
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=788506
18 years ago