Give the PushResultDialog an image.
commit68c24de0ef6a733282476fbcc3ed90e975c9e464
authorThomas Wolf <thomas.wolf@paranor.ch>
Mon, 2 Jan 2017 21:58:43 +0000 (2 22:58 +0100)
committerThomas Wolf <thomas.wolf@paranor.ch>
Thu, 5 Jan 2017 21:21:33 +0000 (5 22:21 +0100)
tree569b0165dc9ecaacb3377c1e793369806ea2e22e
parent308ebeed15005e4a990ec91b0bd51727a4dec48d
Give the PushResultDialog an image.

The default image looks bad in the dark theme. Depending on the push
mode use the normal push image, or the push to Gerrit image.

Introduce a new TitleAndImageDialog that encapsulates this image
handling. Use it for the PushResultDialog, and also for the
FetchResultDialog.

Bug: 500504
Change-Id: Ib1d41e37b50c27fddfc15bee62ecc7b752686b46
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
13 files changed:
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/commit/CommitJob.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/commit/CommitUI.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/components/TitleAndImageDialog.java [new file with mode: 0644]
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/fetch/FetchResultDialog.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/push/PushJob.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/push/PushMode.java [new file with mode: 0644]
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/push/PushOperationUI.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/push/PushResultDialog.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/push/PushToGerritPage.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/push/PushWizard.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/push/ShowPushResultAction.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/push/SimpleConfigurePushDialog.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/staging/StagingView.java