[network/konqueror] src: Execute/Display dialogue: Add icons to buttons, use KUIT

2023-03-08 Thread Jonathan Marten
Git commit 92caaff9f0c161dcc30f36110ef04bc96c03beaf by Jonathan Marten.
Committed on 08/03/2023 at 10:47.
Pushed by marten into branch 'master'.

Execute/Display dialogue: Add icons to buttons, use KUIT

I18N:
GUI:

M  +14   -9src/urlloader.cpp

https://invent.kde.org/network/konqueror/commit/92caaff9f0c161dcc30f36110ef04bc96c03beaf

diff --git a/src/urlloader.cpp b/src/urlloader.cpp
index b0f16e868..e6f78cb1a 100644
--- a/src/urlloader.cpp
+++ b/src/urlloader.cpp
@@ -272,19 +272,24 @@ UrlLoader::OpenUrlAction UrlLoader::decideExecute() const 
{
 bool canDisplay = 
!KParts::PartLoader::partsForMimeType(m_mimeType).isEmpty();
 
 KMessageBox::ButtonCode code;
-KGuiItem executeGuiItem(i18nc("Execute an executable file", "Execute it"));
+KGuiItem executeGuiItem(i18nc("Execute an executable file", "Execute"),
+QIcon::fromTheme(QStringLiteral("system-run")));
+KGuiItem displayGuiItem(i18nc("Display an executable file", "Display"),
+
QIcon::fromTheme(QStringLiteral("document-preview")));
 QString dontShowAgainId(QLatin1String("AskExecuting")+m_mimeType);
 
 if (canDisplay) {
-code = KMessageBox::questionTwoActionsCancel(m_mainWindow, i18nc("The 
user has to decide whether to execute an executable file or display it",
-   
 "%1 can be executed. Do you want to execute it or to display 
it?", m_url.path()),
-QString(), 
executeGuiItem, KGuiItem(i18nc("Display an executable file", "Display it")),
-
KStandardGuiItem::cancel(), dontShowAgainId, KMessageBox::Dangerous);
+code = KMessageBox::questionTwoActionsCancel(m_mainWindow,
+ xi18nc("@info The user 
has to decide whether to execute an executable file or display it",
+
"%1 can be executed. Do you want to execute it or to 
display it?", m_url.path()),
+ QString(), 
executeGuiItem, displayGuiItem,
+ 
KStandardGuiItem::cancel(), dontShowAgainId, KMessageBox::Dangerous);
 } else {
-code = KMessageBox::questionTwoActions(m_mainWindow, i18nc("The user 
has to decide whether to execute an executable file or not",
-   
 "%1 can be executed. Do you want to execute it?", 
m_url.path()),
-QString(), 
executeGuiItem, KStandardGuiItem::cancel(),
-
dontShowAgainId, KMessageBox::Dangerous);}
+code = KMessageBox::questionTwoActions(m_mainWindow,
+   xi18nc("@info The user has to 
decide whether to execute an executable file or not",
+  "%1 
can be executed. Do you want to execute it?", m_url.path()),
+   QString(), executeGuiItem, 
KStandardGuiItem::cancel(),
+   dontShowAgainId, 
KMessageBox::Dangerous);}
 switch (code) {
 case KMessageBox::PrimaryAction:
 return OpenUrlAction::Execute;


[docs.kde.org] [Bug 467029] Web-Page part of Website is down! [ 404 Error ]

2023-03-08 Thread Thiago Sueto
https://bugs.kde.org/show_bug.cgi?id=467029

Thiago Sueto  changed:

   What|Removed |Added

 CC||herzensch...@gmail.com

--- Comment #2 from Thiago Sueto  ---
develop.kde.org got some major restructuring (it's now flatter and we have no
Use, Extend, Build and Deploy, and this bug report was made after the fact.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[docs.kde.org] [Bug 467029] Web-Page part of Website is down! [ 404 Error ]

2023-03-08 Thread Jack
https://bugs.kde.org/show_bug.cgi?id=467029

--- Comment #3 from Jack  ---
Would it be possible (and reasonable) for develop.kde.org to return something
like "This web site has been reorganized and this page has been moved or
removed.  Please please update your link or contact whoever provided the link
to have it updated." for any pages under those four folders?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[docs.kde.org] [Bug 467029] Web-Page part of Website is down! [ 404 Error ]

2023-03-08 Thread Luigi Toscano
https://bugs.kde.org/show_bug.cgi?id=467029

Luigi Toscano  changed:

   What|Removed |Added

 CC||luigi.tosc...@tiscali.it

--- Comment #4 from Luigi Toscano  ---
Also, can we have a proper product in bugzilla for this? This is definitely not
about docs.kde.org.

-- 
You are receiving this mail because:
You are the assignee for the bug.