summaryrefslogtreecommitdiff
path: root/rcm-client-transmit.c
blob: 62b0a7fe9237e863bde71ad6a5be1150d7015e1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <math.h>
#include <gtk/gtk.h>

#include "generated.h"
#include "rcm-client-main.h"
#include "rcm-client-transmit.h"

static GtkWidget *label = NULL;

void rcng_client_transmit_destroy_ui()
{
	if (label)
		gtk_widget_destroy(label);

	label = NULL;	
}

void rcng_client_transmit_init_ui()
{
	GtkWidget *label;

	rcng_client_transmit_destroy_ui();
	label = gtk_label_new("Transmitting");
	gtk_widget_show_all(label);
	gtk_notebook_append_page(global->notebook, label, gtk_label_new("Transmit"));
}