Ignore:
Timestamp:
12/12/06 16:37:18 (6 years ago)
Author:
mickey
Message:

mokoui: add logics for keeping track of the current window.
NOTE: this logics is taken from Maemo and under construction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-dialog-window.c

    r355 r398  
    2626#include <glib/gmain.h> 
    2727 
    28 #undef DEBUG_THIS_FILE 
     28#define DEBUG_THIS_FILE 
    2929#ifdef DEBUG_THIS_FILE 
    3030#define moko_debug(fmt,...) g_debug(fmt,##__VA_ARGS__) 
     
    143143    { 
    144144        gtk_window_set_transient_for( GTK_WINDOW(self), parent ); 
     145#ifndef DEBUG_THIS_FILE 
    145146        gtk_window_set_modal( GTK_WINDOW(self), TRUE ); 
     147#endif 
    146148        gtk_window_set_destroy_with_parent( GTK_WINDOW(self), TRUE ); 
    147149    } 
     
    202204    g_object_ref (dialog); 
    203205 
     206#ifndef DEBUG_THIS_FILE 
    204207    was_modal = GTK_WINDOW (dialog)->modal; 
    205208    if (!was_modal) 
    206209        gtk_window_set_modal (GTK_WINDOW (dialog), TRUE); 
     210#endif 
    207211 
    208212    if (!GTK_WIDGET_VISIBLE (dialog)) 
Note: See TracChangeset for help on using the changeset viewer.