moved vala-files in separate folders

This commit is contained in:
Artem Anufrij 2017-08-01 18:09:52 +02:00
parent 405bdb8e34
commit bfa259faa8
7 changed files with 10 additions and 10 deletions

View file

@ -68,7 +68,7 @@ static int main (string[] args) {
return app.run (args); return app.run (args);
} else { } else {
var app_info = Webpin.DesktopFile.get_app_by_url (args[1]); var app_info = Webpin.DesktopFile.get_app_by_url (args[1]);
var app = new Webpin.WebAppWindow(app_info.get_display_name (), args[1]); var app = new Webpin.WebWindow(app_info.get_display_name (), args[1]);
app.show_all (); app.show_all ();
} }

View file

@ -2,15 +2,15 @@ vala_precompile(VALA_C ${CMAKE_PROJECT_NAME}
Widgets/ApplicationIcon.vala Widgets/ApplicationIcon.vala
Widgets/ApplicationsView.vala Widgets/ApplicationsView.vala
Widgets/Assistant.vala Widgets/Assistant.vala
Application.vala Widgets/WebApp.vala
MainWindow.vala Widgets/WebBar.vala
DesktopFile.vala Objects/DesktopFile.vala
InfoDialog.vala Dialogs/InfoDialog.vala
Settings.vala Settings.vala
UrlEntry.vala UrlEntry.vala
WebApp.vala MainWindow.vala
WebBar.vala WebWindow.vala
WebAppWindow.vala Application.vala
PACKAGES PACKAGES
gtk+-3.0 gtk+-3.0
granite granite

View file

@ -27,7 +27,7 @@
*/ */
namespace Webpin { namespace Webpin {
public class WebAppWindow : Gtk.ApplicationWindow { public class WebWindow : Gtk.ApplicationWindow {
private bool is_full_screen = false; private bool is_full_screen = false;
@ -37,7 +37,7 @@ namespace Webpin {
private WebApp web_app; private WebApp web_app;
private WebBar headerbar; private WebBar headerbar;
public WebAppWindow (string webapp_name, string webapp_uri) { public WebWindow (string webapp_name, string webapp_uri) {
set_wmclass(webapp_uri, webapp_uri); set_wmclass(webapp_uri, webapp_uri);
web_app = new WebApp(webapp_name, webapp_uri); web_app = new WebApp(webapp_name, webapp_uri);