Skip to content

Commit

Permalink
Revert "Merge branch 'new_release' into pydev_9_3"
Browse files Browse the repository at this point in the history
This reverts commit 8709780, reversing
changes made to d0d414c.
  • Loading branch information
khatchad committed Oct 29, 2024
1 parent 329146e commit f3ecadb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions features/.settings/org.eclipse.core.resources.prefs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.SortedMap;
import java.util.TreeMap;
import java.util.Map.Entry;

import org.eclipse.jface.dialogs.Dialog;
import org.eclipse.jface.dialogs.PopupDialog;
Expand Down Expand Up @@ -85,7 +85,7 @@ public KeyAssistDialog(final PyEdit pyedit) {
//otherwise the focus would end up in a null Control in linux (GTK),
//which made the dialog show and hide quickly and go out of the ctrl+2 mode.
//See: http://sourceforge.net/tracker/?func=detail&aid=2984743&group_id=85796&atid=577329
super(null, PopupDialog.HOVER_SHELLSTYLE, false, false, false, false, false, null, null);
super((Shell) null, PopupDialog.HOVER_SHELLSTYLE, false, false, false, false, null, null);
this.setInfoText(" Ctrl+2 actions ");
}

Expand Down Expand Up @@ -355,7 +355,7 @@ public final int open(Collection<ActionInfo> bindings, OfflineActionTarget offli
*/
private final void registerShellType() {
final Shell shell = getShell();
final IContextService contextService = EditorUtils.getActiveWorkbenchWindow().getService(
final IContextService contextService = (IContextService) EditorUtils.getActiveWorkbenchWindow().getService(
IContextService.class);
contextService.registerShell(shell, contextService.getShellType((Shell) shell.getParent()));
}
Expand Down

0 comments on commit f3ecadb

Please sign in to comment.