[gtranslator] Indentation fixes.



commit c42a812ac89e4b7fa4f2adf2c4458ef4abac7efa
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Wed Mar 3 13:42:18 2010 +0100

    Indentation fixes.

 src/gtr-tab.c |  141 ++++++++++++++++++++++++++++-----------------------------
 1 files changed, 70 insertions(+), 71 deletions(-)
---
diff --git a/src/gtr-tab.c b/src/gtr-tab.c
index c1eae23..e3061b9 100644
--- a/src/gtr-tab.c
+++ b/src/gtr-tab.c
@@ -62,74 +62,76 @@
 #define GTR_TAB_KEY "GtrTabFromDocument"
 
 G_DEFINE_TYPE (GtrTab, gtr_tab, GTK_TYPE_VBOX)
-     struct _GtrTabPrivate
-     {
-       GtrPo *po;
-
-       GtkWidget *table_pane;
-       GtkWidget *content_pane;
-       GtkWidget *panel;
-       GtkWidget *message_table;
-       GtkWidget *lateral_panel;        //TM, Context, etc.
-
-       GtkWidget *comment_pane;
-       GtkWidget *context;
-       GtkWidget *translation_memory;
-
-       /*Comment button */
-       GtkWidget *comment_button;
-
-       /*Info bar */
-       GtkWidget *infobar;
-
-       /*Original text */
-       GtkWidget *msgid_hbox;
-       GtkWidget *text_vbox;
-       GtkWidget *text_msgid;
-       GtkWidget *text_plural_scroll;
-       GtkWidget *text_msgid_plural;
-
-       /*Translated text */
-       GtkWidget *msgstr_label;
-       GtkWidget *msgstr_hbox;
-       GtkWidget *trans_notebook;
-       GtkWidget *trans_msgstr[MAX_PLURALS];
-
-       /*Status widgets */
-       GtkWidget *translated;
-       GtkWidget *fuzzy;
-       GtkWidget *untranslated;
-
-       /* Autosave */
-       GTimer *timer;
-       gint autosave_interval;
-       guint autosave_timeout;
-       guint autosave:1;
-
-       /*Blocking movement */
-       guint blocking:1;
-     };
-
-     enum
-     {
-       SHOWED_MESSAGE,
-       MESSAGE_CHANGED,
-       MESSAGE_EDITION_FINISHED,
-       LAST_SIGNAL
-     };
-
-     enum
-     {
-       PROP_0,
-       PROP_AUTOSAVE,
-       PROP_AUTOSAVE_INTERVAL
-     };
-
-     static guint signals[LAST_SIGNAL];
-
-     static gboolean gtr_tab_autosave (GtrTab * tab);
-
-     static void install_autosave_timeout (GtrTab * tab)
+
+struct _GtrTabPrivate
+{
+  GtrPo *po;
+
+  GtkWidget *table_pane;
+  GtkWidget *content_pane;
+  GtkWidget *panel;
+  GtkWidget *message_table;
+  GtkWidget *lateral_panel;        //TM, Context, etc.
+
+  GtkWidget *comment_pane;
+  GtkWidget *context;
+  GtkWidget *translation_memory;
+
+  /*Comment button */
+  GtkWidget *comment_button;
+
+  /*Info bar */
+  GtkWidget *infobar;
+
+  /*Original text */
+  GtkWidget *msgid_hbox;
+  GtkWidget *text_vbox;
+  GtkWidget *text_msgid;
+  GtkWidget *text_plural_scroll;
+  GtkWidget *text_msgid_plural;
+
+  /*Translated text */
+  GtkWidget *msgstr_label;
+  GtkWidget *msgstr_hbox;
+  GtkWidget *trans_notebook;
+  GtkWidget *trans_msgstr[MAX_PLURALS];
+
+  /*Status widgets */
+  GtkWidget *translated;
+  GtkWidget *fuzzy;
+  GtkWidget *untranslated;
+
+  /* Autosave */
+  GTimer *timer;
+  gint autosave_interval;
+  guint autosave_timeout;
+  guint autosave : 1;
+
+  /*Blocking movement */
+  guint blocking : 1;
+};
+
+enum
+{
+  SHOWED_MESSAGE,
+  MESSAGE_CHANGED,
+  MESSAGE_EDITION_FINISHED,
+  LAST_SIGNAL
+};
+
+enum
+{
+  PROP_0,
+  PROP_AUTOSAVE,
+  PROP_AUTOSAVE_INTERVAL
+};
+
+static guint signals[LAST_SIGNAL];
+
+static gboolean gtr_tab_autosave (GtrTab * tab);
+
+static void
+install_autosave_timeout (GtrTab * tab)
 {
   gint timeout;
 
@@ -313,9 +315,6 @@ gtr_message_translation_update (GtkTextBuffer * textbuffer, GtrTab * tab)
   g_return_if_reached ();
 }
 
-
-
-
 static GtkWidget *
 gtr_tab_append_msgstr_page (const gchar * tab_label,
                             GtkWidget * box, gboolean spellcheck)



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