The SSH host key has changed on 8 April, 2022 to this one: SHA256:573uTBSeh74kvOo0HJXi5ijdzRm8me27suzNEDlGyrQ
SSB Client for the GNOME desktop
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
ssb-gtk/ssb-gtk/ssb-window.c

35 lines
819 B

#include "ssb-window.h"
#include "ssb-profile.h"
struct _SsbWindow {
GtkApplicationWindow parent_instance;
};
G_DEFINE_TYPE(SsbWindow, ssb_window, GTK_TYPE_APPLICATION_WINDOW);
SsbWindow *
ssb_window_new(SsbApp *app)
{
SsbWindow *window = g_object_new(SSB_TYPE_WINDOW, NULL);
gtk_window_set_application(GTK_WINDOW(window), GTK_APPLICATION(app));
gtk_window_set_icon_name(GTK_WINDOW(window), "ssb-gtk");
return window;
}
static void
ssb_window_init(SsbWindow *window)
{
g_type_ensure(SSB_TYPE_PROFILE);
gtk_widget_init_template(GTK_WIDGET(window));
}
static void
ssb_window_class_init(SsbWindowClass *klass)
{
GtkWidgetClass *widget_class = GTK_WIDGET_CLASS(klass);
gtk_widget_class_set_template_from_resource(widget_class, "/eu/polonkai/gergely/SsbGtk/ui/ssb-window.ui");
}