~ted/unity/set-indicator-env

« back to all changes in this revision

Viewing changes to src/main.vala

  • Committer: Gordon Allott
  • Date: 2009-10-21 18:13:02 UTC
  • mto: (1.2.11 unity-ql-uc1)
  • mto: This revision was merged to the branch mainline in revision 2.
  • Revision ID: mail@gordallott.com-20091021181302-fzyivsmhvn74abs2
added support for a unity window with a clutter stage
no support for "fullscreen" mode yet, but the api is there. code can be taken 
from the old liblauncher, launcher-session.c

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
    Unity.Window window;
25
25
 
26
26
    Gtk.init (ref args);
27
 
 
 
27
    GtkClutter.init (ref args);
 
28
    
28
29
    window = new Unity.Window ();
 
30
    window.set_fullscreen ();
29
31
    stdout.printf ("Hello World!\n");
30
32
 
31
33
    Gtk.main ();