mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-09-13 04:51:15 +00:00
HIG fixes (add a missing mnemonic and correct the widget padding) for the
2004-01-02 Dennis Cranston <dennis_cranston at yahoo com> * src/nautilus-connect-server-dialog.c: (nautilus_connect_server_dialog_init) * src/nautilus-location-dialog.c: (nautilus_location_dialog_init) HIG fixes (add a missing mnemonic and correct the widget padding) for the "Open Location" and "Connect to Server" dialogs.
This commit is contained in:
parent
cd54f07465
commit
8428367063
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2004-01-02 Dennis Cranston <dennis_cranston at yahoo com>
|
||||
|
||||
* src/nautilus-connect-server-dialog.c:
|
||||
(nautilus_connect_server_dialog_init)
|
||||
* src/nautilus-location-dialog.c:
|
||||
(nautilus_location_dialog_init)
|
||||
HIG fixes (add a missing mnemonic and correct the widget
|
||||
padding) for the "Open Location" and "Connect to Server"
|
||||
dialogs.
|
||||
|
||||
2003-01-02 Diego Gonzalez Gonzalez <diego@pemas.net>
|
||||
|
||||
* configure.in:
|
||||
|
|
|
@ -176,15 +176,19 @@ nautilus_connect_server_dialog_init (NautilusConnectServerDialog *dialog)
|
|||
gtk_window_set_title (GTK_WINDOW (dialog), _("Connect to Server"));
|
||||
gtk_window_set_default_size (GTK_WINDOW (dialog), 300, -1);
|
||||
gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
|
||||
gtk_container_set_border_width (GTK_CONTAINER (dialog), 5);
|
||||
gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (dialog)->vbox), 2);
|
||||
|
||||
table = gtk_table_new (2, 2, FALSE);
|
||||
gtk_container_set_border_width (GTK_CONTAINER (table), 5);
|
||||
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox),
|
||||
table, TRUE, TRUE, 12);
|
||||
table, TRUE, TRUE, 0);
|
||||
gtk_table_set_row_spacings (GTK_TABLE (table), 6);
|
||||
gtk_table_set_col_spacings (GTK_TABLE (table), 6);
|
||||
gtk_table_set_col_spacings (GTK_TABLE (table), 12);
|
||||
gtk_widget_show (table);
|
||||
|
||||
label = gtk_label_new_with_mnemonic (_("_Name:"));
|
||||
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
|
||||
gtk_widget_show (label);
|
||||
gtk_table_attach (GTK_TABLE (table), label,
|
||||
0, 1,
|
||||
|
@ -203,6 +207,7 @@ nautilus_connect_server_dialog_init (NautilusConnectServerDialog *dialog)
|
|||
|
||||
|
||||
label = gtk_label_new_with_mnemonic (_("_Location:"));
|
||||
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
|
||||
gtk_widget_show (label);
|
||||
gtk_table_attach (GTK_TABLE (table), label,
|
||||
0, 1,
|
||||
|
@ -227,7 +232,7 @@ nautilus_connect_server_dialog_init (NautilusConnectServerDialog *dialog)
|
|||
GTK_STOCK_CANCEL,
|
||||
GTK_RESPONSE_CANCEL);
|
||||
gtk_dialog_add_button (GTK_DIALOG (dialog),
|
||||
_("Connect"),
|
||||
_("C_onnect"),
|
||||
RESPONSE_CONNECT);
|
||||
gtk_dialog_set_default_response (GTK_DIALOG (dialog),
|
||||
RESPONSE_CONNECT);
|
||||
|
|
|
@ -137,13 +137,16 @@ nautilus_location_dialog_init (NautilusLocationDialog *dialog)
|
|||
gtk_window_set_title (GTK_WINDOW (dialog), _("Open Location"));
|
||||
gtk_window_set_default_size (GTK_WINDOW (dialog), 300, -1);
|
||||
gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
|
||||
gtk_container_set_border_width (GTK_CONTAINER (dialog), 5);
|
||||
gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (dialog)->vbox), 2);
|
||||
|
||||
box = gtk_hbox_new (FALSE, 6);
|
||||
box = gtk_hbox_new (FALSE, 12);
|
||||
gtk_container_set_border_width (GTK_CONTAINER (box), 5);
|
||||
gtk_widget_show (box);
|
||||
|
||||
label = gtk_label_new (_("Location:"));
|
||||
label = gtk_label_new_with_mnemonic (_("_Location:"));
|
||||
gtk_widget_show (label);
|
||||
gtk_box_pack_start (GTK_BOX (box), label, FALSE, FALSE, 6);
|
||||
gtk_box_pack_start (GTK_BOX (box), label, FALSE, FALSE, 0);
|
||||
|
||||
dialog->details->entry = nautilus_location_entry_new ();
|
||||
g_signal_connect (dialog->details->entry,
|
||||
|
@ -154,10 +157,10 @@ nautilus_location_dialog_init (NautilusLocationDialog *dialog)
|
|||
gtk_widget_show (dialog->details->entry);
|
||||
|
||||
gtk_box_pack_start (GTK_BOX (box), dialog->details->entry,
|
||||
TRUE, TRUE, 6);
|
||||
TRUE, TRUE, 0);
|
||||
|
||||
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox),
|
||||
box, TRUE, TRUE, 12);
|
||||
box, TRUE, TRUE, 0);
|
||||
|
||||
gtk_dialog_add_button (GTK_DIALOG (dialog),
|
||||
GTK_STOCK_CANCEL,
|
||||
|
|
Loading…
Reference in a new issue