Changeset 5584 for trunk/gtk/main.c


Ignore:
Timestamp:
Apr 11, 2008, 2:36:29 PM (14 years ago)
Author:
charles
Message:

(gtk) #826: gtk client's "--minimized" command-line argument doesn't work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/main.c

    r5583 r5584  
    408408    updatemodel( cbdata );
    409409
    410     /* show the window */
    411     if( minimized ) {
     410    /* either show the window or iconify it */
     411    if( !minimized )
     412        gtk_widget_show( GTK_WIDGET( wind ) );
     413    else {
    412414        gtk_window_iconify( wind );
    413415        gtk_window_set_skip_taskbar_hint( cbdata->wind, cbdata->icon != NULL );
    414416    }
    415     gtk_widget_show( GTK_WIDGET( wind ) );
    416417}
    417418
Note: See TracChangeset for help on using the changeset viewer.