Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNat <natcl@hotmail.com>2007-08-02 16:03:24 (GMT)
committer Nat <natcl@hotmail.com>2007-08-02 16:03:24 (GMT)
commit94b528c706e2fb025eee0ad60bfa4cfa6a7fcf91 (patch)
treead5b63f115fe6f294e4c38e7f1a1ecf8ec230a6b
parent6554d9f007838cf59499cf8e972b3672fd07bb68 (diff)
Propreties V4
-rw-r--r--Edit/EditToolbars.py18
-rw-r--r--icons/arrow-down.svg7
-rw-r--r--icons/arrow-up.svg7
3 files changed, 25 insertions, 7 deletions
diff --git a/Edit/EditToolbars.py b/Edit/EditToolbars.py
index adba153..922e550 100644
--- a/Edit/EditToolbars.py
+++ b/Edit/EditToolbars.py
@@ -173,7 +173,7 @@ class propsPalette(Palette):
self.gridDivisionSlider.set_size_request(200,-1)
self.gridDivisionSlider.set_value_pos(gtk.POS_RIGHT)
self.gridDivisionBox.pack_start(self.gridDivisionLabel, False, False, padding = 5)
- self.gridDivisionBox.pack_end(self.gridDivisionSlider, False, False, padding = 5)
+ self.gridDivisionBox.pack_end(self.gridDivisionSlider, False, False, padding = 52)
self.pageColorBox = gtk.HBox()
self.pageColorLabel = gtk.Label(_('Page color: '))
@@ -181,8 +181,12 @@ class propsPalette(Palette):
self.transposeBox = gtk.HBox()
self.transposeLabel = gtk.Label(_('Transposition: '))
+ self.transposeDownButton = ImageButton(Config.TAM_TAM_ROOT + '/icons/arrow-down.svg')
+ self.transposeUpButton = ImageButton(Config.TAM_TAM_ROOT + '/icons/arrow-up.svg')
self.transposeCheckButton = gtk.CheckButton()
self.transposeBox.pack_start(self.transposeLabel, False, False, padding = 5)
+ self.transposeBox.pack_end(self.transposeDownButton, False, False, padding = 5)
+ self.transposeBox.pack_end(self.transposeUpButton, False, False, padding = 5)
self.transposeBox.pack_end(self.transposeCheckButton, False, False, padding = 5)
self.volumeBox = gtk.HBox()
@@ -253,7 +257,7 @@ class propsPalette(Palette):
self.filterTypeComboBox.append_item(0, type)
self.filterTypeComboBox.set_active(0)
self.filterTypeBox.pack_start(self.filterTypeLabel, False, False, padding = 5)
- self.filterTypeBox.pack_end(self.filterTypeComboBox, False, False, padding = 5)
+ self.filterTypeBox.pack_end(self.filterTypeComboBox, False, False, padding = 55)
self.generationLabel = gtk.Label(_('Generation'))
@@ -264,7 +268,7 @@ class propsPalette(Palette):
self.generationTypeComboBox.append_item(0, type)
self.generationTypeComboBox.set_active(0)
self.generationTypeBox.pack_start(self.generationTypeLabel, False, False, padding = 5)
- self.generationTypeBox.pack_end(self.generationTypeComboBox, False, False, padding = 5)
+ self.generationTypeBox.pack_end(self.generationTypeComboBox, False, False, padding = 55)
self.minimumBox = gtk.HBox()
self.minimumLabel = gtk.Label(_('Minimum: '))
@@ -273,7 +277,7 @@ class propsPalette(Palette):
self.minimumSlider.set_size_request(200,-1)
self.minimumSlider.set_value_pos(gtk.POS_RIGHT)
self.minimumBox.pack_start(self.minimumLabel, False, False, padding = 5)
- self.minimumBox.pack_end(self.minimumSlider, False, False, padding = 5)
+ self.minimumBox.pack_end(self.minimumSlider, False, False, padding = 52)
self.maximumBox = gtk.HBox()
self.maximumLabel = gtk.Label(_('Maximum: '))
@@ -282,7 +286,7 @@ class propsPalette(Palette):
self.maximumSlider.set_size_request(200,-1)
self.maximumSlider.set_value_pos(gtk.POS_RIGHT)
self.maximumBox.pack_start(self.maximumLabel, False, False, padding = 5)
- self.maximumBox.pack_end(self.maximumSlider, False, False, padding = 5)
+ self.maximumBox.pack_end(self.maximumSlider, False, False, padding = 52)
self.randomBox = gtk.HBox()
self.randomLabel = gtk.Label(_('Random: '))
@@ -291,7 +295,7 @@ class propsPalette(Palette):
self.randomSlider.set_size_request(200,-1)
self.randomSlider.set_value_pos(gtk.POS_RIGHT)
self.randomBox.pack_start(self.randomLabel, False, False, padding = 5)
- self.randomBox.pack_end(self.randomSlider, False, False, padding = 5)
+ self.randomBox.pack_end(self.randomSlider, False, False, padding = 52)
self.decisionBox = gtk.HBox()
self.acceptButton = Icon('stock-accept')
@@ -309,7 +313,7 @@ class propsPalette(Palette):
self.mainBox.pack_start(self.decayDurBox, padding = 5)
self.mainBox.pack_start(self.filterCutoffBox, padding = 5)
self.mainBox.pack_start(self.filterTypeBox, padding = 5)
- self.mainBox.pack_start(self.generationLabel, padding = 5)
+ self.mainBox.pack_start(self.generationLabel, padding = 10)
self.mainBox.pack_start(self.generationTypeBox, padding = 5)
self.mainBox.pack_start(self.minimumBox, padding = 5)
self.mainBox.pack_start(self.maximumBox, padding = 5)
diff --git a/icons/arrow-down.svg b/icons/arrow-down.svg
new file mode 100644
index 0000000..66c6ac9
--- /dev/null
+++ b/icons/arrow-down.svg
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 13.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 14576) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="35px" height="30px" viewBox="0 0 35 30" enable-background="new 0 0 35 30" xml:space="preserve">
+<polygon fill="#FFFFFF" points="0,0.006 35,0 17.5,30 "/>
+</svg>
diff --git a/icons/arrow-up.svg b/icons/arrow-up.svg
new file mode 100644
index 0000000..a5ac702
--- /dev/null
+++ b/icons/arrow-up.svg
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 13.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 14576) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="35px" height="30px" viewBox="0 0 35 30" enable-background="new 0 0 35 30" xml:space="preserve">
+<polygon fill="#FFFFFF" points="35,29.994 0,30 17.5,0 "/>
+</svg>