[nautilus] mime-application-chooser: tweak buttons ordering
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] mime-application-chooser: tweak buttons ordering
- Date: Wed, 1 Dec 2010 01:33:55 +0000 (UTC)
commit 677c52173a1f5ba1a8e3db8c70cd96f27fb90200
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Nov 30 19:59:29 2010 +0100
mime-application-chooser: tweak buttons ordering
.../nautilus-mime-application-chooser.c | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/libnautilus-private/nautilus-mime-application-chooser.c b/libnautilus-private/nautilus-mime-application-chooser.c
index ca67d09..16d3fcf 100644
--- a/libnautilus-private/nautilus-mime-application-chooser.c
+++ b/libnautilus-private/nautilus-mime-application-chooser.c
@@ -340,7 +340,7 @@ nautilus_mime_application_chooser_build_ui (NautilusMimeApplicationChooser *choo
gtk_app_chooser_widget_set_show_fallback (GTK_APP_CHOOSER_WIDGET (chooser->details->open_with_widget),
TRUE);
gtk_box_pack_start (GTK_BOX (chooser), chooser->details->open_with_widget,
- TRUE, TRUE, 6);
+ FALSE, FALSE, 6);
gtk_widget_show (chooser->details->open_with_widget);
g_signal_connect (chooser->details->open_with_widget, "application-selected",
@@ -356,19 +356,18 @@ nautilus_mime_application_chooser_build_ui (NautilusMimeApplicationChooser *choo
gtk_box_pack_start (GTK_BOX (chooser), box, FALSE, FALSE, 6);
gtk_widget_show (box);
- button = gtk_button_new_from_stock (GTK_STOCK_ADD);
+ button = gtk_button_new_with_label (_("Reset changes"));
g_signal_connect (button, "clicked",
- G_CALLBACK (add_clicked_cb),
+ G_CALLBACK (reset_clicked_cb),
chooser);
-
gtk_widget_show (button);
gtk_box_pack_start (GTK_BOX (box), button, FALSE, FALSE, 0);
+ gtk_button_box_set_child_secondary (GTK_BUTTON_BOX (box), button, TRUE);
- button = gtk_button_new_with_label (_("Reset"));
+ button = gtk_button_new_from_stock (GTK_STOCK_ADD);
g_signal_connect (button, "clicked",
- G_CALLBACK (reset_clicked_cb),
+ G_CALLBACK (add_clicked_cb),
chooser);
-
gtk_widget_show (button);
gtk_box_pack_start (GTK_BOX (box), button, FALSE, FALSE, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]