Skip to content

Commit

Permalink
Revert "Revert "Merge branch 'new_release' into pydev_9_3""
Browse files Browse the repository at this point in the history
This reverts commit f3ecadb. Went a bit too far here.
  • Loading branch information
khatchad committed Oct 30, 2024
1 parent f3ecadb commit a80bff9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions features/.settings/org.eclipse.core.resources.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8
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((Shell) null, PopupDialog.HOVER_SHELLSTYLE, false, false, false, false, null, null);
super(null, PopupDialog.HOVER_SHELLSTYLE, false, 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 = (IContextService) EditorUtils.getActiveWorkbenchWindow().getService(
final IContextService contextService = EditorUtils.getActiveWorkbenchWindow().getService(
IContextService.class);
contextService.registerShell(shell, contextService.getShellType((Shell) shell.getParent()));
}
Expand Down

0 comments on commit a80bff9

Please sign in to comment.