Mageia Bugzilla – Attachment 14077 Details for
Bug 32412
Welcome message on login screen.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
patch to show hostname only if it's not localhost
conditional_hostname.patch (text/plain), 731 bytes, created by
Aurelian R
on 2023-10-22 00:09:45 CEST
(
hide
)
Description:
patch to show hostname only if it's not localhost
Filename:
MIME Type:
Creator:
Aurelian R
Created:
2023-10-22 00:09:45 CEST
Size:
731 bytes
patch
obsolete
>diff -Nurp mga-coffee-2.0/Main.qml mga-coffee-2.0_new/Main.qml >--- mga-coffee-2.0/Main.qml 2023-10-22 00:36:38.455787113 +0300 >+++ mga-coffee-2.0_new/Main.qml 2023-10-22 00:37:56.092867121 +0300 >@@ -98,7 +98,8 @@ Rectangle { > verticalAlignment: Text.AlignVCenter > height: text.implicitHeight > width: parent.width >- text: textConstants.welcomeText.arg(sddm.hostName) >+ text: textConstants.welcomeText.arg("Mageia!") + >+ ( sddm.hostName == "localhost" ? "" : "\n" + sddm.hostName) > wrapMode: Text.WordWrap > font.pixelSize: 18 > elide: Text.ElideRight
diff -Nurp mga-coffee-2.0/Main.qml mga-coffee-2.0_new/Main.qml --- mga-coffee-2.0/Main.qml 2023-10-22 00:36:38.455787113 +0300 +++ mga-coffee-2.0_new/Main.qml 2023-10-22 00:37:56.092867121 +0300 @@ -98,7 +98,8 @@ Rectangle { verticalAlignment: Text.AlignVCenter height: text.implicitHeight width: parent.width - text: textConstants.welcomeText.arg(sddm.hostName) + text: textConstants.welcomeText.arg("Mageia!") + + ( sddm.hostName == "localhost" ? "" : "\n" + sddm.hostName) wrapMode: Text.WordWrap font.pixelSize: 18 elide: Text.ElideRight
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 32412
:
14071
|
14072
|
14073
|
14074
|
14075
| 14077 |
14079
|
14081
|
14082
|
14084
|
14142
|
14146