Commit Graph

695 Commits

Author SHA1 Message Date
75937d925c gtk-demo: Load icon from resource 2013-02-01 17:42:45 +01:00
0866772819 gtk-demo: Display extra files from resources 2013-02-01 17:42:45 +01:00
73e203b290 xxx: Add source files 2013-02-01 17:42:45 +01:00
aaab99bb4d gtk-demo: Don't use subfolders for resources
This confuses the notebook that is displaying them.
2013-02-01 17:42:45 +01:00
7acf6296f4 gtk-demo: Don't use aliases for filenames
This is necessary so the files displayed in the left notebook match the
files referenced in the source code.
2013-02-01 17:42:45 +01:00
159dabd0a5 gtk-demo: Port pixbufs example to resources 2013-02-01 17:42:45 +01:00
68ee7c6848 gtk-demo: Port textview example to resources 2013-02-01 17:42:45 +01:00
a4749d4f3a gtk-demo: Port images example to resources 2013-02-01 17:42:44 +01:00
32903fc753 gtk-demo: Port images example to GInputStream 2013-02-01 17:42:44 +01:00
8bdfd35d9c gtk-demo: Port iconview example to use resources 2013-02-01 17:42:44 +01:00
cf6a40830c gtk-demo: Port appwindow example to resources 2013-02-01 17:42:44 +01:00
4f93194039 gtk-demo: Port builder example to resources 2013-02-01 17:42:44 +01:00
704fc3724f gtk-demo: Make printing example use resources 2013-02-01 17:42:44 +01:00
39d198cd5a gtk-demo: Load sources from resources 2013-02-01 17:42:43 +01:00
a0e68bec52 gtk-demo: Load the demo files using g_file_get_contents()
... instead of massaging a FILE* with flockfile() and ungetc().
2013-02-01 17:42:43 +01:00
05abba3acb gtk-demo: Include the source files as resources 2013-02-01 17:42:43 +01:00
9d659d8a77 Remove accidental commit that broke gtk3-demo
A piece of test code accidentally snuck into a commit that
made gtk3-demo not find its data files, this patch just
reverts that change.
2013-01-29 11:55:05 +01:00
cca05d1dc8 Add git.mk to more places 2013-01-24 17:47:34 -05:00
b12d7dfcd6 Plug two memory leak
g_resources_lookup_data returns a GBytes that must be unreffed.
2013-01-20 23:11:24 -05:00
ada20f475d broadway: Make /dev/shm names nicer 2013-01-10 23:59:23 +01:00
9a88a47d33 gtk-demo: Beautify a demo
Use auto for the background size instead of 100% to avoid uglyfying the
background byt blurring it when the window gets larger.
2012-10-01 16:06:33 +02:00
f1bae7f1ff gtk-demo: Use explicit resource:// urls in CSS
... because we load the data from a GtkTreeView::changed callback, the
relative directory is cwd. And we want the resources...
2012-10-01 15:53:18 +02:00
ec829be39f gtk-demo: Add missing file to resources 2012-10-01 15:53:17 +02:00
c6a78d76bd gtk-demo: Add a CSS shadows demo 2012-09-21 18:50:50 +02:00
fc1169279e gtk-demo: fancier css demo
Thanks to Lapo Calamandrei.
2012-09-17 17:41:50 -04:00
677941dc48 gtk-demo: Add animated pixbufs example 2012-09-17 20:39:11 +02:00
5b13b72287 gtk-demo: Plug 2 small memleaks 2012-09-16 00:49:04 -04:00
d9c2f40a5d gtk-demo: Plug another small memleak 2012-09-15 16:17:02 -04:00
1bf656f25f gtk-demo: Plug a small memleak 2012-09-13 20:04:38 -04:00
1c9f52038b widget-factory: Add a second page
The widget-factory was pretty much overflowing, so I've
made it page, and started to fill the second page with
vertical spin buttons. New examples and widgets should
be added to page 2 now.
2012-09-09 16:03:43 -04:00
2ab8e75319 Use new printer setting to reduce code required by application
Updated demo to use new setting that allows an application to change the
output filename without the need to create the uri itself.

https://bugzilla.gnome.org/show_bug.cgi?id=676787
2012-08-25 17:47:55 -04:00
746b9d7c41 demos: Don't use GDK_THREADS_ENTER/LEAVE macros
We don't use threads here, so no need to use them.
2012-07-30 18:01:47 +02:00
c2681d585e widget-factory: add two GtkLevelBar (continuous and discrete) 2012-07-19 16:46:05 +02:00
e393fdeedd widget-factory: add a symbolic icon column in the treeview example 2012-06-26 11:41:45 -04:00
30e5273e2b widget-factory: Use GtkSearchEntry 2012-06-11 22:48:14 -04:00
d704f2bd2e gtk: Add GtkSearchEntry
Add a search entry widget with the recommended behaviour implemented.
As used in gnome-control-center, Totem, gnome-documents and many others.

https://bugzilla.gnome.org/show_bug.cgi?id=652809
2012-06-11 19:02:55 +01:00
5c76c1b059 Silence compiler warnings 2012-05-30 14:28:16 -04:00
21342cbfde gtk-demo: unify Theming and CSS theming sections 2012-05-30 13:17:23 -04:00
887d83b685 gtk-demo: display tabs for CSS files in theming demos 2012-05-30 13:17:23 -04:00
46f967dd7a gtk-demo: don't try to add tabs for empty filenames 2012-05-30 13:17:23 -04:00
c5629fd06a gtk-demo: add a demo for CSS multiple backgrounds 2012-05-30 13:17:23 -04:00
561e24b77b gtk-demo: move styling for the CSS editor to a separate file
So it can be shared by multiple demos
2012-05-30 13:17:23 -04:00
98fa2a39bc gtk-demo: add a test for a CSS accordion 2012-05-30 13:17:23 -04:00
6461105429 main: Don't overrun the file that's read 2012-05-30 13:17:23 -04:00
075b259321 gtk-demo: Make CSS a resource
Also, improve the CSS to give you that basic feel.
2012-05-30 13:17:22 -04:00
6c7f99d01e gtk-demo: Include resources in main app
This is necessary for future changes
2012-05-30 13:17:22 -04:00
45d0313001 gtk-demo: Rename resources file
More tests want to use resources, so make that possible.
2012-05-30 13:17:22 -04:00
04e8a8a5ed gtk-demo move application demo resources into a namespace 2012-05-30 13:17:22 -04:00
3d98275961 gtk-demo: Add a name property to the demos 2012-05-30 13:17:22 -04:00
8a5f08976d gtk-demo: Add a simple example for theming 2012-05-30 13:17:22 -04:00