]> err.no Git - systemd/commitdiff
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 de2fa3ae9c6d1fae988520f5c9bd3cc95c6aef0d..83d6f8f6f4958426d5279bfdad12f93d4870dc6d 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);