[Xfce4-commits] [xfce/exo] 01/01: Preferred Applications: Use full width for text, wrap, and apply 6/12/18 standard spacing
noreply at xfce.org
noreply at xfce.org
Sat Sep 1 21:49:43 CEST 2018
This is an automated email from the git hooks/post-receive script.
b l u e s a b r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/exo.
commit 67ff2e069433cb33ddb906a9fdd1112d4e18ae2d
Author: Sean Davis <smd.seandavis at gmail.com>
Date: Sat Sep 1 15:49:37 2018 -0400
Preferred Applications: Use full width for text, wrap, and apply 6/12/18 standard spacing
---
exo-helper/exo-helper-chooser-dialog.c | 33 +++++++++++++++------------------
1 file changed, 15 insertions(+), 18 deletions(-)
diff --git a/exo-helper/exo-helper-chooser-dialog.c b/exo-helper/exo-helper-chooser-dialog.c
index 8753858..cb943af 100644
--- a/exo-helper/exo-helper-chooser-dialog.c
+++ b/exo-helper/exo-helper-chooser-dialog.c
@@ -99,6 +99,7 @@ exo_helper_chooser_dialog_init (ExoHelperChooserDialog *chooser_dialog)
gtk_dialog_add_button (GTK_DIALOG (chooser_dialog), _("_Close"), GTK_RESPONSE_CLOSE);
gtk_window_set_icon_name (GTK_WINDOW (chooser_dialog), "preferences-desktop-default-applications");
gtk_window_set_title (GTK_WINDOW (chooser_dialog), _("Preferred Applications"));
+ gtk_window_set_default_size (GTK_WINDOW (chooser_dialog), 350, -1);
xfce_titled_dialog_set_subtitle (XFCE_TITLED_DIALOG (chooser_dialog), _("Select default applications for various services"));
/* add the "Help" button */
@@ -124,7 +125,7 @@ exo_helper_chooser_dialog_init (ExoHelperChooserDialog *chooser_dialog)
Internet
*/
label = gtk_label_new_with_mnemonic (_("_Internet"));
- vbox = g_object_new (GTK_TYPE_BOX, "orientation", GTK_ORIENTATION_VERTICAL, "border-width", 12, "spacing", 24, NULL);
+ vbox = g_object_new (GTK_TYPE_BOX, "orientation", GTK_ORIENTATION_VERTICAL, "border-width", 12, "spacing", 18, NULL);
gtk_notebook_append_page (GTK_NOTEBOOK (notebook), vbox, label);
gtk_widget_show (label);
gtk_widget_show (vbox);
@@ -140,13 +141,12 @@ exo_helper_chooser_dialog_init (ExoHelperChooserDialog *chooser_dialog)
gtk_frame_set_label_widget (GTK_FRAME (frame), label);
gtk_widget_show (label);
- box = g_object_new (GTK_TYPE_BOX, "orientation", GTK_ORIENTATION_VERTICAL, "border-width", 12, "spacing", 12, NULL);
+ box = g_object_new (GTK_TYPE_BOX, "orientation", GTK_ORIENTATION_VERTICAL, "margin-top", 6, "margin-left", 12, "spacing", 6, NULL);
gtk_container_add (GTK_CONTAINER (frame), box);
gtk_widget_show (box);
- label = gtk_label_new (_("The preferred Web Browser will be used to open\n"
- "hyperlinks and display help contents."));
- g_object_set (label, "xalign", 0.0f, "yalign", 0.0f, NULL);
+ label = gtk_label_new (_("The preferred Web Browser will be used to open hyperlinks and display help contents."));
+ g_object_set (label, "xalign", 0.0f, "yalign", 0.0f, "wrap", TRUE, NULL);
gtk_box_pack_start (GTK_BOX (box), label, FALSE, FALSE, 0);
gtk_widget_show (label);
@@ -172,13 +172,12 @@ exo_helper_chooser_dialog_init (ExoHelperChooserDialog *chooser_dialog)
gtk_frame_set_label_widget (GTK_FRAME (frame), label);
gtk_widget_show (label);
- box = g_object_new (GTK_TYPE_BOX, "orientation", GTK_ORIENTATION_VERTICAL, "border-width", 12, "spacing", 12, NULL);
+ box = g_object_new (GTK_TYPE_BOX, "orientation", GTK_ORIENTATION_VERTICAL, "margin-top", 6, "margin-left", 12, "spacing", 6, NULL);
gtk_container_add (GTK_CONTAINER (frame), box);
gtk_widget_show (box);
- label = gtk_label_new (_("The preferred Mail Reader will be used to compose\n"
- "emails when you click on email addresses."));
- g_object_set (label, "xalign", 0.0f, "yalign", 0.0f, NULL);
+ label = gtk_label_new (_("The preferred Mail Reader will be used to compose emails when you click on email addresses."));
+ g_object_set (label, "xalign", 0.0f, "yalign", 0.0f, "wrap", TRUE, NULL);
gtk_box_pack_start (GTK_BOX (box), label, FALSE, FALSE, 0);
gtk_widget_show (label);
@@ -197,7 +196,7 @@ exo_helper_chooser_dialog_init (ExoHelperChooserDialog *chooser_dialog)
Utilities
*/
label = gtk_label_new_with_mnemonic (_("_Utilities"));
- vbox = g_object_new (GTK_TYPE_BOX, "orientation", GTK_ORIENTATION_VERTICAL, "border-width", 12, "spacing", 24, NULL);
+ vbox = g_object_new (GTK_TYPE_BOX, "orientation", GTK_ORIENTATION_VERTICAL, "border-width", 12, "spacing", 18, NULL);
gtk_notebook_append_page (GTK_NOTEBOOK (notebook), vbox, label);
gtk_widget_show (label);
gtk_widget_show (vbox);
@@ -213,13 +212,12 @@ exo_helper_chooser_dialog_init (ExoHelperChooserDialog *chooser_dialog)
gtk_frame_set_label_widget (GTK_FRAME (frame), label);
gtk_widget_show (label);
- box = g_object_new (GTK_TYPE_BOX, "orientation", GTK_ORIENTATION_VERTICAL, "border-width", 12, "spacing", 12, NULL);
+ box = g_object_new (GTK_TYPE_BOX, "orientation", GTK_ORIENTATION_VERTICAL, "margin-top", 6, "margin-left", 12, "spacing", 6, NULL);
gtk_container_add (GTK_CONTAINER (frame), box);
gtk_widget_show (box);
- label = gtk_label_new (_("The preferred File Manager will be used to\n"
- "browse the contents of folders."));
- g_object_set (label, "xalign", 0.0f, "yalign", 0.0f, NULL);
+ label = gtk_label_new (_("The preferred File Manager will be used to browse the contents of folders."));
+ g_object_set (label, "xalign", 0.0f, "yalign", 0.0f, "wrap", TRUE, NULL);
gtk_box_pack_start (GTK_BOX (box), label, FALSE, FALSE, 0);
gtk_widget_show (label);
@@ -245,13 +243,12 @@ exo_helper_chooser_dialog_init (ExoHelperChooserDialog *chooser_dialog)
gtk_frame_set_label_widget (GTK_FRAME (frame), label);
gtk_widget_show (label);
- box = g_object_new (GTK_TYPE_BOX, "orientation", GTK_ORIENTATION_VERTICAL, "border-width", 12, "spacing", 12, NULL);
+ box = g_object_new (GTK_TYPE_BOX, "orientation", GTK_ORIENTATION_VERTICAL, "margin-top", 6, "margin-left", 12, "spacing", 6, NULL);
gtk_container_add (GTK_CONTAINER (frame), box);
gtk_widget_show (box);
- label = gtk_label_new (_("The preferred Terminal Emulator will be used to\n"
- "run commands that require a CLI environment."));
- g_object_set (label, "xalign", 0.0f, "yalign", 0.0f, NULL);
+ label = gtk_label_new (_("The preferred Terminal Emulator will be used to run commands that require a CLI environment."));
+ g_object_set (label, "xalign", 0.0f, "yalign", 0.0f, "wrap", TRUE, NULL);
gtk_box_pack_start (GTK_BOX (box), label, FALSE, FALSE, 0);
gtk_widget_show (label);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list