Commit graph

11 commits

Author SHA1 Message Date
Thomas Wood
bc8e3ee007 Don't try and open null filenames Reset the gtk_color_scheme after a
2007-03-04  Thomas Wood  <thos@gnome.org>

	* gnome-theme-info.c: (gnome_theme_read_meta_theme): Don't try and open null
	filenames
	* theme-thumbnail.c: (message_from_capplet): Reset the gtk_color_scheme after
	a thumbnail has been generated.

svn path=/trunk/; revision=7359
2007-03-04 18:28:57 +00:00
Thomas Wood
4a33f799ef Set the gtk-color-scheme even if it is blank. Set the gtk-color-scheme
2007-02-28  Thomas Wood  <thos@gnome.org>

	* gnome-theme-apply.c: (gnome_meta_theme_set): Set the gtk-color-scheme even
	if it is blank.
	* theme-thumbnail.c: (create_image), (handle_bytes),
	(generate_theme_thumbnail), (generate_theme_thumbnail_async),
	(theme_thumbnail_factory_init): Set the gtk-color-scheme when creating the
	thumbnail.

svn path=/trunk/; revision=7344
2007-02-28 09:18:24 +00:00
Kjartan Maraas
43f439ccd8 Mark some stuff as static.
2007-01-29  Kjartan Maraas  <kmaraas@gnome.org>

	* theme-thumbnail.c: Mark some stuff as static.

svn path=/trunk/; revision=7195
2007-01-29 09:17:37 +00:00
Thomas Wood
98ef85c0b2 Remove g_return_if_fail_warning as this doesn't need to be a critical
2007-01-14  Thomas Wood  <thos@gnome.org>

	* theme-thumbnail.c: (generate_theme_thumbnail): Remove
	g_return_if_fail_warning as this doesn't need to be a critical
	warning. Fixes bug 353620.

svn path=/trunk/; revision=7140
2007-01-14 19:59:14 +00:00
Thomas Wood
0f0600a445 Set the gtk icon theme setting. Fixes bug 355268 - "Open" icon on button
2006-09-30  Thomas Wood  <thos@gnome.org>

	* theme-thumbnail.c: (create_image): Set the gtk icon theme setting.
	Fixes bug 355268 - "Open" icon on button preview not working
2006-09-30 15:48:35 +00:00
Thomas Wood
217dfda275 Modified patch from bug 351378. Fixes bug 351378 and bug 171634.
2006-08-17  Thomas Wood  <thos@gnome.org>

	* capplets/common/theme-thumbnail.c: (fake_expose_widget),
	(hbox_foreach), (create_image): Modified patch from bug 351378.
	Fixes bug 351378 and bug 171634.
2006-08-17 17:37:44 +00:00
Rodney Dawes
0ffa252428 Get the Example icon that is specified by the icon theme, if it exists,
2005-08-14  Rodney Dawes  <dobey@novell.com>

	* theme-thumbnail.c (create_image): Get the Example icon that is
	specified by the icon theme, if it exists, and then fall back through
	a better list of icons to use. Gnome uses gnome-fs-directory currently
	for folders, so we should prefer that over folder, but the icon naming
	spec lists x-directory-normal for standard folders, so we should prefer
	that above other folders

	This fixes issues with the wrong icon being drawn in the thumbnail, due
	to the icon theme providing the gnome folder icon, but inheriting from
	another theme which provides a different icon named "folder" for KDE or
	other desktops
2005-08-14 23:58:24 +00:00
Sebastien Bacher
31ba399378 fix the theme preview crasher with xorg/composite, patch from Colin Gibbs
2005-05-22  Sebastien Bacher  <seb128@debian.org>

	* theme-thumbnail.c: (create_image): fix the theme preview crasher with
	xorg/composite, patch from Colin Gibbs <colin@gibbsonline.net>
	(Closes: #152490).
2005-05-22 14:00:09 +00:00
Sebastien Bacher
12e01119d8 patch by Kjartan Maraas <kmaraas@gnome.org>, remove a load of leaks and
2005-02-08  Sebastien Bacher  <seb128@debian.org>

	* gnome-theme-installer.c: (file_theme_type), (transfer_done_cb),
	(install_dialog_response), (gnome_theme_installer_run):
	patch by Kjartan Maraas <kmaraas@gnome.org>, remove a load of leaks
	and make sure newly installed themes show up in the relevant lists
	without having to close/open the dialog again (Closes: #166267).

2005-02-08  Sebastien Bacher  <seb128@debian.org>

	* gnome-keyboard-properties-xkb.c: (setup_xkb_tabs):
	* gnome-keyboard-properties-xkblt.c: (def_group_in_gconf_changed):
	patch by Kjartan Maraas <kmaraas@gnome.org>, some code cleanups
	(Closes: #166267).

2005-02-08  Sebastien Bacher  <seb128@debian.org>

	* eggcellrendererkeys.c: (egg_cell_renderer_keys_start_editing):
	patch by Kjartan Maraas <kmaraas@gnome.org>, some code cleanups
        (Closes: #166267).

2005-02-08  Sebastien Bacher  <seb128@debian.org>

	* main.c: (wrap_in_label):
        patch by Kjartan Maraas <kmaraas@gnome.org>, some code cleanups
        (Closes: #166267).

2005-02-08  Sebastien Bacher  <seb128@debian.org>

	* gnome-theme-info.c: (update_common_theme_dir_index):
	* theme-thumbnail.c: (create_image):
	patch by Kjartan Maraas <kmaraas@gnome.org>, move to use GtkIconTheme
	and remove a load of leaks in the theme manager code (Closes: #166267).
2005-02-08 22:42:10 +00:00
Mark McLoughlin
356420a10e Handle crashes of the thumbnailer child process a little more gracefully.
2003-07-02  Mark McLoughlin  <mark@skynet.ie>

        Handle crashes of the thumbnailer child process a
        little more gracefully.

        * theme-thumbnail.c:
        (generate_theme_thumbnail): if we get an EOF from
        the child close the pipe, return NULL and return
        NULL from any subsequent calls.
        (generate_theme_thumbnail_async): return NULL if
        the pipe has been closed.
        (theme_thumbnail_factory_init): set pipe descriptos
        to zero after closing them.
2003-07-02 11:12:35 +00:00
Andrew Sobala
128bcd8d80 Andrew Sobala <aes@gnome.org>
The grand "themus->control-center" merge. See individual ChangeLogs for
details.
2003-05-13 18:37:05 +00:00
Renamed from capplets/theme-switcher/theme-thumbnail.c (Browse further)