[evolution/wip/webkit2] Bug 749158 - Various UI improvements



commit 713ab655e3f2569af7afcabcaaa9ab29c7a623a3
Author: Trinh Anh Ngoc <atw1990 gmail com>
Date:   Mon Sep 21 15:57:17 2015 +0200

    Bug 749158 - Various UI improvements
    
     - Fix mini calendar buttons style on hover
     - Tweak EMailConfigAssistant (sidebar borders; add margins to action area)

 mail/e-mail-config-assistant.c |   10 ++++++++++
 shell/e-shell-window.c         |   12 ++++++++++++
 2 files changed, 22 insertions(+), 0 deletions(-)
---
diff --git a/mail/e-mail-config-assistant.c b/mail/e-mail-config-assistant.c
index 9cd2fde..44ec929 100644
--- a/mail/e-mail-config-assistant.c
+++ b/mail/e-mail-config-assistant.c
@@ -1133,6 +1133,16 @@ e_mail_config_assistant_class_init (EMailConfigAssistantClass *class)
 static void
 e_mail_config_assistant_init (EMailConfigAssistant *assistant)
 {
+       GObject *action_area;
+       GtkBuilder *builder;
+
+       builder = gtk_builder_new ();
+       action_area = gtk_buildable_get_internal_child (
+               GTK_BUILDABLE (assistant), builder, "action_area");
+       if (action_area)
+               gtk_container_set_border_width (GTK_CONTAINER (action_area), 12);
+       g_object_unref (builder);
+
        assistant->priv = E_MAIL_CONFIG_ASSISTANT_GET_PRIVATE (assistant);
 
        assistant->priv->account_sources =
diff --git a/shell/e-shell-window.c b/shell/e-shell-window.c
index 663c032..6d3b3c5 100644
--- a/shell/e-shell-window.c
+++ b/shell/e-shell-window.c
@@ -114,6 +114,18 @@ EAttachmentPaned > GtkBox > GtkPaned > GtkScrolledWindow {\
 EHTMLEditor .toolbar {\
    border-bottom: none;\
    background: transparent;\
+}\
+ECalendar .button {\
+   border: none;\
+   background: none;\
+   box-shadow: none;\
+   padding: 4px;\
+}\
+ECalendar .button:hover {\
+   color: @theme_selected_bg_color;\
+}\
+EMailConfigAssistant .sidebar {\
+   border-width: 0 1px 0 0;\
 }";
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]