Ignore:
Timestamp:
Apr 23, 2007, 7:55:46 PM (15 years ago)
Author:
joshe
Message:

Merge r1781 from trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.7x/gtk/main.c

    r1656 r1784  
    150150winsetup( struct cbdata * cbdata, TrWindow * wind );
    151151static void
    152 remakewind( struct cbdata * cbdata );
     152iconclick( struct cbdata * cbdata );
    153153static void
    154154makeicon( struct cbdata * cbdata );
     
    457457
    458458static void
    459 remakewind( struct cbdata * cbdata )
     459iconclick( struct cbdata * cbdata )
    460460{
    461461    GtkWidget * win;
     
    463463    if( NULL != cbdata->wind )
    464464    {
    465         return;
    466     }
    467 
    468     /* create window */
    469     win = tr_window_new();
    470     winsetup( cbdata, TR_WINDOW( win ) );
    471     tr_window_show( TR_WINDOW( win ) );
     465        /* close window  */
     466        winclose( NULL, NULL, cbdata );
     467    }
     468    else
     469    {
     470        /* create window */
     471        win = tr_window_new();
     472        winsetup( cbdata, TR_WINDOW( win ) );
     473        tr_window_show( TR_WINDOW( win ) );
     474    }
    472475}
    473476
     
    951954          return;
    952955      case ACT_ICON:
    953           remakewind( data );
     956          iconclick( data );
    954957          return;
    955958      case ACT_CLOSE:
Note: See TracChangeset for help on using the changeset viewer.