[fix] show no device message when all devices are removed

This commit is contained in:
Julian Sparber
2017-10-28 19:24:40 +02:00
parent 6b7d5c2acc
commit 60c968fb10
5 changed files with 20 additions and 1 deletions

View File

@@ -192,6 +192,14 @@ teleport_get_download_directory (void)
return g_settings_get_string (priv->settings, "download-dir");
}
void
teleport_show_no_device_message (TeleportWindow *self)
{
TeleportWindowPrivate *priv;
priv = teleport_window_get_instance_private (self);
gtk_widget_show (priv->remote_no_devices);
}
void
teleport_window_open (TeleportWindow *win,
GFile *file)