changeset 1349:f9cc82ff24b6

Show PID of a VM in status bar Reviewed-by: vanaltj Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2013-November/008835.html
author Omair Majid <omajid@redhat.com>
date Tue, 19 Nov 2013 19:54:34 -0500
parents 8275050d9f6c
children ff5a4032f35f
files client/swing/src/main/java/com/redhat/thermostat/client/swing/internal/MainWindowControllerImpl.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/client/swing/src/main/java/com/redhat/thermostat/client/swing/internal/MainWindowControllerImpl.java	Tue Nov 19 19:37:34 2013 -0500
+++ b/client/swing/src/main/java/com/redhat/thermostat/client/swing/internal/MainWindowControllerImpl.java	Tue Nov 19 19:54:34 2013 -0500
@@ -465,7 +465,7 @@
                     vmInfoControllerProvider.getVmInfoController(vmRef);
             view.setSubView(vmInformation.getView());
             view.setStatusBarPrimaryStatus(t.localize(LocaleResources.VM_PRIMARY_STATUS,
-                    vmRef.getName(), vmRef.getVmId(), vmRef.getHostRef().getHostName()));
+                    vmRef.getName(), String.valueOf(vmRef.getPid()), vmRef.getHostRef().getHostName()));
         } else {
             throw new IllegalArgumentException("unknown type of ref");
         }