Changeset 4961


Ignore:
Timestamp:
Feb 7, 2008, 5:41:40 PM (14 years ago)
Author:
charles
Message:

(gtk) #687: more HIG fixes for Details dialog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/torrent-inspector.c

    r4927 r4961  
    719719    gtk_frame_set_shadow_type (GTK_FRAME(fr), GTK_SHADOW_IN);
    720720    gtk_container_add (GTK_CONTAINER(fr), w);
    721     hig_workarea_add_row (t, &row, name, fr, NULL);
     721    w = hig_workarea_add_row (t, &row, name, fr, NULL);
     722    gtk_misc_set_alignment (GTK_MISC(w), 0.0f, 0.0f);
    722723
    723724  hig_workarea_add_section_divider (t, &row);
     
    884885    g_object_set_data (G_OBJECT(w), "draw-mode", GINT_TO_POINTER(DRAW_PROG));
    885886    g_signal_connect (w, "expose-event", G_CALLBACK(refresh_pieces), gtor);
    886     hig_workarea_add_row (t, &row, _("Completeness:"), w, NULL);
     887    l = hig_workarea_add_row (t, &row, _("Completeness:"), w, NULL);
     888    gtk_misc_set_alignment (GTK_MISC(l), 0.0f, 0.0f);
    887889
    888890  hig_workarea_add_section_divider (t, &row);
     
    12691271    /* create the view */
    12701272    view = gtk_tree_view_new_with_model( GTK_TREE_MODEL( store ) );
     1273    gtk_container_set_border_width( GTK_CONTAINER( view ), GUI_PAD_BIG );
    12711274    g_object_set_data (G_OBJECT(view), "torrent-handle", tor );
    12721275
     
    14701473    sensitize_from_check_cb (GTK_TOGGLE_BUTTON(tb), w);
    14711474    gtk_box_pack_start ( GTK_BOX (hb), GTK_WIDGET (w), FALSE, TRUE, 0);
    1472     mis = gtk_label_new (_("kiB/s"));
     1475    mis = gtk_label_new (_("KiB/s"));
    14731476    gtk_box_pack_start ( GTK_BOX (hb), GTK_WIDGET (mis), FALSE, TRUE, 0);
    14741477    hig_workarea_add_row_w (t, &row, tb, hb, NULL);
     
    14871490    sensitize_from_check_cb (GTK_TOGGLE_BUTTON(tb), w);
    14881491    gtk_box_pack_start ( GTK_BOX (hb), GTK_WIDGET (w), FALSE, TRUE, 0);
    1489     mis = gtk_label_new (_("kiB/s"));
     1492    mis = gtk_label_new (_("KiB/s"));
    14901493    gtk_box_pack_start ( GTK_BOX (hb), GTK_WIDGET (mis), FALSE, TRUE, 0);   
    14911494    hig_workarea_add_row_w (t, &row, tb, hb, NULL);
     
    15021505    mis = gtk_label_new (_("peers"));
    15031506    gtk_box_pack_start ( GTK_BOX (hb), GTK_WIDGET (mis), FALSE, TRUE, 0);   
    1504     hig_workarea_add_row( t, &row, _( "Connect at maximum to:" ), hb, NULL );
     1507    hig_workarea_add_row( t, &row, _( "Connect at _maximum to:" ), hb, w );
    15051508    g_signal_connect( w, "value-changed", G_CALLBACK( max_peers_spun_cb ), gtor );
    15061509
Note: See TracChangeset for help on using the changeset viewer.