[gnome-calendar] Debug instrucions and comments removed.
- From: Erick PÃrez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] Debug instrucions and comments removed.
- Date: Sat, 1 Dec 2012 20:35:15 +0000 (UTC)
commit 1d04d68c529a2f0c96af79ef4943546bbfcdd20e
Author: Erick PÃrez Castellanos <erick red gmail com>
Date: Sun Nov 25 19:54:42 2012 -0500
Debug instrucions and comments removed.
data/theme/gtk-styles.css | 1 +
src/gcal-edit-dialog.c | 4 ----
src/gcal-month-view.c | 2 --
3 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/data/theme/gtk-styles.css b/data/theme/gtk-styles.css
index 8e99654..4b108b1 100644
--- a/data/theme/gtk-styles.css
+++ b/data/theme/gtk-styles.css
@@ -12,6 +12,7 @@
@define-color osd_toolbar_bg_c alpha(shade(@osd_base, 1.02), 0.80);
GtkClutterOffscreen.contents {
+ /* background color of every view */
background-color: #fafafa;
background-image: none;
}
diff --git a/src/gcal-edit-dialog.c b/src/gcal-edit-dialog.c
index e50aef1..2d5e504 100644
--- a/src/gcal-edit-dialog.c
+++ b/src/gcal-edit-dialog.c
@@ -619,7 +619,6 @@ gcal_edit_dialog_button_toggled (GtkToggleButton *button,
return;
active = gtk_toggle_button_get_active (button);
- g_debug ("active: %s", active ? "TRUE" : "FALSE");
g_signal_handlers_block_by_func (button,
gcal_edit_dialog_button_toggled,
@@ -1154,9 +1153,6 @@ gcal_edit_dialog_get_modified_properties (GcalEditDialog *dialog)
if (g_strcmp0 (priv->ev_store->location,
gtk_entry_get_text (GTK_ENTRY (priv->location_entry))) != 0)
{
- g_debug ("old Location: %s", priv->ev_store->location);
- g_debug ("new Location: %s",
- gtk_entry_get_text (GTK_ENTRY (priv->location_entry)));
res = g_list_append (res, GINT_TO_POINTER (EVENT_LOCATION));
}
diff --git a/src/gcal-month-view.c b/src/gcal-month-view.c
index 55dc9e9..bfde56d 100644
--- a/src/gcal-month-view.c
+++ b/src/gcal-month-view.c
@@ -1216,7 +1216,6 @@ gcal_month_view_draw_grid (GcalMonthView *view,
cairo_stroke (cr);
/* drawing actual_day_cell */
- //FIXME: What to do when the selected date isn't on the in the month
cairo_set_source_rgb (cr,
selected_color.red,
selected_color.green,
@@ -1229,7 +1228,6 @@ gcal_month_view_draw_grid (GcalMonthView *view,
start_grid_y + ((alloc->height - start_grid_y) / 5) * ( priv->actual_day_cell / 7) + 1);
cairo_rel_line_to (cr, (alloc->width / 7), 0);
cairo_stroke (cr);
-
}
static gdouble
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]