gtk/demos/gtk-demo
Chun-wei Fan b1aa23f4bd Bug 695895: Fix gtk3-demo on Windows
In commit 4e41577b, we are using g_content_type_is_a() to determine how
to display the demo resources in the right pane of the gtk3-demo program.

Use g_content_type_get_mime_type(), so that we can obtain the mime
type of the demo resources on all platforms, as g_content_type_guess()
returns a platform-specific string, as
https://developer.gnome.org/gio/2.35/gio-GContentType.html states.

As .ui files and .css files are normally registered with a different mime
type string on Windows, check for those strings as well.

This will ensure the demo resources can be properly displayed on Windows
as well.
2013-03-26 16:59:16 +08:00
..
alphatest.png
apple-red.png
application-standalone.c Forgotten file 2012-01-15 14:46:31 -05:00
application.c gtk-demo: Remove file lists from demo data 2013-02-01 21:57:40 +01:00
application.ui GtkBuilder: change format of menus 2012-01-25 19:42:19 -05:00
appwindow.c gtk-demo: Replace logo with a transparent one 2013-02-01 21:57:40 +01:00
assistant.c gtk-demo: Remove demo_find_file() function 2013-02-01 17:44:13 +01:00
background.jpg
brick.png gtk-demo: add a test for a CSS accordion 2012-05-30 13:17:23 -04:00
builder.c gtk-demo: Remove file lists from demo data 2013-02-01 21:57:40 +01:00
button_box.c Formatting cleanups 2011-09-01 23:56:58 -04:00
changedisplay.c gtk-demo: Remove demo_find_file() function 2013-02-01 17:44:13 +01:00
clipboard.c gtk-demo: Use symbolic names for button numbers 2012-01-27 09:47:44 +01:00
colorsel.c gtk-demo: Update language in colorsel demo 2012-05-17 22:13:00 -04:00
combobox.c Formatting cleanups 2011-09-01 23:56:58 -04:00
css_accordion.c gtk-demo: Remove file lists from demo data 2013-02-01 21:57:40 +01:00
css_accordion.css gtk3-demo: Fix up resource handling 2013-02-14 23:01:19 +01:00
css_basics.c gtk-demo: Remove file lists from demo data 2013-02-01 21:57:40 +01:00
css_basics.css gtk3-demo: Fix up resource handling 2013-02-14 23:01:19 +01:00
css_multiplebgs.c gtk-demo: Remove file lists from demo data 2013-02-01 21:57:40 +01:00
css_multiplebgs.css gtk3-demo: Fix up resource handling 2013-02-14 23:01:19 +01:00
css_pixbufs.c Use consistent capitalization of demo titles 2013-02-01 21:59:09 -05:00
css_pixbufs.css gtk3-demo: Fix up resource handling 2013-02-14 23:01:19 +01:00
css_shadows.c Plug two memory leak 2013-01-20 23:11:24 -05:00
css_shadows.css gtk3-demo: Fix up resource handling 2013-02-14 23:01:19 +01:00
cssview.css gtk-demo: move styling for the CSS editor to a separate file 2012-05-30 13:17:23 -04:00
demo.gresource.xml Don't strip whitespace from ui files 2013-02-01 20:17:13 -05:00
demo.ui Remove remnants of localization from gtk-demo 2013-02-11 16:52:37 -05:00
dialog.c Formatting cleanups 2011-09-01 23:56:58 -04:00
drawingarea.c gtk-demo: Use symbolic names for button numbers 2012-01-27 09:47:44 +01:00
editable_cells.c gtk-demo: Fix segfault in editable cells demo 2011-11-22 23:29:04 +01:00
entry_buffer.c Formatting cleanups 2011-09-01 23:56:58 -04:00
entry_completion.c Formatting cleanups 2011-09-01 23:56:58 -04:00
expander.c Formatting cleanups 2011-09-01 23:56:58 -04:00
floppybuddy.gif
geninclude.pl.in Avoid perl warnings 2013-02-01 21:58:34 -05:00
gnome-applets.png
gnome-calendar.png
gnome-foot.png
gnome-fs-directory.png
gnome-fs-regular.png
gnome-gimp.png
gnome-gmush.png
gnome-gsame.png
gnu-keys.png
gtk-logo-24.png Add a GtkApplication example to gtk3-demo 2012-01-14 20:35:18 -05:00
gtk-logo-48.png Add a GtkApplication example to gtk3-demo 2012-01-14 20:35:18 -05:00
gtk-logo-old.png gtk-demo: Replace logo with a transparent one 2013-02-01 21:57:40 +01:00
hypertext.c gtk-demo: Use symbolic names for button numbers 2012-01-27 09:47:44 +01:00
iconview_edit.c gtk-demo: Remove demo_find_file() function 2013-02-01 17:44:13 +01:00
iconview.c gtk-demo: Remove demo_find_file() function 2013-02-01 17:44:13 +01:00
images.c gtk-demo: Replace logo with a transparent one 2013-02-01 21:57:40 +01:00
infobar.c demos/gtk-demo/infobar.c: Do not use gtk_dialog_run() 2012-02-27 17:06:11 +00:00
links.c gtk-demo: Prove that links work fine now 2012-01-06 05:23:42 +01:00
list_store.c Use G_SOURCE_CONTINUE/REMOVE 2012-01-30 19:12:27 -05:00
main.c Bug 695895: Fix gtk3-demo on Windows 2013-03-26 16:59:16 +08:00
Makefile.am gtk-demo: Replace logo with a transparent one 2013-02-01 21:57:40 +01:00
makefile.msc.in Update msvc build 2010-11-07 23:35:04 +01:00
menus.c gtk-demo: Don't use tearoff menus 2011-10-01 05:59:04 +02:00
menus.ui GtkBuilder: change format of menus 2012-01-25 19:42:19 -05:00
offscreen_window2.c Formatting cleanups 2011-09-01 23:56:58 -04:00
offscreen_window.c Formatting cleanups 2011-09-01 23:56:58 -04:00
org.gtk.Demo.gschema.xml Add an example for settings<>action integration 2012-01-24 00:07:03 -05:00
overlay.c Formatting cleanups 2011-09-01 23:56:58 -04:00
panes.c Formatting cleanups 2011-09-01 23:56:58 -04:00
pickers.c gtk-demo: replace uses of GtkTable by GtkGrid 2011-08-31 13:31:34 -04:00
pixbufs.c Convert pixbuf animation demo (both copies) to GdkFrameClock 2013-02-21 09:59:58 -05:00
printing.c gtk-demo: Remove demo_find_file() function 2013-02-01 17:44:13 +01:00
reset.css gtk-demo: Make CSS a resource 2012-05-30 13:17:22 -04:00
rotated_text.c Formatting cleanups 2011-09-01 23:56:58 -04:00
search_entry.c gtk: Add GtkSearchEntry 2012-06-11 19:02:55 +01:00
sizegroup.c Formatting cleanups 2011-09-01 23:56:58 -04:00
spinner.c Formatting cleanups 2011-09-01 23:56:58 -04:00
stock_browser.c Formatting cleanups 2011-09-01 23:56:58 -04:00
textscroll.c gtk-demo: Remove demo_find_file() function 2013-02-01 17:44:13 +01:00
textview.c gtk-demo: Replace logo with a transparent one 2013-02-01 21:57:40 +01:00
theming_style_classes.c gtk-demo: Remove file lists from demo data 2013-02-01 21:57:40 +01:00
theming.ui gtk-demo: Add a theming example 2012-05-18 01:23:45 -04:00
toolpalette.c Don't use gtk_scrolled_window_add_with_viewport() in tests 2013-02-01 22:58:55 -05:00
transparent.c Fix demo to use a "normal" transparent value now that it works. 2011-12-06 14:12:24 +01:00
tree_store.c Formatting cleanups 2011-09-01 23:56:58 -04:00
ui_manager.c Formatting cleanups 2011-09-01 23:56:58 -04:00