2d0ac2a952
As Palettes can either include a Gtk.Menu or a Gtk.Window we have to use a "false" menu when we want to have both functionality in a Palette. This is a new class PaletteMenuItem for those use cases. Code highly based on the work from Gonzalo Odiard. The API is based on the one from GtkImageMenuItem [1]. [1] http://developer.gnome.org/gtk3/3.4/GtkImageMenuItem.html Signed-off-by: Simon Schampijer <simon@laptop.org> Acked-by: Manuel Quiñones <manuq@laptop.org>
29 lines
752 B
Makefile
29 lines
752 B
Makefile
sugardir = $(pythondir)/sugar3/graphics
|
|
sugar_PYTHON = \
|
|
alert.py \
|
|
animator.py \
|
|
colorbutton.py \
|
|
combobox.py \
|
|
iconentry.py \
|
|
icon.py \
|
|
__init__.py \
|
|
menuitem.py \
|
|
notebook.py \
|
|
objectchooser.py \
|
|
palettegroup.py \
|
|
palette.py \
|
|
palettemenuitem.py \
|
|
palettewindow.py \
|
|
panel.py \
|
|
radiopalette.py \
|
|
radiotoolbutton.py \
|
|
style.py \
|
|
toggletoolbutton.py \
|
|
toolbarbox.py \
|
|
toolbox.py \
|
|
toolbutton.py \
|
|
toolcombobox.py \
|
|
tray.py \
|
|
window.py \
|
|
xocolor.py
|