chiark / gitweb /
systemadm: show in window title whether we inspect the session or the system bus
authorLennart Poettering <lennart@poettering.net>
Sun, 16 May 2010 16:14:17 +0000 (18:14 +0200)
committerLennart Poettering <lennart@poettering.net>
Sun, 16 May 2010 16:14:17 +0000 (18:14 +0200)
systemadm.vala

index de2fa3a..83d6f8f 100644 (file)
@@ -103,7 +103,7 @@ public class MainWindow : Window {
         private ComboBox unit_type_combo_box;
 
         public MainWindow() throws DBus.Error {
-                title = "systemadm";
+                title = session ? "systemd Session Manager" : "systemd System Manager";
                 position = WindowPosition.CENTER;
                 set_default_size(1000, 700);
                 set_border_width(12);