Changeset 5595


Ignore:
Timestamp:
Apr 12, 2008, 2:40:13 PM (14 years ago)
Author:
charles
Message:

(gtk) #868: Fix spacing and title for preferences dialog

Location:
trunk/gtk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/details.c

    r5593 r5595  
    13011301  g_signal_connect (d, "response", G_CALLBACK (response_cb), gtor);
    13021302  gtk_dialog_set_has_separator( GTK_DIALOG( d ), FALSE );
    1303   gtk_container_set_border_width (GTK_CONTAINER (d), 5);
    1304   gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (d)->vbox), 2);
     1303  gtk_container_set_border_width( GTK_CONTAINER( d ), GUI_PAD );
    13051304  g_object_weak_ref (G_OBJECT(gtor), torrent_destroyed, d);
    13061305 
     
    13081307  /* add the notebook */
    13091308  n = gtk_notebook_new ();
    1310   gtk_container_set_border_width ( GTK_CONTAINER ( n ), 5 );
     1309  gtk_container_set_border_width ( GTK_CONTAINER ( n ), GUI_PAD );
    13111310
    13121311  w = activity_page_new (gtor);
  • trunk/gtk/tr-prefs.c

    r5588 r5595  
    548548    *alive = TRUE;
    549549
    550     d = gtk_dialog_new_with_buttons( _("Preferences"), parent,
     550    d = gtk_dialog_new_with_buttons( _( "Transmission Preferences" ), parent,
    551551                                     GTK_DIALOG_DESTROY_WITH_PARENT,
    552552                                     GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
     
    558558
    559559    n = gtk_notebook_new( );
     560    gtk_container_set_border_width ( GTK_CONTAINER ( n ), GUI_PAD );
    560561
    561562    gtk_notebook_append_page( GTK_NOTEBOOK( n ),
Note: See TracChangeset for help on using the changeset viewer.