devhelp r1230 - in trunk: . src



Author: rhult
Date: Mon Nov  3 17:32:08 2008
New Revision: 1230
URL: http://svn.gnome.org/viewvc/devhelp?rev=1230&view=rev

Log:
2008-11-03  Richard Hult  <richard imendio com>

	* src/dh-main.c: Reindent.


Modified:
   trunk/ChangeLog
   trunk/src/dh-main.c

Modified: trunk/src/dh-main.c
==============================================================================
--- trunk/src/dh-main.c	(original)
+++ trunk/src/dh-main.c	Mon Nov  3 17:32:08 2008
@@ -161,56 +161,34 @@
 	DhBase                 *base;
 	GtkWidget              *window;
 	GError                 *error = NULL;
-	GOptionEntry            options[] = {
-		{
-			"search",
-			's',
-			0,
-			G_OPTION_ARG_STRING,
-			&option_search,
-			_("Search for a function"),
-			NULL
-		},
-       		{
-			"quit",
-			'q',
-			0,
-			G_OPTION_ARG_NONE,
-			&option_quit,
-			_("Quit any running Devhelp"),
-			NULL
-		},
-       		{
-			"version",
-			'v',
-			0,
-			G_OPTION_ARG_NONE,
-			&option_version,
-			_("Display the version and exit"),
-			NULL
-		},
-       		{
-			"focus-search",
-			'f',
-			0,
-			G_OPTION_ARG_NONE,
-			&option_focus_search,
-			_("Focus the Devhelp window with the search field active"),
-			NULL
-		},
-       		{
-			"search-assistant",
-			'a',
-			0,
-			G_OPTION_ARG_STRING,
-			&option_search_assistant,
-			_("Search and display any hit in the assistant window"),
-			NULL
-		},
-		{
-			NULL, '\0', 0, 0, NULL, NULL, NULL
-		}
-	};
+        GOptionEntry            options[] = {
+                { "search", 's',
+                  0, G_OPTION_ARG_STRING, &option_search,
+                  _("Search for a keyword"),
+                  NULL
+                },
+                { "quit", 'q',
+                  0, G_OPTION_ARG_NONE, &option_quit,
+                  _("Quit any running Devhelp"),
+                  NULL
+                },
+                { "version", 'v',
+                  0, G_OPTION_ARG_NONE, &option_version,
+                  _("Display the version and exit"),
+                  NULL
+                },
+                { "focus-search",       'f',
+                  0, G_OPTION_ARG_NONE, &option_focus_search,
+                  _("Focus the Devhelp window with the search field active"),
+                  NULL
+                },
+                { "search-assistant", 'a',
+                  0, G_OPTION_ARG_STRING, &option_search_assistant,
+                  _("Search and display any hit in the assistant window"),
+                  NULL
+                },
+                { NULL }
+        };
 
 #ifdef GDK_WINDOWING_QUARTZ
         {



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