Skip to content

Commit

Permalink
Bring folder manager plugin into core (elementary#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmhewitt authored and Corentin Noël committed Mar 15, 2018
1 parent 9a1b77c commit 2e97091
Show file tree
Hide file tree
Showing 20 changed files with 83 additions and 226 deletions.
7 changes: 7 additions & 0 deletions data/io.elementary.code.gschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -162,4 +162,11 @@
<description>Set the preferred policy.</description>
</key>
</schema>
<schema path="/io/elementary/code/folder-manager/" id="io.elementary.code.folder-manager">
<key name="opened-folders" type="as">
<default>[]</default>
<summary>Opened folders.</summary>
<description>Opened folders that should be restored in startup.</description>
</key>
</schema>
</schemalist>
10 changes: 0 additions & 10 deletions data/io.elementary.code.plugins.folder-manager.gschema.xml

This file was deleted.

1 change: 0 additions & 1 deletion data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ endforeach

install_data(
'io.elementary.code.gschema.xml',
'io.elementary.code.plugins.folder-manager.gschema.xml',
'io.elementary.code.plugins.spell.gschema.xml',
'io.elementary.code.plugins.terminal.gschema.xml',
install_dir: join_paths(get_option('prefix'), get_option('datadir'), 'glib-2.0', 'schemas')
Expand Down
120 changes: 0 additions & 120 deletions plugins/folder-manager/FolderManagerPlugin.vala

This file was deleted.

36 changes: 0 additions & 36 deletions plugins/folder-manager/Settings.vala

This file was deleted.

10 changes: 0 additions & 10 deletions plugins/folder-manager/folder-manager.plugin

This file was deleted.

39 changes: 0 additions & 39 deletions plugins/folder-manager/meson.build

This file was deleted.

1 change: 0 additions & 1 deletion plugins/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ subdir('brackets-completion')
subdir('browser-preview')
subdir('contractor')
subdir('detect-indent')
subdir('folder-manager')
subdir('highlight-word-selection')
subdir('open-with')
subdir('outline')
Expand Down
1 change: 0 additions & 1 deletion po/plugins/POTFILES
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ plugins/brackets-completion/brackets-completion.plugin
plugins/browser-preview/browser-preview.plugin
plugins/contractor/contractor.plugin
plugins/detect-indent/detect-indent.plugin
plugins/folder-manager/folder-manager.plugin
plugins/highlight-word-selection/highlight-word-selection.plugin
plugins/open-with/open-with.plugin
plugins/outline/outline.plugin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* Authored by: Julien Spautz <[email protected]>, Andrei-Costin Zisu <[email protected]>
*/

namespace Scratch.Plugins.FolderManager {
namespace Scratch.FolderManager {

/**
* Class for easily dealing with files.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* Authored by: Julien Spautz <[email protected]>, Andrei-Costin Zisu <[email protected]>
*/

namespace Scratch.Plugins.FolderManager {
namespace Scratch.FolderManager {
/**
* Normal item in the source list, represents a textfile.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
* Authored by: Julien Spautz <[email protected]>, Andrei-Costin Zisu <[email protected]>
*/

namespace Scratch.Plugins.FolderManager {
namespace Scratch.FolderManager {
/**
* SourceList that displays folders and their contents.
*/
internal class FileView : Granite.Widgets.SourceList, Code.PaneSwitcher {
private Settings settings;
private FolderManagerSettings settings;

public signal void select (string file);

Expand All @@ -40,7 +40,7 @@ namespace Scratch.Plugins.FolderManager {

item_selected.connect (on_item_selected);

settings = new Settings ();
settings = new FolderManagerSettings ();
}

private void on_item_selected (Granite.Widgets.SourceList.Item? item) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* Authored by: Julien Spautz <[email protected]>, Andrei-Costin Zisu <[email protected]>
*/

namespace Scratch.Plugins.FolderManager {
namespace Scratch.FolderManager {
/**
* Expandable item in the source list, represents a folder.
* Monitored for changes inside the directory.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* Authored by: Julien Spautz <[email protected]>, Andrei-Costin Zisu <[email protected]>
*/

namespace Scratch.Plugins.FolderManager {
namespace Scratch.FolderManager {
/**
* Common abstract class for file and folder items.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* Authored by: Julien Spautz <[email protected]>, Andrei-Costin Zisu <[email protected]>
*/

namespace Scratch.Plugins.FolderManager {
namespace Scratch.FolderManager {
internal class MainFolderItem : FolderItem {
public signal void closed ();

Expand Down
Loading

0 comments on commit 2e97091

Please sign in to comment.