From 8cf400479734d4b563b40cc035fdf876f1741abc Mon Sep 17 00:00:00 2001 From: Stephen Dranger Date: Sat, 29 Jan 2011 23:56:13 -0600 Subject: [PATCH] pre-demo package --- TODO | 4 ++++ pesterchum.js | 2 +- pesterchum.py | 7 +++++-- profiles/geniusBar.js | 1 - profiles/ghostDunk.js | 1 - profiles/spaceGhost.js | 1 - profiles/superGhost.js | 1 - 7 files changed, 10 insertions(+), 7 deletions(-) delete mode 100644 profiles/geniusBar.js delete mode 100644 profiles/ghostDunk.js delete mode 100644 profiles/spaceGhost.js delete mode 100644 profiles/superGhost.js diff --git a/TODO b/TODO index f616d82..cd36af9 100644 --- a/TODO +++ b/TODO @@ -1,5 +1,9 @@ Features: -- package +* CEASE shouldn't be sent if chum window is closed +* color is lost if you close window! +* switch focus to lineedit +* colors from ppl msging you not on your buddy list dont work * menubar should pass on mouse move * User signon? * Logging diff --git a/pesterchum.js b/pesterchum.js index 5fd351f..981d2b9 100644 --- a/pesterchum.js +++ b/pesterchum.js @@ -1 +1 @@ -{"tabs": true, "chums": ["gamblingGenocider", "grimAuxiliatrix", "gardenGnostic", "ghostDunk", "spaceGhost", "aquaMarinist", "carcinoGeneticist", "tentacleTherapist", "gallowsCalibrator", "waitWhat", "captainCaveman"], "defaultprofile": "ghostDunk"} \ No newline at end of file +{"tabs": true, "chums": []} \ No newline at end of file diff --git a/pesterchum.py b/pesterchum.py index c65bbd3..0204be9 100644 --- a/pesterchum.py +++ b/pesterchum.py @@ -881,8 +881,10 @@ class PesterTabWindow(QtGui.QFrame): for c in self.convos.values(): tabi = self.tabIndices[c.chum.handle] self.tabs.setTabIcon(tabi, c.chum.mood.icon(theme)) - currentHandle = unicode(self.tabs.tabText(self.tabs.currentIndex())) - self.setWindowIcon(self.convos[currentHandle].chum.mood.icon(theme)) + currenttabi = self.tabs.currentIndex() + if currenttabi >= 0: + currentHandle = unicode(self.tabs.tabText(self.tabs.currentIndex())) + self.setWindowIcon(self.convos[currentHandle].chum.mood.icon(theme)) self.defaultTabTextColor = self.getTabTextColor() @QtCore.pyqtSlot(int) @@ -1118,6 +1120,7 @@ class PesterWindow(MovingWindow): size = self.theme['main/size'] self.setGeometry(100, 100, size[0], size[1]) self.setWindowIcon(QtGui.QIcon(self.theme["main/icon"])) + self.setWindowTitle("P3ST3RCHUM") self.mainSS() opts = QtGui.QAction("OPTIONS", self) diff --git a/profiles/geniusBar.js b/profiles/geniusBar.js deleted file mode 100644 index 30820c0..0000000 --- a/profiles/geniusBar.js +++ /dev/null @@ -1 +0,0 @@ -{"color": "#ff007f", "theme": "pesterchum", "quirks": [], "handle": "geniusBar"} \ No newline at end of file diff --git a/profiles/ghostDunk.js b/profiles/ghostDunk.js deleted file mode 100644 index 338c689..0000000 --- a/profiles/ghostDunk.js +++ /dev/null @@ -1 +0,0 @@ -{"color": "#ff00ff", "theme": "pesterchum", "quirks": [], "handle": "ghostDunk"} \ No newline at end of file diff --git a/profiles/spaceGhost.js b/profiles/spaceGhost.js deleted file mode 100644 index 2d79fe4..0000000 --- a/profiles/spaceGhost.js +++ /dev/null @@ -1 +0,0 @@ -{"color": "#ffff00", "theme": "pesterchum", "quirks": [], "handle": "spaceGhost"} \ No newline at end of file diff --git a/profiles/superGhost.js b/profiles/superGhost.js deleted file mode 100644 index eb22282..0000000 --- a/profiles/superGhost.js +++ /dev/null @@ -1 +0,0 @@ -{"color": "#65cf91", "theme": "trollian", "quirks": [], "handle": "superGhost"} \ No newline at end of file