Changeset 246 for trunk/gtk


Ignore:
Timestamp:
Apr 29, 2006, 4:29:04 PM (16 years ago)
Author:
joshe
Message:

Make padding of dialogs look a little better.
Respect GNOME's toolbar settings.

Patch from forum user /dev/urandom.

Location:
trunk/gtk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/dialogs.c

    r243 r246  
    107107  g_free(title);
    108108  gtk_widget_set_name(wind, "TransmissionDialog");
    109   gtk_table_set_col_spacings(GTK_TABLE(table), 12);
    110   gtk_table_set_row_spacings(GTK_TABLE(table), 12);
     109  gtk_table_set_col_spacings(GTK_TABLE(table), 8);
     110  gtk_table_set_row_spacings(GTK_TABLE(table), 8);
    111111  gtk_dialog_set_default_response(GTK_DIALOG(wind), GTK_RESPONSE_OK);
    112112  gtk_container_set_border_width(GTK_CONTAINER(table), 6);
     
    386386    char *txt = g_markup_printf_escaped("<b>%s</b>", nam); \
    387387    GtkWidget *wid = gtk_label_new(NULL); \
    388     gtk_misc_set_alignment(GTK_MISC(wid), 1, .5); \
     388    gtk_misc_set_alignment(GTK_MISC(wid), 0, .5); \
    389389    gtk_label_set_markup(GTK_LABEL(wid), txt); \
    390390    gtk_table_attach_defaults(GTK_TABLE(tab), wid, 0, 1, ii, ii + 1); \
  • trunk/gtk/main.c

    r243 r246  
    401401  gtk_toolbar_set_tooltips(GTK_TOOLBAR(bar), TRUE);
    402402  gtk_toolbar_set_show_arrow(GTK_TOOLBAR(bar), FALSE);
    403   gtk_toolbar_set_style(GTK_TOOLBAR(bar), GTK_TOOLBAR_BOTH);
    404403
    405404  data->buttons = g_new(GtkWidget*, ALEN(actionitems));
  • trunk/gtk/trcellrenderertorrent.c

    r81 r246  
    9999  tcell->priv->text_attrs = NULL;
    100100  tcell->priv->label = g_strdup("");
    101   tcell->priv->text_attrs = NULL;
     101  tcell->priv->label_attrs = NULL;
    102102  tcell->priv->style = NULL;
    103103}
Note: See TracChangeset for help on using the changeset viewer.