[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: branch: master updated (V1_0-14-g08aca30)



The branch, master has been updated
       via  08aca30c715fafed813667cf72bc375e324e327d (commit)
       via  5f80cb8056a3ece9bd14a92284a40a1fb80e4bf1 (commit)
      from  37a45d791638e9d95c58167493f253c0dc4135c4 (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
=========

 .gitignore           |    4 ++++
 lib/xgsch2pcb/gui.py |   27 +++++++++++++--------------
 2 files changed, 17 insertions(+), 14 deletions(-)


=================
 Commit Messages
=================

commit 08aca30c715fafed813667cf72bc375e324e327d
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Sun Sep 9 21:37:05 2007 +0100

    Replace the Add/Remove GtkButtonBox with a GtkHBox
    
    The GtkButtonBox seemed to suffer some spacing artifacts caused
    the two buttons to overlap.
    
    Also reinstated the stock Edit icons against the schematic /
    attribute editing buttons.

:100644 100644 c76551f... 8d917d6... M	lib/xgsch2pcb/gui.py

commit 5f80cb8056a3ece9bd14a92284a40a1fb80e4bf1
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Sun Sep 9 21:35:19 2007 +0100

    Added more build output to the toplevel .gitignore file

:100644 100644 e63e91a... 56c3bf8... M	.gitignore

=========
 Changes
=========

commit 08aca30c715fafed813667cf72bc375e324e327d
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Sun Sep 9 21:37:05 2007 +0100

    Replace the Add/Remove GtkButtonBox with a GtkHBox
    
    The GtkButtonBox seemed to suffer some spacing artifacts caused
    the two buttons to overlap.
    
    Also reinstated the stock Edit icons against the schematic /
    attribute editing buttons.

diff --git a/lib/xgsch2pcb/gui.py b/lib/xgsch2pcb/gui.py
index c76551f..8d917d6 100644
--- a/lib/xgsch2pcb/gui.py
+++ b/lib/xgsch2pcb/gui.py
@@ -93,42 +93,41 @@ class MonitorWindow(gtk.Window):
                           self.event_pagelist_selection_changed)
         self.pagelist.set_headers_visible(False)
         
-        # Horizontal button box containing 'add page' and 'remove page'
-        # buttons
-        addremovebox = gtk.HButtonBox()
-        addremovebox.set_layout(gtk.BUTTONBOX_SPREAD)
+        # Horizontal box containing 'add page' and 'remove page' buttons
+        addremovebox = gtk.HBox()
+        addremovebox.set_homogeneous(True)
         vbox.pack_start(addremovebox, False, True)
 
         self.addpagebutton = gtk.Button(stock=gtk.STOCK_ADD)
-        addremovebox.pack_start(self.addpagebutton)
+        addremovebox.pack_start(self.addpagebutton, True, True)
         self.addpagebutton.connect("clicked",
                        self.event_addpage_button_clicked)
         
         self.removepagebutton = gtk.Button(stock=gtk.STOCK_REMOVE)
         self.removepagebutton.connect("clicked",
                                       self.event_removepage_button_clicked)
-        addremovebox.pack_start(self.removepagebutton)
+        addremovebox.pack_start(self.removepagebutton, True, True)
         
         # Buttons to run gschem/gattrib
         self.editpagebutton = gtk.Button(_("Edit schematic"))
         vbox.pack_start(self.editpagebutton, False, True)
 
         # TODO: Is this wanted? The padding seems wrong
-        #image = gtk.Image()
-        #image.set_from_stock(gtk.STOCK_EDIT,gtk.ICON_SIZE_BUTTON)
-        #self.editpagebutton.set_image(image)
+        image = gtk.Image()
+        image.set_from_stock(gtk.STOCK_EDIT,gtk.ICON_SIZE_BUTTON)
+        self.editpagebutton.set_image(image)
 
         self.editpagebutton.connect("clicked",
                        self.event_schematic_button_clicked,
                        "gschem")
-        
+
         self.attribpagebutton = gtk.Button(_("Edit attributes"))
         vbox.pack_start(self.attribpagebutton, False, True)
-        
+
         # TODO: Is this wanted? The padding seems wrong
-        #image = gtk.Image()
-        #image.set_from_stock(gtk.STOCK_EDIT,gtk.ICON_SIZE_BUTTON)
-        #self.attribpagebutton.set_image(image)
+        image = gtk.Image()
+        image.set_from_stock(gtk.STOCK_EDIT,gtk.ICON_SIZE_BUTTON)
+        self.attribpagebutton.set_image(image)
 
         self.attribpagebutton.connect("clicked",
                        self.event_schematic_button_clicked,

commit 5f80cb8056a3ece9bd14a92284a40a1fb80e4bf1
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Sun Sep 9 21:35:19 2007 +0100

    Added more build output to the toplevel .gitignore file

diff --git a/.gitignore b/.gitignore
index e63e91a..56c3bf8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,8 @@
+xgsch2pcb
+Makefile
 Makefile.in
 aclocal.m4
 autom4te.cache
 configure
+config.log
+config.status




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs