aboutsummaryrefslogtreecommitdiffstats
path: root/capplet
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-01-31 00:32:55 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-01-31 00:33:28 +0800
commit0109aa3a92b484ebb85c6481e5a8e39819b1f011 (patch)
treee7837b0a50517fc160a7b4d6d47f5c78a5505523 /capplet
parentf25d21294158625477c529a679fd2f27fffb562c (diff)
downloadgsoc2013-evolution-0109aa3a92b484ebb85c6481e5a8e39819b1f011.tar.gz
gsoc2013-evolution-0109aa3a92b484ebb85c6481e5a8e39819b1f011.tar.zst
gsoc2013-evolution-0109aa3a92b484ebb85c6481e5a8e39819b1f011.zip
More whitespace cleanup.
Diffstat (limited to 'capplet')
-rw-r--r--capplet/settings/mail-account-view.c2
-rw-r--r--capplet/settings/mail-decoration.c18
-rw-r--r--capplet/settings/mail-view.c10
3 files changed, 15 insertions, 15 deletions
diff --git a/capplet/settings/mail-account-view.c b/capplet/settings/mail-account-view.c
index 234b6ee770..9c75e6b9ee 100644
--- a/capplet/settings/mail-account-view.c
+++ b/capplet/settings/mail-account-view.c
@@ -200,7 +200,7 @@ static gboolean
is_email (const gchar *address)
{
/* This is supposed to check if the address's domain could be
- an FQDN but alas, it's not worth the pain and suffering. */
+ an FQDN but alas, it's not worth the pain and suffering. */
const gchar *at;
at = strchr (address, '@');
diff --git a/capplet/settings/mail-decoration.c b/capplet/settings/mail-decoration.c
index 999567e962..51a71d11ef 100644
--- a/capplet/settings/mail-decoration.c
+++ b/capplet/settings/mail-decoration.c
@@ -91,7 +91,7 @@ md_translate_position (GdkWindow *w, double ex, double ey, gint *x, gint *y, Gtk
gdk_window_get_geometry (w, &cx, &cy, &cw, &ch);
*x += cx;
*y += cy;
- w = gdk_window_get_parent (w);
+ w = gdk_window_get_parent (w);
}
}
@@ -254,18 +254,18 @@ md_button_press_event (GtkWidget *widget, GdkEventButton *event, gpointer user_d
gint y_root = (gint) event->y_root;
gint x, y;
- if (!md->priv->can_resize) {
- return FALSE;
- }
+ if (!md->priv->can_resize) {
+ return FALSE;
+ }
md_translate_position (event->window, event->x, event->y, &x, &y, (GtkWidget *)md->window);
- update_cursor (md, x, y, TRUE);
- if (md->priv->resizing && event->button == 1 && event->type != GDK_2BUTTON_PRESS) {
+ update_cursor (md, x, y, TRUE);
+ if (md->priv->resizing && event->button == 1 && event->type != GDK_2BUTTON_PRESS) {
gtk_window_begin_resize_drag ((GtkWindow *)widget, md->priv->last_edge, 1, x_root, y_root, event->time);
- } else if ((md->priv->resizing && event->button == 2 && event->type != GDK_2BUTTON_PRESS) ||
- (event->button == 1 && y <= md->priv->top_height && event->type != GDK_2BUTTON_PRESS)) {
- gtk_window_begin_move_drag ((GtkWindow *)widget, event->button, x_root, y_root, event->time);
+ } else if ((md->priv->resizing && event->button == 2 && event->type != GDK_2BUTTON_PRESS) ||
+ (event->button == 1 && y <= md->priv->top_height && event->type != GDK_2BUTTON_PRESS)) {
+ gtk_window_begin_move_drag ((GtkWindow *)widget, event->button, x_root, y_root, event->time);
} else if (y <= md->priv->top_height && event->type == GDK_2BUTTON_PRESS) {
if (md->priv->full_screen)
gtk_window_unfullscreen (md->window);
diff --git a/capplet/settings/mail-view.c b/capplet/settings/mail-view.c
index cb2010f948..afe65fd448 100644
--- a/capplet/settings/mail-view.c
+++ b/capplet/settings/mail-view.c
@@ -314,7 +314,7 @@ mail_view_add_folder (MailView *mv, gpointer data, gboolean block)
mv->priv->children = block ? g_list_append (mv->priv->children, mfv) : g_list_prepend (mv->priv->children, mfv);
position = gtk_notebook_append_page ((GtkNotebook *)mv, (GtkWidget *)mfv, mfv->tab_label);
gtk_notebook_set_tab_reorderable (GTK_NOTEBOOK (mv), (GtkWidget *)mfv, TRUE);
- gtk_notebook_set_tab_detachable (GTK_NOTEBOOK (mv), (GtkWidget *)mfv, FALSE);
+ gtk_notebook_set_tab_detachable (GTK_NOTEBOOK (mv), (GtkWidget *)mfv, FALSE);
g_signal_connect (mfv, "view-close", G_CALLBACK(mv_close_mcv), mv);
if (!block)
@@ -355,7 +355,7 @@ mail_view_add_composer (MailView *mv, gpointer data, gboolean block)
}
gtk_notebook_set_tab_reorderable (GTK_NOTEBOOK (mv), (GtkWidget *)mcv, TRUE);
- gtk_notebook_set_tab_detachable (GTK_NOTEBOOK (mv), (GtkWidget *)mcv, FALSE);
+ gtk_notebook_set_tab_detachable (GTK_NOTEBOOK (mv), (GtkWidget *)mcv, FALSE);
if (!block)
gtk_notebook_set_current_page ((GtkNotebook *)mv, position);
if (!block)
@@ -382,7 +382,7 @@ mail_view_add_message (MailView *mv, gpointer data, gboolean block)
position = gtk_notebook_get_current_page ((GtkNotebook *)mv);
gtk_notebook_insert_page ((GtkNotebook *)mv, (GtkWidget *)mcv, mail_conv_view_get_tab_widget (mcv), position+1);
gtk_notebook_set_tab_reorderable (GTK_NOTEBOOK (mv), (GtkWidget *)mcv, TRUE);
- gtk_notebook_set_tab_detachable (GTK_NOTEBOOK (mv), (GtkWidget *)mcv, FALSE);
+ gtk_notebook_set_tab_detachable (GTK_NOTEBOOK (mv), (GtkWidget *)mcv, FALSE);
if (!block)
gtk_notebook_set_current_page ((GtkNotebook *)mv, position+1);
if (!block)
@@ -417,7 +417,7 @@ mail_view_add_settings (MailView *mv, gpointer data, gboolean block)
g_signal_connect (msv, "view-close", G_CALLBACK(mv_close_mcv), mv);
g_signal_connect (msv, "show-account", G_CALLBACK(mv_show_acc_mcv), mv);
gtk_notebook_set_tab_reorderable (GTK_NOTEBOOK (mv), (GtkWidget *)msv, TRUE);
- gtk_notebook_set_tab_detachable (GTK_NOTEBOOK (mv), (GtkWidget *)msv, FALSE);
+ gtk_notebook_set_tab_detachable (GTK_NOTEBOOK (mv), (GtkWidget *)msv, FALSE);
if (!block)
gtk_notebook_set_current_page ((GtkNotebook *)mv, position);
if (!block)
@@ -453,7 +453,7 @@ mail_view_add_account (MailView *mv,
position = gtk_notebook_append_page ((GtkNotebook *)mv, (GtkWidget *)msv, mail_account_view_get_tab_widget (msv));
g_signal_connect_after (msv, "view-close", G_CALLBACK(mv_close_mcv), mv);
gtk_notebook_set_tab_reorderable (GTK_NOTEBOOK (mv), (GtkWidget *)msv, TRUE);
- gtk_notebook_set_tab_detachable (GTK_NOTEBOOK (mv), (GtkWidget *)msv, FALSE);
+ gtk_notebook_set_tab_detachable (GTK_NOTEBOOK (mv), (GtkWidget *)msv, FALSE);
if (!block)
gtk_notebook_set_current_page ((GtkNotebook *)mv, position);
if (!block)