summaryrefslogtreecommitdiff
path: root/libnautilus-private
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2010-06-11 13:17:12 +0200
committerCosimo Cecchi <cosimoc@gnome.org>2010-06-11 13:25:20 +0200
commita0d555cf31a6568038fb67c004c1085bec6de8cf (patch)
tree4ecd397ccc223db27461b03f620d642d27e0813b /libnautilus-private
parent44f222288b33de74464567a1578fbf7ea69725d7 (diff)
downloadnautilus-a0d555cf31a6568038fb67c004c1085bec6de8cf.tar.gz
[ln-p] GSEAL nautilus-open-with-dialog.
Diffstat (limited to 'libnautilus-private')
-rw-r--r--libnautilus-private/nautilus-open-with-dialog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libnautilus-private/nautilus-open-with-dialog.c b/libnautilus-private/nautilus-open-with-dialog.c
index 914d3f138..357e20c27 100644
--- a/libnautilus-private/nautilus-open-with-dialog.c
+++ b/libnautilus-private/nautilus-open-with-dialog.c
@@ -783,7 +783,7 @@ nautilus_open_with_dialog_init (NautilusOpenWithDialog *dialog)
gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE);
gtk_window_set_destroy_with_parent (GTK_WINDOW (dialog), TRUE);
- gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (dialog)->vbox), 2);
+ gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), 2);
vbox = gtk_vbox_new (FALSE, 12);
gtk_container_set_border_width (GTK_CONTAINER (vbox), 5);
@@ -835,7 +835,7 @@ nautilus_open_with_dialog_init (NautilusOpenWithDialog *dialog)
dialog, NULL);
- gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox), vbox, TRUE, TRUE, 0);
+ gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), vbox, TRUE, TRUE, 0);
gtk_widget_show_all (vbox);
@@ -903,7 +903,7 @@ nautilus_open_with_dialog_init (NautilusOpenWithDialog *dialog)
gtk_widget_show (align);
gtk_widget_show (dialog->details->button);
- GTK_WIDGET_SET_FLAGS (dialog->details->button, GTK_CAN_DEFAULT);
+ gtk_widget_set_can_default (dialog->details->button, TRUE);
gtk_container_add (GTK_CONTAINER (align), hbox);