[gnome-calendar/wip/gbsneto/calendar-popover] window: remove the separator from calendar rows



commit aa3ee8fed6359a0893c3ff55cf51cc74218b9952
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Sat Jul 9 01:32:45 2016 +0200

    window: remove the separator from calendar rows

 src/gcal-window.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/src/gcal-window.c b/src/gcal-window.c
index 369880c..b7fe5bd 100644
--- a/src/gcal-window.c
+++ b/src/gcal-window.c
@@ -828,7 +828,7 @@ static GtkWidget*
 make_row_from_source (GcalWindow *window,
                       ESource    *source)
 {
-  GtkWidget *label, *icon, *separator, *checkbox, *box, *row;
+  GtkWidget *label, *icon, *checkbox, *box, *row;
   GtkStyleContext *context;
   GdkPixbuf *pixbuf;
   GdkRGBA color;
@@ -857,9 +857,6 @@ make_row_from_source (GcalWindow *window,
   gtk_label_set_xalign (GTK_LABEL (label), 0.0);
   gtk_widget_set_hexpand (label, TRUE);
 
-  /* vertical separator */
-  separator = gtk_separator_new (GTK_ORIENTATION_VERTICAL);
-
   /* checkbox */
   checkbox = gtk_check_button_new ();
   gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (checkbox), gcal_manager_source_enabled (window->manager, 
source));
@@ -867,7 +864,6 @@ make_row_from_source (GcalWindow *window,
 
   gtk_container_add (GTK_CONTAINER (box), icon);
   gtk_container_add (GTK_CONTAINER (box), label);
-  gtk_container_add (GTK_CONTAINER (box), separator);
   gtk_container_add (GTK_CONTAINER (box), checkbox);
   gtk_container_add (GTK_CONTAINER (row), box);
 


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