Compare commits
No commits in common. "a84fa83cf2c877dabd276cc010bbcd2889a1d9f6" and "237fb2c6c425f61bac34200f72e4a475e9209c14" have entirely different histories.
a84fa83cf2
...
237fb2c6c4
@ -17,7 +17,6 @@ import math
|
||||
import json
|
||||
import os.path
|
||||
from EntryDialog import EntryDialog
|
||||
from collections import OrderedDict
|
||||
|
||||
|
||||
### Config Dialog ###
|
||||
@ -142,8 +141,7 @@ class HostsMask:
|
||||
HostsConfFrame.add(HostsConfTable)
|
||||
|
||||
i = 0
|
||||
|
||||
hosts = self.Terminals.keys()
|
||||
hosts = sorted(self.Terminals.keys(), reverse=False)
|
||||
for host in hosts:
|
||||
HostTable = gtk.Table(1, 2)
|
||||
HostTable.props.column_spacing = 2
|
||||
@ -185,7 +183,7 @@ class CruSSH:
|
||||
}
|
||||
|
||||
### State Vars ###
|
||||
Terminals = OrderedDict()
|
||||
Terminals = {}
|
||||
TermMinWidth = 1
|
||||
TermMinHeight = 1
|
||||
|
||||
@ -199,8 +197,7 @@ class CruSSH:
|
||||
### Methods ###
|
||||
def reflowTable(self, cols=1, rows=1):
|
||||
# empty table and re-size
|
||||
hosts = list(self.Terminals.keys())
|
||||
hosts.reverse()
|
||||
hosts = sorted(self.Terminals.keys(), reverse=True)
|
||||
for host in hosts:
|
||||
if self.Terminals[host].get_parent() == self.LayoutTable:
|
||||
self.LayoutTable.remove(self.Terminals[host])
|
||||
|
Loading…
Reference in New Issue
Block a user