X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fsystemadm.vala;h=9e4a2a23409c88ed7dd1130088519191ae20d48a;hp=3f1cf9e1138bf9d0acebed3ee4542afd3f57f096;hb=f5644ae461dfed81fc1eb1212a15992be13b80fd;hpb=07ded1e8ba9c47f02d2590f1a8e8aedbfe4a5bff
diff --git a/src/systemadm.vala b/src/systemadm.vala
index 3f1cf9e11..9e4a2a234 100644
--- a/src/systemadm.vala
+++ b/src/systemadm.vala
@@ -502,10 +502,12 @@ public class MainWindow : Window {
unit_load_state_label.set_text_or_na(unit.load_state);
unit_active_state_label.set_text_or_na(unit.active_state);
unit_sub_state_label.set_text_or_na(unit.sub_state);
- if (unit.fragment_path != null)
- unit_fragment_path_label.set_markup_or_na("" + unit.fragment_path + "" );
+
+ string fp = unit.fragment_path;
+ if (fp != "")
+ unit_fragment_path_label.set_markup_or_na("" + fp + "" );
else
- unit_fragment_path_label.set_markup_or_na(null);
+ unit_fragment_path_label.set_text_or_na();
uint64 t = unit.active_enter_timestamp;
if (t > 0) {
@@ -726,7 +728,7 @@ public class MainWindow : Window {
} while (unit_model.iter_next(ref iter));
}
- public void on_job_removed(uint32 id, ObjectPath path) {
+ public void on_job_removed(uint32 id, ObjectPath path, bool success) {
TreeIter iter;
if (!(job_model.get_iter_first(out iter)))
return;