From 5519fd481d8d88e4df95038a4d39abef5630f7e9 Mon Sep 17 00:00:00 2001 From: Et0h Date: Sat, 25 Oct 2014 10:05:51 +0100 Subject: [PATCH] Change bullet icons to a right double chevron --- buildPy2exe.py | 2 +- resources/bullet_black.png | Bin 211 -> 0 bytes resources/chevrons_right.png | Bin 0 -> 403 bytes syncplay/ui/GuiConfiguration.py | 12 ++++++------ syncplay/ui/gui.py | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 resources/bullet_black.png create mode 100644 resources/chevrons_right.png diff --git a/buildPy2exe.py b/buildPy2exe.py index 2bb857a..9c8ca4a 100644 --- a/buildPy2exe.py +++ b/buildPy2exe.py @@ -582,7 +582,7 @@ guiIcons = ['resources/accept.png', 'resources/arrow_undo.png', 'resources/clock 'resources/timeline_marker.png','resources/control_play_blue.png', 'resources/mpc-hc.png','resources/mpc-hc64.png','resources/mplayer.png', 'resources/mpv.png','resources/vlc.png', 'resources/house.png', 'resources/film_link.png', - 'resources/eye.png', 'resources/comments.png', 'resources/cog_delete.png', 'resources/bullet_black.png', + 'resources/eye.png', 'resources/comments.png', 'resources/cog_delete.png', 'resources/chevrons_right.png', 'resources/user_key.png', 'resources/lock.png', 'resources/key_go.png', 'resources/page_white_key.png', 'resources/tick.png', 'resources/lock_open.png' ] diff --git a/resources/bullet_black.png b/resources/bullet_black.png deleted file mode 100644 index 57619706d10d9736b1849a83f2c5694fbe09c53b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 211 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!60wlNoGJgf6SkfJR9T^zbpD<_bdI{u9mbgZg z1m~xflqVLYGB~E>C#5QQ<|d}62BjvZR2H60wE-$h^>lFz(Kw&{<9vg>5sw~gS5O!4 zr|{HuUFIBKiQyL}eBJ-L{`UVT|6_O~L{G%N{Wbre{kQtZ_0LvEh!lvI6;>1s;*b z3=DDyK$uZbZ`*dDAbW|YuPgg?ZZ;l0nRXACzd#|W64!{5;QX|b^2DN4hJeJ(yb?V> z*ARs=V?9$nLj!{^MGJwd{&>1LhFJK&ooL(D;vnGGs}_6XO7fdj9~MCqBLPPiS3yB$ zM;;MZmZS4sTm<F};u@GSgK2AS_hOA(74y;; zWZeJWd3sY$GtcJZ@{3o!62J4~?)SfMC#+WB5cizaF?$*3^wdgI-_M(l_uts&`@FKR zE%CsG4JS99akyA0BYfTDEZfY_oU2wjeYQ!?h$x9wfA2eqrT4Li%$vvGWlLhWA7bf# uz3Y4L;h^g#zWnbpA85zt|9c&9h5z`a*3`(SlKQ}KVDNPHb6Mw<&;$UCMx5XP literal 0 HcmV?d00001 diff --git a/syncplay/ui/GuiConfiguration.py b/syncplay/ui/GuiConfiguration.py index a10f506..c69173a 100644 --- a/syncplay/ui/GuiConfiguration.py +++ b/syncplay/ui/GuiConfiguration.py @@ -427,7 +427,7 @@ class ConfigDialog(QtGui.QDialog): self.desyncFrame.setMidLineWidth(0) self.slowdownThresholdLabel = QLabel(getMessage("slowdown-threshold-label"), self) - self.slowdownThresholdLabel.setStyleSheet(constants.STYLE_SUBLABEL.format(self.posixresourcespath + "bullet_black.png")) + self.slowdownThresholdLabel.setStyleSheet(constants.STYLE_SUBLABEL.format(self.posixresourcespath + "chevrons_right.png")) self.slowdownThresholdSpinbox = QDoubleSpinBox() try: @@ -444,7 +444,7 @@ class ConfigDialog(QtGui.QDialog): self.slowdownThresholdSpinbox.adjustSize() self.rewindThresholdLabel = QLabel(getMessage("rewind-threshold-label"), self) - self.rewindThresholdLabel.setStyleSheet(constants.STYLE_SUBLABEL.format(self.posixresourcespath + "bullet_black.png")) + self.rewindThresholdLabel.setStyleSheet(constants.STYLE_SUBLABEL.format(self.posixresourcespath + "chevrons_right.png")) self.rewindThresholdSpinbox = QDoubleSpinBox() try: rewindThreshold = float(config['rewindThreshold']) @@ -516,22 +516,22 @@ class ConfigDialog(QtGui.QDialog): self.showSameRoomOSDCheckbox = QCheckBox(getMessage("showsameroomosd-label")) self.showSameRoomOSDCheckbox.setObjectName("showSameRoomOSD") - self.showSameRoomOSDCheckbox.setStyleSheet(constants.STYLE_SUBCHECKBOX.format(self.posixresourcespath + "bullet_black.png")) + self.showSameRoomOSDCheckbox.setStyleSheet(constants.STYLE_SUBCHECKBOX.format(self.posixresourcespath + "chevrons_right.png")) self.osdSettingsLayout.addWidget(self.showSameRoomOSDCheckbox) self.showDifferentRoomOSDCheckbox = QCheckBox(getMessage("showdifferentroomosd-label")) self.showDifferentRoomOSDCheckbox.setObjectName("showDifferentRoomOSD") - self.showDifferentRoomOSDCheckbox.setStyleSheet(constants.STYLE_SUBCHECKBOX.format(self.posixresourcespath + "bullet_black.png")) + self.showDifferentRoomOSDCheckbox.setStyleSheet(constants.STYLE_SUBCHECKBOX.format(self.posixresourcespath + "chevrons_right.png")) self.osdSettingsLayout.addWidget(self.showDifferentRoomOSDCheckbox) self.slowdownOSDCheckbox = QCheckBox(getMessage("showslowdownosd-label")) self.slowdownOSDCheckbox.setObjectName("showSlowdownOSD") - self.slowdownOSDCheckbox.setStyleSheet(constants.STYLE_SUBCHECKBOX.format(self.posixresourcespath + "bullet_black.png")) + self.slowdownOSDCheckbox.setStyleSheet(constants.STYLE_SUBCHECKBOX.format(self.posixresourcespath + "chevrons_right.png")) self.osdSettingsLayout.addWidget(self.slowdownOSDCheckbox) self.showOSDWarningsCheckbox = QCheckBox(getMessage("showosdwarnings-label")) self.showOSDWarningsCheckbox.setObjectName("showOSDWarnings") - self.showOSDWarningsCheckbox.setStyleSheet(constants.STYLE_SUBCHECKBOX.format(self.posixresourcespath + "bullet_black.png")) + self.showOSDWarningsCheckbox.setStyleSheet(constants.STYLE_SUBCHECKBOX.format(self.posixresourcespath + "chevrons_right.png")) self.osdSettingsLayout.addWidget(self.showOSDWarningsCheckbox) self.subitems['showOSD'] = ["showSameRoomOSD", "showDifferentRoomOSD", "showSlowdownOSD", "showOSDWarnings"] diff --git a/syncplay/ui/gui.py b/syncplay/ui/gui.py index 53f1d0d..6885f0e 100644 --- a/syncplay/ui/gui.py +++ b/syncplay/ui/gui.py @@ -122,7 +122,7 @@ class MainWindow(QtGui.QMainWindow): else: roomitem.setIcon(QtGui.QIcon(self.resourcespath + 'lock.png')) else: - roomitem.setIcon(QtGui.QIcon(self.resourcespath + 'bullet_black.png')) + roomitem.setIcon(QtGui.QIcon(self.resourcespath + 'chevrons_right.png')) for user in rooms[room]: useritem = QtGui.QStandardItem(user.username)