Changeset 141 for trunk/desktop/src


Ignore:
Timestamp:
Dec 3, 2006, 12:55:29 PM (19 years ago)
Author:
cinc
Message:

Implemented wpSetTitle()/wpQueryTitle() and fixed some glitches.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/desktop/src/vdesktop.c

    r113 r141  
    3737#include <os2.h>
    3838#include <stdio.h>
     39#include <stdlib.h>
    3940#include <gtk/gtk.h>
    4041#include "debug_window.h"
     42#include <gc.h>
    4143
    4244#include "nom.h"
     
    4446#include "wpobject.h"
    4547#include "wpfolder.h"
     48#include "desktoptypes.h"
    4649
    4750int createQuitWindow(void);
     
    5356/* Desktop folder */
    5457WPFolder *wpDesktop;
    55 
    56 
    5758/*
    5859  Main entry point. This function is called from the EMX wrapper. Be aware that gtk_init()
     
    6263{
    6364 char desktopDir[CCHMAXPATH]={0};
    64  
    65  g_message("We started...\n");   
     65
     66 g_message("We started...\n");
     67
    6668
    6769#if 0
     
    103105    wpDesktop=WPFolderNew();
    104106    dbgPrintf( "Created desktop object: %x", wpDesktop);
     107    WPFolder_tstSetFullPath(wpDesktop, desktopDir, NULLHANDLE);
    105108
    106     WPFolder_wpPopulate(wpDesktop, 0, desktopDir, 0, NULL);
     109    WPFolder_wpOpen(wpDesktop, NULL, OPEN_DEFAULT,  NULL, NULL);
    107110    /*    WPFolder_wpPopulate(wpObject, 0,"blabla 2", 0,  NULL);  */
    108111
Note: See TracChangeset for help on using the changeset viewer.