aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-08-30 12:48:57 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-08-30 12:48:57 +0800
commit0f7f4cfe38b3c4cd83efbe9922ae15c5aee00317 (patch)
treeac2e7dc42ce4020548e020fdec9c281eb8b83e97 /calendar/gui/dialogs
parent82bc7f0b36b5e951817307e96e1e0be3a8ee34cc (diff)
downloadgsoc2013-evolution-0f7f4cfe38b3c4cd83efbe9922ae15c5aee00317.tar
gsoc2013-evolution-0f7f4cfe38b3c4cd83efbe9922ae15c5aee00317.tar.gz
gsoc2013-evolution-0f7f4cfe38b3c4cd83efbe9922ae15c5aee00317.tar.bz2
gsoc2013-evolution-0f7f4cfe38b3c4cd83efbe9922ae15c5aee00317.tar.lz
gsoc2013-evolution-0f7f4cfe38b3c4cd83efbe9922ae15c5aee00317.tar.xz
gsoc2013-evolution-0f7f4cfe38b3c4cd83efbe9922ae15c5aee00317.tar.zst
gsoc2013-evolution-0f7f4cfe38b3c4cd83efbe9922ae15c5aee00317.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r--calendar/gui/dialogs/comp-editor.c10
-rw-r--r--calendar/gui/dialogs/comp-editor.h3
-rw-r--r--calendar/gui/dialogs/event-page.c2
3 files changed, 8 insertions, 7 deletions
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c
index cb3ff42438..8995b0eddc 100644
--- a/calendar/gui/dialogs/comp-editor.c
+++ b/calendar/gui/dialogs/comp-editor.c
@@ -1630,7 +1630,7 @@ comp_editor_init (CompEditor *editor)
priv->is_group_item = FALSE;
priv->ui_manager = gtk_ui_manager_new ();
-
+
if (comp_lite)
gtk_window_set_default_size ((GtkWindow *) editor, 800, 450);
gtk_window_add_accel_group (
@@ -1721,7 +1721,7 @@ comp_editor_init (CompEditor *editor)
if (comp_lite) {
GtkWidget *tmp, *tmp1, *tmp_box, *cont;
GtkWidget *combo;
-
+
e_attachment_paned_set_expanded (E_ATTACHMENT_PANED (widget), TRUE);
e_attachment_paned_set_expanded (E_ATTACHMENT_PANED (widget), FALSE);
@@ -1738,7 +1738,7 @@ comp_editor_init (CompEditor *editor)
tmp1 = gtk_label_new_with_mnemonic (_("Save"));
gtk_box_pack_start ((GtkBox *)tmp, tmp1, FALSE, FALSE, 3);
gtk_widget_show_all(tmp);
-
+
combo = gtk_ui_manager_get_widget (priv->ui_manager, "/main-toolbar/save");
gtk_widget_reparent (combo, tmp_box);
gtk_box_set_child_packing ((GtkBox *)tmp_box, combo, FALSE, FALSE, 6, GTK_PACK_END);
@@ -1746,11 +1746,11 @@ comp_editor_init (CompEditor *editor)
combo = gtk_bin_get_child ((GtkBin *)combo);
gtk_container_remove((GtkContainer *)combo, gtk_bin_get_child ((GtkBin *)combo));
gtk_container_add((GtkContainer *)combo, tmp);
- gtk_button_set_relief ((GtkButton *)combo, GTK_RELIEF_NORMAL);
+ gtk_button_set_relief ((GtkButton *)combo, GTK_RELIEF_NORMAL);
gtk_widget_show(tmp_box);
gtk_box_pack_end (GTK_BOX (cont), tmp_box, FALSE, FALSE, 4);
-
+
}
container = e_attachment_paned_get_content_area (
E_ATTACHMENT_PANED (priv->attachment_view));
diff --git a/calendar/gui/dialogs/comp-editor.h b/calendar/gui/dialogs/comp-editor.h
index 157343bcac..454f02b2e6 100644
--- a/calendar/gui/dialogs/comp-editor.h
+++ b/calendar/gui/dialogs/comp-editor.h
@@ -156,8 +156,9 @@ GtkWidget * comp_editor_get_managed_widget (CompEditor *editor,
const gchar *widget_path);
CompEditor * comp_editor_find_instance (const gchar *uid);
-void comp_editor_set_lite (gboolean status);
+void comp_editor_set_lite (gboolean status);
gboolean comp_editor_get_lite (void);
+
G_END_DECLS
#endif
diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c
index 07e74bc11f..5a9b8ec47a 100644
--- a/calendar/gui/dialogs/event-page.c
+++ b/calendar/gui/dialogs/event-page.c
@@ -2167,7 +2167,7 @@ get_widgets (EventPage *epage)
gtk_widget_hide (priv->invite);
else
gtk_widget_hide (priv->invite_label);
-
+
priv->add = GW ("add-attendee");
priv->remove = GW ("remove-attendee");
priv->edit = GW ("edit-attendee");