Merge branch 'master' of https://vcs.maemo.org/git/livewp
[livewp] / applet / src / livewp-main.c
index 67f3025..6397530 100644 (file)
@@ -31,6 +31,7 @@ main(int argc, char *argv[])
 {
     GtkWidget *main_widget = NULL;
     GtkWidget *window;
+    GtkWidget *button;
     gint result;
     HildonProgram       *app;
     osso_context_t  *osso_context=NULL;
@@ -59,6 +60,13 @@ main(int argc, char *argv[])
     /* Create Main GUI */
     main_widget = hildon_stackable_window_new ();
     gtk_window_set_title(GTK_WINDOW(main_widget), PACKAGE);
+
+    button = hildon_button_new(HILDON_SIZE_AUTO_WIDTH | HILDON_SIZE_FINGER_HEIGHT,
+                               HILDON_BUTTON_ARRANGEMENT_HORIZONTAL);
+    hildon_button_set_text(HILDON_BUTTON(button), "кнопка", "");
+    gtk_container_add(GTK_CONTAINER(main_widget), button);
+
+
     hildon_program_add_window(app, HILDON_WINDOW(main_widget));
 
     gtk_widget_show_all(GTK_WIDGET(main_widget));