bugfix
This commit is contained in:
@@ -55,7 +55,7 @@ def load_config():
|
|||||||
loaded_json += line
|
loaded_json += line
|
||||||
|
|
||||||
hist_info = json.loads(loaded_json)
|
hist_info = json.loads(loaded_json)
|
||||||
last_conn = conn_info[max(hist_info)]
|
last_conn = hist_info[max(hist_info)]
|
||||||
conn_info["user"] = last_conn.split('@')[0]
|
conn_info["user"] = last_conn.split('@')[0]
|
||||||
conn_info["ip"] = last_conn.split('@')[1]
|
conn_info["ip"] = last_conn.split('@')[1]
|
||||||
conn_info["passwd"] = keyring.get_password("com.angoosh.RDPConnect", last_conn)
|
conn_info["passwd"] = keyring.get_password("com.angoosh.RDPConnect", last_conn)
|
||||||
|
|||||||
@@ -2,6 +2,10 @@
|
|||||||
<interface>
|
<interface>
|
||||||
<menu id='app-menu'>
|
<menu id='app-menu'>
|
||||||
<section>
|
<section>
|
||||||
|
<item>
|
||||||
|
<attribute name='label'>History</attribute>
|
||||||
|
<attribute name='action'>app.history</attribute>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<attribute name='label'>Preferences</attribute>
|
<attribute name='label'>Preferences</attribute>
|
||||||
<attribute name='action'>app.preferences</attribute>
|
<attribute name='action'>app.preferences</attribute>
|
||||||
|
|||||||
Reference in New Issue
Block a user