Mercurial > pidgin
changeset 6948:8168bc284cfb
[gaim-migrate @ 7495]
gaim installer sould remove old theme when 'no theme' is selected
committer: Tailor Script <tailor@pidgin.im>
author | Herman Bloggs <hermanator12002@yahoo.com> |
---|---|
date | Wed, 24 Sep 2003 20:07:43 +0000 |
parents | 6777368cc2ba |
children | 49aa5a968f04 |
files | gaim-installer.nsi |
diffstat | 1 files changed, 10 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gaim-installer.nsi Wed Sep 24 19:10:21 2003 +0000 +++ b/gaim-installer.nsi Wed Sep 24 20:07:43 2003 +0000 @@ -410,7 +410,16 @@ SubSection /e $(GTK_THEMES_SECTION_TITLE) SecGtkThemes Section $(GTK_NOTHEME_SECTION_TITLE) SecGtkNone - ; Do nothing.. + Call CanWeInstallATheme + Pop $R1 + StrCmp $R1 "" done + + SetOverwrite on + Rename $R1\${GTK_DEFAULT_THEME_GTKRC_DIR}\gtkrc $R1\${GTK_DEFAULT_THEME_GTKRC_DIR}\gtkrc.old + CopyFiles $R1\${GTK_DEFAULT_THEME_GTKRC_DIR}\gtkrc.plain $R1\${GTK_DEFAULT_THEME_GTKRC_DIR}\gtkrc + SetOverwrite off + + done: SectionEnd Section $(GTK_WIMP_SECTION_TITLE) SecGtkWimp