From: Soren Stoutner Date: Sat, 31 Dec 2022 20:09:18 +0000 (-0700) Subject: Enable downloading of files that require login cookies. https://redmine.stoutner... X-Git-Tag: v0.1~10 X-Git-Url: https://gitweb.stoutner.com/?a=commitdiff_plain;h=06a69a2d38bf73c0c5219f94c345b19142bb1646;p=PrivacyBrowserPC.git Enable downloading of files that require login cookies. https://redmine.stoutner.com/issues/871 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index ff4b909..528e6ff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright © 2022 Soren Stoutner . +# Copyright 2022 Soren Stoutner . # # This file is part of Privacy Browser PC . # @@ -61,6 +61,7 @@ find_package(KF5 ${KDE_FRAMEWORKS_MIN_VERSION} REQUIRED COMPONENTS DBusAddons DocTools I18n + Notifications KIO XmlGui ) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d80c89d..8278a21 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright © 2022 Soren Stoutner . +# Copyright 2022 Soren Stoutner . # # This file is part of Privacy Browser PC . # @@ -61,6 +61,7 @@ target_link_libraries(privacy-browser KF5::DBusAddons KF5::DocTools KF5::I18n + KF5::Notifications KF5::KIOCore KF5::KIOWidgets KF5::XmlGui @@ -86,5 +87,8 @@ install(PROGRAMS com.stoutner.privacybrowser.desktop DESTINATION ${KDE_INSTALL_A # Install Privacy Browser's metadata file. install(FILES com.stoutner.privacybrowser.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR}) +# Install Privacy Browser's notifyrc file. +install(FILES privacybrowser.notifyrc DESTINATION ${KDE_INSTALL_KNOTIFYRCDIR}) + # Install Privacy Browser's icon. ecm_install_icons(ICONS icons/sc-apps-privacy-browser.svg DESTINATION ${KDE_INSTALL_ICONDIR}) diff --git a/src/com.stoutner.privacybrowser.appdata.xml b/src/com.stoutner.privacybrowser.appdata.xml index 49704a9..3b74d25 100644 --- a/src/com.stoutner.privacybrowser.appdata.xml +++ b/src/com.stoutner.privacybrowser.appdata.xml @@ -1,9 +1,9 @@ - - - - - - - - - - On-The-Fly Settings - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Navigation Toolbar - - - - - - - - URL Toolbar - - - - - - - - diff --git a/src/ui.rcs/browserwindowui.rc b/src/ui.rcs/browserwindowui.rc new file mode 100644 index 0000000..d0e664d --- /dev/null +++ b/src/ui.rcs/browserwindowui.rc @@ -0,0 +1,89 @@ + + + + + + + + + + + + + On-The-Fly Settings + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Navigation Toolbar + + + + + + + + URL Toolbar + + + + + + + + diff --git a/src/uis/AddOrEditCookieDialog.ui b/src/uis/AddOrEditCookieDialog.ui index 3595e74..658cb8d 100644 --- a/src/uis/AddOrEditCookieDialog.ui +++ b/src/uis/AddOrEditCookieDialog.ui @@ -3,7 +3,7 @@