CVSROOT:        /cvs/gnome
Module name:    sketch
Changes by:     bherzog 05/09/18 16:55:34

Modified files:
        Sketch/UI      : skpixmaps.py objectpanel.py 
        .              : ChangeLog 

Log message:
* Sketch/UI/objectpanel.py: Use ComboBoxes instead of OptionMenus.
This is yet another step in the quest to get rid of the
deprecation warnings.  The new implementation is currently a
little less featureful, though, in that it doesn't support
additional temporary items in the comboboxes.
(CommonOptionMenu): Removed.
(CommonComboBox): New class.  The ComboBox based replacement for
CommonOptionMenu
(PixmapMenu, UnitMenu, LineDashesMenu, LineWidthMenu, ArrowMenu):
Use CommonComboBox instead of CommonOptionMenu.  The methods have
been changed accordingly.
(ArrowCellRenderer, LineCellRenderer): New. Helper classes to
implement the combo boxes.
(LinePropertiesFrame.on_units): Remove the set_adjustment and
set_value calls.  The set_all method of the adjustment does all
that is necessary.  The old implementation sent to may events and
did so too early
(LinePropertiesFrame.build_frame): Adjust to the new way to
instantiate PixmapMenu
(ObjectPanel.build_menu): Remove a debug print.

* Sketch/UI/skpixmaps.py (load_pixbuf): New.  Load a Skencil
bitmap or pixmap as a gtk pixbuf.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=sketch&who=bherzog&date=explicit&mindate=2005-09-18%2016:54&maxdate=2005-09-18%2016:56

_______________________________________________
cvs-commits-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to