[PC-BSD Commits] r21545 - pcbsd-projects/PCDM

svn at pcbsd.org svn at pcbsd.org
Fri Feb 15 10:59:42 PST 2013


Author: kenmoore
Date: 2013-02-15 18:59:42 +0000 (Fri, 15 Feb 2013)
New Revision: 21545

Modified:
   pcbsd-projects/PCDM/pcdm-gui.cpp
   pcbsd-projects/PCDM/pcdm.theme
Log:
Now the hostname should be displayed properly



Modified: pcbsd-projects/PCDM/pcdm-gui.cpp
===================================================================
--- pcbsd-projects/PCDM/pcdm-gui.cpp	2013-02-15 18:53:21 UTC (rev 21544)
+++ pcbsd-projects/PCDM/pcdm-gui.cpp	2013-02-15 18:59:42 UTC (rev 21545)
@@ -161,7 +161,7 @@
     if(!QFile::exists(tmpIcon) || tmpIcon.isEmpty() ){ tmpIcon=":/images/password.png"; }
     loginW->changeButtonIcon("pwview",tmpIcon, currentTheme->itemIconSize("password"));
     //Display the Hostname
-    QString hostname = QProcessEnvironment::systemEnvironment().value("HOSTNAME");
+    QString hostname = QProcessEnvironment::systemEnvironment().value("HOST");
     loginW->displayHostName(hostname);
     //Add item to the grid
     grid->addWidget( loginW, currentTheme->itemLocation("login","row"), \

Modified: pcbsd-projects/PCDM/pcdm.theme
===================================================================
--- pcbsd-projects/PCDM/pcdm.theme	2013-02-15 18:53:21 UTC (rev 21544)
+++ pcbsd-projects/PCDM/pcdm.theme	2013-02-15 18:59:42 UTC (rev 21545)
@@ -29,7 +29,7 @@
   LOGIN_IMAGE_SIZE=64x64		  # Size for the image (in pixels)
 
 DESKTOP_IMAGE=default-de-select.png	# Default Image for the DE selection if none found
-  DESKTOP_IMAGE_SIZE=32x32		  	# Size for the image (in pixels)
+  DESKTOP_IMAGE_SIZE=48x48		  	# Size for the image (in pixels)
   DESKTOP_ORIENTATION=horizontal		# [horizontal | vertical]
 
 # --Images that will scale according to the toolbar size--
@@ -74,9 +74,8 @@
 QToolBar{ background-color: transparent; }
 QWindow{ background-color: white; color: black; }
 LoginWidget{
- QComboBox{font-size: 28px;}
- QGroupBox{ background-color: qlineargradient(x1: 0, x2: 0, y1: 0, y2: 1, stop: 0 blue, stop: 1 transparent);
-	border: 1px grey }
+ QComboBox{font-size: 32px}
+ QGroupBox{ background-color: qlineargradient(x1: 0, x2: 0, y1: 0, y2: 1, stop: 0 blue, stop: 1 transparent); border: 1px grey }
 }
 FancyWidget{
  QGraphicsView{ background: white; color: black; }



More information about the Commits mailing list