Fix modem addition/removal and deal with ModemManager appearing/vanishing

Modems being added or removed were not working.  To fix this, we pay
attention to the "object-removed" event and not just
"interface-removed".

Also, to deal with ModemManager appearing and vanishing, we add a
GDBus watch on ModemManager's D-Bus object.

Finally, we provide appropriate UI feedback when it's not possible to
make a call.

Closes #15
Closes #16
This commit is contained in:
Bob Ham
2018-10-19 10:19:41 +00:00
parent 39ae9d6d76
commit c203f470fe
8 changed files with 304 additions and 79 deletions

View File

@@ -109,5 +109,17 @@
<property name="fill">True</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="status">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="wrap">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="padding">16</property>
</packing>
</child>
</template>
</interface>