wip: threading, window, etc.
This commit is contained in:
7
data/eu.polonkai.gergely.SsbGtk.desktop.in
Normal file
7
data/eu.polonkai.gergely.SsbGtk.desktop.in
Normal 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
19
data/meson.build
Normal 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
|
6
data/resources/eu.polonkai.gergely.SsbGtk.gresource.xml
Normal file
6
data/resources/eu.polonkai.gergely.SsbGtk.gresource.xml
Normal 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>
|
42
data/resources/ui/ssb-window.ui
Normal file
42
data/resources/ui/ssb-window.ui
Normal 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>
|
Reference in New Issue
Block a user