try to scroll to theme. Currently appears to be a little broken somewhere.

Tue May 14 12:29:35 2002  Jonathan Blandford  <jrb@redhat.com>

	* theme-switcher.c (read_themes): try to scroll to theme.
	Currently appears to be a little broken somewhere.

Tue May 14 12:08:17 2002  Jonathan Blandford  <jrb@redhat.com>

	* theme-common.c (theme_common_init): confirm that the ~/.themes/
	directory exists.
Also:
Clean up ui-props a little.
commit fix to mouse properties
This commit is contained in:
Jonathan Blandford 2002-05-14 16:34:14 +00:00 committed by Jonathan Blandford
parent 331ec2dfa3
commit b87cde513f
7 changed files with 64 additions and 14 deletions

View file

@ -175,12 +175,21 @@ theme_common_init (void)
{
static gboolean initted = FALSE;
gchar *dir;
GnomeVFSURI *uri;
if (initted)
return;
initted = TRUE;
dir = g_build_filename (g_get_home_dir (), ".themes", NULL);
/* Make sure it exists */
uri = gnome_vfs_uri_new (dir);
if (!gnome_vfs_uri_exists (uri))
gnome_vfs_make_directory_for_uri (uri, 0775);
gnome_vfs_uri_unref (uri);
themes_common_list_add_dir (dir);
g_free (dir);