Changeset 5995


Ignore:
Timestamp:
Jun 2, 2008, 4:58:49 AM (14 years ago)
Author:
charles
Message:

(gtk) better grouping of the progress indicator in the "new torrent" dialog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/makemeta-ui.c

    r5994 r5995  
    313313    d = gtk_dialog_new_with_buttons( _("New Torrent"),
    314314                                     parent,
    315                                      GTK_DIALOG_DESTROY_WITH_PARENT,
     315                                     GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_NO_SEPARATOR,
    316316                                     GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
    317317                                     GTK_STOCK_NEW, GTK_RESPONSE_ACCEPT,
     
    383383    w = gtk_frame_new( NULL );
    384384    gtk_frame_set_shadow_type( GTK_FRAME( w ), GTK_SHADOW_NONE );
    385     gtk_container_set_border_width( GTK_CONTAINER( w ), GUI_PAD_BIG );
    386    
    387         ui->progressbar = gtk_progress_bar_new( );
    388         gtk_progress_bar_set_text( GTK_PROGRESS_BAR( ui->progressbar), _( "No source selected" ) );
    389         gtk_container_add( GTK_CONTAINER( w ), ui->progressbar );
    390 
     385    gtk_container_set_border_width( GTK_CONTAINER( w ), GUI_PAD );
     386    gtk_container_add( GTK_CONTAINER( w ), gtk_hseparator_new( ) );
     387    gtk_box_pack_start( main_vbox, w, FALSE, FALSE, 0 );
     388
     389    w = gtk_frame_new( NULL );
     390    gtk_frame_set_shadow_type( GTK_FRAME( w ), GTK_SHADOW_NONE );
     391    gtk_container_set_border_width( GTK_CONTAINER( w ), GUI_PAD );
     392    ui->progressbar = gtk_progress_bar_new( );
     393    gtk_progress_bar_set_text( GTK_PROGRESS_BAR( ui->progressbar), _( "No source selected" ) );
     394    gtk_container_add( GTK_CONTAINER( w ), ui->progressbar );
    391395    gtk_box_pack_start( main_vbox, w, FALSE, FALSE, 0 );
    392396
Note: See TracChangeset for help on using the changeset viewer.