-
Notifications
You must be signed in to change notification settings - Fork 740
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
editors/elementary-code: update to 7.0.0
ChangeLog: https://github.com/elementary/code/releases/tag/7.0.0 * Fix compile warnings * add code to keywords * Fix drag and drop of accented text and between tabs * Git ignore flatpak build files * Ensure tab toggle label is always correct * Add follow system style switch * Explicitly handle missing cases * Remove unused properties * Change key to trigger rebuild completion word list * Global search selected * Move strip trailing whitespace into main code; remove plugin * Fix meson warning for run_command * Add custom elementary syntax styles * Hide non-active documents when project manually chosen * Show symbol outline pane on right of document * ProjectFolderItem: Fix wrong ngettext syntax * Redesign app icon as a tile * Put the ProjectChooserButton inside the sidebar * HeaderBar: put find actions in menu * EditorConfig plugin overrides global settings for indent width and style * Make sidebar pane the toplevel container * Use elementary styles when following system style * Change panel menu items to linkbutton * FormatBar: use SwitchModelButton in tab popover * Move Terminal to core * Headerbar: remove sep before Revert * FormatBar: use menubuttons instead of ToggleButtons * Sidebar: Remove minimum width * GSchema: follow system style * Only restore documents for first window. * Do not add duplicate project * Update ci.yml * FormatBar: Set sensitivity of affected items, fix binding * PluginManager: Remove unused hooks * Make Control-Scroll zooming controllable * Metainfo improvements * Headerbar: code style, small fixes * Application: use built-in GLib functions in Activate * Inactivate find actions when no current doc * Fix startup warnings * Styles: misc refinements PR: 269135 Reported by: duchateau.olivier@gmail.com Approved by: miguel@gocobachi.dev (maintainer)
- Loading branch information
1 parent
59c9a04
commit cb93315
Showing
5 changed files
with
29 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TIMESTAMP = 1653761499 | ||
SHA256 (elementary-code-6.2.0_GH0.tar.gz) = 9ec273182b053fb424cc78ddd8da869d13261d35f22cd2198f2899b654d13d4f | ||
SIZE (elementary-code-6.2.0_GH0.tar.gz) = 1427323 | ||
TIMESTAMP = 1674590479 | ||
SHA256 (elementary-code-7.0.0_GH0.tar.gz) = 5bf167102fd735ee74fb72b7fbc06dc67a6e6383f603be0ee97321213a4a7ce0 | ||
SIZE (elementary-code-7.0.0_GH0.tar.gz) = 1696976 |
21 changes: 0 additions & 21 deletions
21
editors/elementary-code/files/patch-plugins_terminal_terminal.vala
This file was deleted.
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
editors/elementary-code/files/patch-src_Widgets_Terminal.vala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- src/Widgets/Terminal.vala.orig 2023-01-24 16:59:41 UTC | ||
+++ src/Widgets/Terminal.vala | ||
@@ -87,13 +87,14 @@ public class Code.Terminal : Gtk.Box { | ||
} | ||
|
||
private string get_shell_location () { | ||
- int pid = (!) (this.child_pid); | ||
+ string cwd = ""; | ||
try { | ||
- return GLib.FileUtils.read_link ("/proc/%d/cwd".printf (pid)); | ||
+ GLib.Process.spawn_command_line_sync ("pwd", out cwd); | ||
} catch (GLib.FileError error) { | ||
warning ("An error occurred while fetching the current dir of shell: %s", error.message); | ||
- return ""; | ||
} | ||
+ | ||
+ return cwd; | ||
} | ||
|
||
private void update_terminal_settings (string settings_schema) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters