[rename] change app to teleport everywhere

This commit is contained in:
Tobias Bernard
2017-02-22 18:24:07 +01:00
parent c274a8b0cf
commit 849ff78583
20 changed files with 3549 additions and 154 deletions

46
src/teleportappwin.c Normal file
View File

@@ -0,0 +1,46 @@
#include <gtk/gtk.h>
#include "teleportapp.h"
#include "teleportappwin.h"
struct _TeleportAppWindow
{
GtkApplicationWindow parent;
};
G_DEFINE_TYPE(TeleportAppWindow, teleport_app_window, GTK_TYPE_APPLICATION_WINDOW);
static void
teleport_app_window_init (TeleportAppWindow *win)
{
gtk_widget_init_template (GTK_WIDGET (win));
GtkBuilder *builder;
GMenuModel *menu;
GAction *action;
gtk_widget_init_template (GTK_WIDGET (win));
builder = gtk_builder_new_from_resource ("/org/gtk/teleportapp/settings.ui");
menu = G_MENU_MODEL (gtk_builder_get_object (builder, "menu"));
g_object_unref (builder);
}
static void
teleport_app_window_class_init (TeleportAppWindowClass *class)
{
gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (class),
"/org/gtk/teleportapp/window.ui");
}
TeleportAppWindow *
teleport_app_window_new (TeleportApp *app)
{
return g_object_new (TELEPORT_APP_WINDOW_TYPE, "application", app, NULL);
}
void
teleport_app_window_open (TeleportAppWindow *win,
GFile *file)
{
}