|
@@ -31,7 +31,7 @@ namespace Crown
|
|
|
// Signals
|
|
// Signals
|
|
|
public signal void resource_selected(PlaceableType placeable_type, string name);
|
|
public signal void resource_selected(PlaceableType placeable_type, string name);
|
|
|
|
|
|
|
|
- public ResourceBrowser(Gtk.Widget parent, string source_dir, string data_dir)
|
|
|
|
|
|
|
+ public ResourceBrowser(string source_dir, string data_dir)
|
|
|
{
|
|
{
|
|
|
// Project paths
|
|
// Project paths
|
|
|
_source_dir = source_dir;
|
|
_source_dir = source_dir;
|
|
@@ -41,7 +41,6 @@ namespace Crown
|
|
|
_console_client = new ConsoleClient();
|
|
_console_client = new ConsoleClient();
|
|
|
|
|
|
|
|
// Widgets
|
|
// Widgets
|
|
|
- this.relative_to = parent;
|
|
|
|
|
this.destroy.connect(on_destroy);
|
|
this.destroy.connect(on_destroy);
|
|
|
|
|
|
|
|
_filter_entry = new Gtk.SearchEntry();
|
|
_filter_entry = new Gtk.SearchEntry();
|