Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 211907 Details for
Bug 372984
Fallback theme can appear instead of default theme
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Qiuck fix
Bug-372984.patch (text/plain), 1.46 KB, created by
Ivan Furnadjiev
on 2012-03-01 14:31:59 EST
(
hide
)
Description:
Qiuck fix
Filename:
MIME Type:
Creator:
Ivan Furnadjiev
Created:
2012-03-01 14:31:59 EST
Size:
1.46 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rap.rwt >Index: src/org/eclipse/rwt/internal/service/StartupPageConfigurer.java >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.rwt/org.eclipse.rap.rwt/src/org/eclipse/rwt/internal/service/StartupPageConfigurer.java,v >retrieving revision 1.23 >diff -u -r1.23 StartupPageConfigurer.java >--- src/org/eclipse/rwt/internal/service/StartupPageConfigurer.java 11 Jan 2012 13:00:12 -0000 1.23 >+++ src/org/eclipse/rwt/internal/service/StartupPageConfigurer.java 1 Mar 2012 19:20:27 -0000 >@@ -25,6 +25,7 @@ > import javax.servlet.http.HttpServletRequest; > import javax.servlet.http.HttpServletResponse; > >+import org.eclipse.rwt.RWT; > import org.eclipse.rwt.branding.AbstractBranding; > import org.eclipse.rwt.internal.RWTMessages; > import org.eclipse.rwt.internal.application.RWTFactory; >@@ -228,6 +229,12 @@ > ThemeManager themeManager = RWTFactory.getThemeManager(); > Theme fallbackTheme = themeManager.getTheme( ThemeManager.FALLBACK_THEME_ID ); > themeDefinitions.add( fallbackTheme.getRegisteredLocation() ); >+ AbstractBranding branding = BrandingUtil.determineBranding(); >+ if( branding.getThemeId() != null ) { >+ ThemeUtil.setCurrentThemeId( branding.getThemeId() ); >+ } else { >+ ThemeUtil.setCurrentThemeId( RWT.DEFAULT_THEME_ID ); >+ } > Theme theme = ThemeUtil.getCurrentTheme(); > themeDefinitions.add( theme.getRegisteredLocation() ); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 372984
: 211907