Don't use GTK_RC_FILES, since it causes problems with what KDE (etc.) does

Wed Jul 24 16:43:49 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkrc.c docs/references/tmpl/gtkrc.sgml: Don't use
        GTK_RC_FILES, since it causes problems with what KDE (etc.)
        does to customize GTK+ themes, use GTK2_RC_FILES instead. (#88987)
This commit is contained in:
Owen Taylor 2002-07-24 20:54:34 +00:00 committed by Owen Taylor
parent 0082e2e838
commit 279951fe46
8 changed files with 38 additions and 2 deletions

View File

@ -1,3 +1,9 @@
Wed Jul 24 16:43:49 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.c docs/references/tmpl/gtkrc.sgml: Don't use
GTK_RC_FILES, since it causes problems with what KDE (etc.)
does to customize GTK+ themes, use GTK2_RC_FILES instead. (#88987)
2002-07-16 Federico Mena Quintero <federico@ximian.com>
* gdk/gdkpixbuf-drawable.c (rgb565lsb): Fixed the LSB -> MSB case.

View File

@ -1,3 +1,9 @@
Wed Jul 24 16:43:49 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.c docs/references/tmpl/gtkrc.sgml: Don't use
GTK_RC_FILES, since it causes problems with what KDE (etc.)
does to customize GTK+ themes, use GTK2_RC_FILES instead. (#88987)
2002-07-16 Federico Mena Quintero <federico@ximian.com>
* gdk/gdkpixbuf-drawable.c (rgb565lsb): Fixed the LSB -> MSB case.

View File

@ -1,3 +1,9 @@
Wed Jul 24 16:43:49 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.c docs/references/tmpl/gtkrc.sgml: Don't use
GTK_RC_FILES, since it causes problems with what KDE (etc.)
does to customize GTK+ themes, use GTK2_RC_FILES instead. (#88987)
2002-07-16 Federico Mena Quintero <federico@ximian.com>
* gdk/gdkpixbuf-drawable.c (rgb565lsb): Fixed the LSB -> MSB case.

View File

@ -1,3 +1,9 @@
Wed Jul 24 16:43:49 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.c docs/references/tmpl/gtkrc.sgml: Don't use
GTK_RC_FILES, since it causes problems with what KDE (etc.)
does to customize GTK+ themes, use GTK2_RC_FILES instead. (#88987)
2002-07-16 Federico Mena Quintero <federico@ximian.com>
* gdk/gdkpixbuf-drawable.c (rgb565lsb): Fixed the LSB -> MSB case.

View File

@ -1,3 +1,9 @@
Wed Jul 24 16:43:49 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.c docs/references/tmpl/gtkrc.sgml: Don't use
GTK_RC_FILES, since it causes problems with what KDE (etc.)
does to customize GTK+ themes, use GTK2_RC_FILES instead. (#88987)
2002-07-16 Federico Mena Quintero <federico@ximian.com>
* gdk/gdkpixbuf-drawable.c (rgb565lsb): Fixed the LSB -> MSB case.

View File

@ -1,3 +1,9 @@
Wed Jul 24 16:43:49 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.c docs/references/tmpl/gtkrc.sgml: Don't use
GTK_RC_FILES, since it causes problems with what KDE (etc.)
does to customize GTK+ themes, use GTK2_RC_FILES instead. (#88987)
2002-07-16 Federico Mena Quintero <federico@ximian.com>
* gdk/gdkpixbuf-drawable.c (rgb565lsb): Fixed the LSB -> MSB case.

View File

@ -29,7 +29,7 @@ The set of these <firstterm>default</firstterm> files
can be retrieved with gtk_rc_get_default_files()
and modified with gtk_rc_add_default_file() and
gtk_rc_set_default_files().
Additionally, the <envar>GTK_RC_FILES</envar> environment variable
Additionally, the <envar>GTK2_RC_FILES</envar> environment variable
can be set to a #G_SEARCHPATH_SEPARATOR_S-separated list of files
in order to overwrite the set of default files at runtime.
</para>

View File

@ -406,7 +406,7 @@ gtk_rc_add_initial_default_files (void)
gtk_rc_default_files[0] = NULL;
init = TRUE;
var = g_getenv ("GTK_RC_FILES");
var = g_getenv ("GTK2_RC_FILES");
if (var)
{
files = g_strsplit (var, G_SEARCHPATH_SEPARATOR_S, 128);