/rusxmms/librcc

To get this branch, use:
bzr branch http://suren.me/webbzr/rusxmms/librcc

« back to all changes in this revision

Viewing changes to examples/rcc-gtk-config.c

  • Committer: Suren A. Chilingaryan
  • Date: 2005-07-29 03:26:28 UTC
  • Revision ID: Arch-1:ds@dside.dyndns.org--darksoft-2004%librcc--main--0.1--patch-23
Translation
    - Language Translation using libtranslate is implemented
    - Autoengine sets current charset (option)

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
    if (argc<1) config = argv[0];
39
39
    else config = argv[1];
40
40
 
41
 
    gtk_set_locale ();
42
 
    gtk_init (&argc, &argv);
43
 
 
44
41
    rccInit();
45
42
    rccUiInit();
46
43
    ctx = rccCreateContext(NULL, 0, 0, classes, 0);
47
44
    rccLoad(ctx, config);
48
45
    uictx = rccUiCreateContext(ctx);
49
46
 
 
47
    gtk_set_locale ();
 
48
    gtk_init (&argc, &argv);
 
49
 
50
50
    window1 = gtk_window_new (GTK_WINDOW_TOPLEVEL);
51
51
    gtk_window_set_policy(GTK_WINDOW (window1), FALSE, FALSE, TRUE);
52
52
    gtk_window_set_title (GTK_WINDOW (window1), "LibRCC Config");