wip: threading, window, etc.

This commit is contained in:
2018-12-29 07:40:52 +01:00
parent b960a591cb
commit 661867e0ba
12 changed files with 211 additions and 10 deletions

View File

@@ -0,0 +1,7 @@
[Desktop Entry]
Name=SSB-GTK+
Exec=ssb-gtk
Terminal=false
Type=Application
Categories=GTK;
StartupNotify=true

19
data/meson.build Normal file
View File

@@ -0,0 +1,19 @@
ssb_resources = gnome.compile_resources(
'ssb-resources',
join_paths('resources', 'eu.polonkai.gergely.SsbGtk.gresource.xml'),
source_dir: 'resources',
c_name: 'ssb')
desktop_file = i18n.merge_file(
input: 'eu.polonkai.gergely.SsbGtk.desktop.in',
output: 'eu.polonkai.gergely.SsbGtk.desktop',
type: 'desktop',
po_dir: '../po',
install: true,
install_dir: join_paths(get_option('datadir'), 'applications'))
desktop_utils = find_program('desktop-file-validate', required: false)
if desktop_utils.found()
test('Validate desktop file', desktop_utils,
args: [desktop_file])
endif

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<gresources>
<gresource prefix="/eu/polonkai/gergely/SsbGtk">
<file>ui/ssb-window.ui</file>
</gresource>
</gresources>

View File

@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.22.1 -->
<interface>
<requires lib="gtk+" version="3.20"/>
<template class="SsbWindow" parent="GtkApplicationWindow">
<property name="can_focus">False</property>
<child type="titlebar">
<object class="GtkHeaderBar">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="title" translatable="yes">Secure Scuttlebutt</property>
<property name="show_close_button">True</property>
</object>
</child>
<child>
<object class="GtkGrid">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkListBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">0</property>
</packing>
</child>
<child>
<object class="GtkListBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">0</property>
</packing>
</child>
</object>
</child>
</template>
</interface>