Commit 0e90f9d6 authored by llyzs's avatar llyzs Committed by llyzs

Add icon name for new protocols in panel applet

git-svn-id: https://remmina.svn.sourceforge.net/svnroot/remmina/trunk@184 b6cfa94a-2857-405c-b0d6-536ef9fc39e1
parent 64e5c6fe
......@@ -113,6 +113,10 @@ remmina_applet_menu_item_new (RemminaAppletMenuItemType item_type, ...)
{
iconname = "remmina-sftp";
}
else if (g_strcmp0 (item->protocol, "SSH") == 0)
{
iconname = "utilities-terminal";
}
else if (g_strcmp0 (item->protocol, "RDP") == 0)
{
iconname = (item->ssh_enabled ? "remmina-rdp-ssh" : "remmina-rdp");
......@@ -125,6 +129,10 @@ remmina_applet_menu_item_new (RemminaAppletMenuItemType item_type, ...)
{
iconname = (item->ssh_enabled ? "remmina-xdmcp-ssh" : "remmina-xdmcp");
}
else if (g_strcmp0 (item->protocol, "NX") == 0)
{
iconname = "remmina-nx";
}
else
{
iconname = "remmina";
......
......@@ -113,6 +113,10 @@ remmina_applet_menu_item_new (RemminaAppletMenuItemType item_type, ...)
{
iconname = "remmina-sftp";
}
else if (g_strcmp0 (item->protocol, "SSH") == 0)
{
iconname = "utilities-terminal";
}
else if (g_strcmp0 (item->protocol, "RDP") == 0)
{
iconname = (item->ssh_enabled ? "remmina-rdp-ssh" : "remmina-rdp");
......@@ -125,6 +129,10 @@ remmina_applet_menu_item_new (RemminaAppletMenuItemType item_type, ...)
{
iconname = (item->ssh_enabled ? "remmina-xdmcp-ssh" : "remmina-xdmcp");
}
else if (g_strcmp0 (item->protocol, "NX") == 0)
{
iconname = "remmina-nx";
}
else
{
iconname = "remmina";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment