[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: xgsch2pcb.git: branch: master updated (rel_0.1.3-2-g9850e3a)
The branch, master has been updated
via 9850e3addcb252407d048e7cd595acda787393db (commit)
via 2201bdf03b4b461bc6d87d2c0bb8b3c78e441325 (commit)
from 3387c16d4d32c9eb39e16a4b279ce8d905f5dd71 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
=========
Summary
=========
lib/xgsch2pcb/gui.py | 34 +++++++++++++++++-----------------
1 files changed, 17 insertions(+), 17 deletions(-)
=================
Commit Messages
=================
commit 9850e3addcb252407d048e7cd595acda787393db
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>
GUI Changes
:100644 100644 8a52a85... 962f493... M lib/xgsch2pcb/gui.py
commit 2201bdf03b4b461bc6d87d2c0bb8b3c78e441325
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>
Adjust some line-wrapping of some lines
:100644 100644 4fc84ff... 8a52a85... M lib/xgsch2pcb/gui.py
=========
Changes
=========
commit 9850e3addcb252407d048e7cd595acda787393db
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>
GUI Changes
diff --git a/lib/xgsch2pcb/gui.py b/lib/xgsch2pcb/gui.py
index 8a52a85..962f493 100644
--- a/lib/xgsch2pcb/gui.py
+++ b/lib/xgsch2pcb/gui.py
@@ -199,6 +199,7 @@ class MonitorWindow(gtk.Window):
self.toolbar_buttons = {}
button = gtk.ToolButton(gtk.STOCK_QUIT)
+ button.set_tooltip_text(_("Quit"))
toolbar.insert(button, -1)
button.connect("clicked", self.event_quit_button_clicked)
self.toolbar_buttons['quit'] = button
@@ -206,31 +207,37 @@ class MonitorWindow(gtk.Window):
toolbar.insert(gtk.SeparatorToolItem(), -1)
button = gtk.ToolButton(gtk.STOCK_NEW)
+ button.set_tooltip_text(_("New project"))
toolbar.insert(button, -1)
button.connect("clicked", self.event_new_button_clicked)
self.toolbar_buttons['new'] = button
button = gtk.ToolButton(gtk.STOCK_OPEN)
+ button.set_tooltip_text(_("Open project"))
toolbar.insert(button, -1)
button.connect("clicked", self.event_open_button_clicked)
self.toolbar_buttons['open'] = button
button = gtk.ToolButton(gtk.STOCK_SAVE)
+ button.set_tooltip_text(_("Save project"))
toolbar.insert(button, -1)
button.connect("clicked", self.event_save_button_clicked)
self.toolbar_buttons['save'] = button
#button = gtk.ToolButton(gtk.STOCK_SAVE_AS)
+ #button.set_tooltip_text(_("Save project as..."))
#toolbar.insert(button, -1)
#button.connect("clicked", self.event_saveas_button_clicked)
#self.toolbar_buttons['saveas'] = button
button = gtk.ToolButton(gtk.STOCK_CLOSE)
+ button.set_tooltip_text(_("Close project"))
toolbar.insert(button, -1)
button.connect("clicked", self.event_close_button_clicked)
self.toolbar_buttons['close'] = button
#button = gtk.ToolButton(gtk.STOCK_PROPERTIES)
+ #button.set_tooltip_text(_("Project options"))
#toolbar.insert(button, -1)
#button.connect("clicked",
# self.event_properties_button_clicked)
@@ -240,6 +247,7 @@ class MonitorWindow(gtk.Window):
toolbar.insert(gtk.SeparatorToolItem(), -1)
button = gtk.ToolButton(gtk.STOCK_ABOUT)
+ button.set_tooltip_text(_("About xgsch2pcb"))
toolbar.insert(button, -1)
button.connect("clicked", self.event_about_button_clicked)
self.toolbar_buttons['about'] = button
commit 2201bdf03b4b461bc6d87d2c0bb8b3c78e441325
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>
Adjust some line-wrapping of some lines
diff --git a/lib/xgsch2pcb/gui.py b/lib/xgsch2pcb/gui.py
index 4fc84ff..8a52a85 100644
--- a/lib/xgsch2pcb/gui.py
+++ b/lib/xgsch2pcb/gui.py
@@ -193,7 +193,6 @@ class MonitorWindow(gtk.Window):
self.pcbmanager = None
self.set_project(project)
-
def __init_toolbar__(self, box):
toolbar = gtk.Toolbar()
box.pack_start(toolbar, False, True)
@@ -201,40 +200,34 @@ class MonitorWindow(gtk.Window):
button = gtk.ToolButton(gtk.STOCK_QUIT)
toolbar.insert(button, -1)
- button.connect("clicked",
- self.event_quit_button_clicked)
+ button.connect("clicked", self.event_quit_button_clicked)
self.toolbar_buttons['quit'] = button
toolbar.insert(gtk.SeparatorToolItem(), -1)
-
+
button = gtk.ToolButton(gtk.STOCK_NEW)
toolbar.insert(button, -1)
- button.connect("clicked",
- self.event_new_button_clicked)
+ button.connect("clicked", self.event_new_button_clicked)
self.toolbar_buttons['new'] = button
button = gtk.ToolButton(gtk.STOCK_OPEN)
toolbar.insert(button, -1)
- button.connect("clicked",
- self.event_open_button_clicked)
+ button.connect("clicked", self.event_open_button_clicked)
self.toolbar_buttons['open'] = button
button = gtk.ToolButton(gtk.STOCK_SAVE)
toolbar.insert(button, -1)
- button.connect("clicked",
- self.event_save_button_clicked)
+ button.connect("clicked", self.event_save_button_clicked)
self.toolbar_buttons['save'] = button
#button = gtk.ToolButton(gtk.STOCK_SAVE_AS)
#toolbar.insert(button, -1)
- #button.connect("clicked",
- # self.event_saveas_button_clicked)
+ #button.connect("clicked", self.event_saveas_button_clicked)
#self.toolbar_buttons['saveas'] = button
button = gtk.ToolButton(gtk.STOCK_CLOSE)
toolbar.insert(button, -1)
- button.connect("clicked",
- self.event_close_button_clicked)
+ button.connect("clicked", self.event_close_button_clicked)
self.toolbar_buttons['close'] = button
#button = gtk.ToolButton(gtk.STOCK_PROPERTIES)
@@ -245,11 +238,10 @@ class MonitorWindow(gtk.Window):
#button.set_sensitive(False) #FIXME
toolbar.insert(gtk.SeparatorToolItem(), -1)
-
+
button = gtk.ToolButton(gtk.STOCK_ABOUT)
toolbar.insert(button, -1)
- button.connect("clicked",
- self.event_about_button_clicked)
+ button.connect("clicked", self.event_about_button_clicked)
self.toolbar_buttons['about'] = button
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs