[gnome-calendar] edit-dialog: use circular icons for sources



commit 025d931da8ea45bf62696cd03a8439a9f29a67d2
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Wed Jul 6 17:19:57 2016 -0300

    edit-dialog: use circular icons for sources
    
    They look nicer in the current UI.

 src/gcal-edit-dialog.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gcal-edit-dialog.c b/src/gcal-edit-dialog.c
index 81bf8b5..61ced98 100644
--- a/src/gcal-edit-dialog.c
+++ b/src/gcal-edit-dialog.c
@@ -156,7 +156,7 @@ fill_sources_menu (GcalEditDialog *dialog)
 
       /* retrieve color */
       get_color_name_from_source (source, &color);
-      pix = gcal_get_pixbuf_from_color (&color, 16);;
+      pix = get_circle_pixbuf_from_color (&color, 16);;
 
       /* menu item */
       item = g_menu_item_new (e_source_get_display_name (source), "select-calendar");
@@ -217,7 +217,7 @@ on_calendar_selected (GSimpleAction *action,
         /* retrieve color */
         get_color_name_from_source (source, &color);
 
-        pix = gcal_get_pixbuf_from_color (&color, 16);
+        pix = get_circle_pixbuf_from_color (&color, 16);
         gtk_image_set_from_pixbuf (GTK_IMAGE (self->source_image), pix);
         g_object_unref (pix);
 
@@ -1033,7 +1033,7 @@ gcal_edit_dialog_set_event (GcalEditDialog *dialog,
         gtk_entry_set_text (GTK_ENTRY (dialog->summary_entry), summary);
 
       /* dialog titlebar's title & subtitle */
-      pix = gcal_get_pixbuf_from_color (gcal_event_get_color (event), 16);
+      pix = get_circle_pixbuf_from_color (gcal_event_get_color (event), 16);
       gtk_image_set_from_pixbuf (GTK_IMAGE (dialog->source_image), pix);
       g_object_unref (pix);
 


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