forked from AuroraMiddleware/gtk
1b3c921437
2001-05-10 Havoc Pennington <hp@redhat.com> * gtk/gtksettings.c (gtk_settings_get_property): Handle case where we need to parse the xsetting as if it were an RC file string. * gtk/gtkcolorsel.c (gtk_color_selection_class_init): load initial value of palette from settings, not from static variable * gdk/x11/gdkevents-x11.c: add color palette, toolbar mode to xsettings translation table * gtk/gtktoolbar.c (gtk_toolbar_new): Remove arguments, because hardcoding the toolbar style conflicts with new customizable toolbar style philosophy (gtk_toolbar_class_init): add settings for default toolbar style; these are used unless the app specifically forces a toolbar style * gtk/gtksettings.c (settings_install_property_parser): only return at the start if we warn and parser == NULL * gtk/gtkcolorsel.c (gtk_color_selection_finalize): disconnect the palette changed handler so we don't notify dead color selections * gtk/gtkstyle.c (gtk_default_draw_shadow): handle xthickness/ythickness of 0 or 1 properly (gtk_default_draw_resize_grip): clear the background behind the resize grips, and align to bottom right if we square the area to be drawn. * gtk/gtkstatusbar.c (gtk_statusbar_init): set horizontal usize on statusbar label to 1, so it doesn't make toplevels resize oddly (gtk_statusbar_size_request): add grip size to request (gtk_statusbar_size_allocate): hack so the hbox still works with the grip size in the request * gtk/gtktoolbar.c (gtk_toolbar_show_all): override to fix bug where showing all on a toplevel makes the toolbar button text appear despite the toolbar mode * gtk/gtkmenubar.c: add internal padding style property * gtk/gtktoolbar.c: Add internal padding style property; add shadow type style property * gtk/gtkmenubar.c (gtk_menu_bar_paint): paint box with widget state; and put Container::border_width outside the frame * gtk/gtktextview.c: don't draw focus rectangle if we're in interior focus mode, we just use blinking cursor
79 lines
1.6 KiB
Makefile
79 lines
1.6 KiB
Makefile
## Makefile.am for gtk+/demos
|
|
|
|
democodedir=$(datadir)/gtk-2.0/demo
|
|
|
|
## These should be in the order you want them to appear in the
|
|
## demo app, which means alphabetized by demo title, not filename
|
|
demos = @STRIP_BEGIN@ \
|
|
appwindow.c \
|
|
button_box.c \
|
|
colorsel.c \
|
|
dialog.c \
|
|
drawingarea.c \
|
|
images.c \
|
|
item_factory.c \
|
|
menus.c \
|
|
panes.c \
|
|
pixbufs.c \
|
|
sizegroup.c \
|
|
stock_browser.c \
|
|
textview.c \
|
|
@STRIP_END@
|
|
|
|
INCLUDES = @STRIP_BEGIN@ \
|
|
-DDEMOCODEDIR="\"$(democodedir)\"" \
|
|
-I$(top_srcdir) \
|
|
-I$(top_builddir)/gdk \
|
|
-DGDK_DISABLE_COMPAT_H \
|
|
-DGDK_DISABLE_DEPRECATED \
|
|
-DGTK_DISABLE_COMPAT_H \
|
|
-DGTK_DISABLE_DEPRECATED \
|
|
@GTK_DEBUG_FLAGS@ \
|
|
@GTK_DEP_CFLAGS@ \
|
|
@STRIP_END@
|
|
|
|
DEPS = \
|
|
$(top_builddir)/gdk-pixbuf/libgdk_pixbuf-1.3.la \
|
|
$(top_builddir)/gdk/@gdktargetlib@ \
|
|
$(top_builddir)/gtk/@gtktargetlib@
|
|
|
|
LDADDS = @STRIP_BEGIN@ \
|
|
$(top_builddir)/gdk-pixbuf/libgdk_pixbuf-1.3.la \
|
|
$(top_builddir)/gdk/@gdktargetlib@ \
|
|
$(top_builddir)/gtk/@gtktargetlib@ \
|
|
@STRIP_END@
|
|
|
|
bin_PROGRAMS = gtk-demo
|
|
|
|
BUILT_SOURCES = demos.h
|
|
|
|
EXTRA_DIST = \
|
|
geninclude.pl \
|
|
$(IMAGEFILES)
|
|
|
|
demos.h: $(demos) geninclude.pl
|
|
(cd $(srcdir) && ./geninclude.pl $(demos) > demos.h)
|
|
|
|
gtk_demo_SOURCES = \
|
|
$(demos) \
|
|
main.c \
|
|
demos.h
|
|
|
|
gtk_demo_DEPENDENCIES = $(DEPS)
|
|
gtk_demo_LDADD = $(LDADDS)
|
|
|
|
IMAGEFILES= alphatest.png \
|
|
apple-red.png \
|
|
background.jpg \
|
|
floppybuddy.gif \
|
|
gnome-applets.png \
|
|
gnome-calendar.png \
|
|
gnome-foot.png \
|
|
gnome-gimp.png \
|
|
gnome-gmush.png \
|
|
gnome-gsame.png \
|
|
gnu-keys.png \
|
|
gtk-logo-rgb.gif
|
|
|
|
democode_DATA = $(demos) $(IMAGEFILES)
|