gnome-utils r7995 - trunk/gnome-screenshot



Author: ebassi
Date: Sun Aug 10 19:50:31 2008
New Revision: 7995
URL: http://svn.gnome.org/viewvc/gnome-utils?rev=7995&view=rev

Log:
2008-08-10  Emmanuele Bassi  <ebassi gnome org>

	Bug 454689 â Messages in the gnome-screenshot --help output
	are not all translated

	* gnome-screenshot.c (main): Remove the useless option group
	and allow the translation of the application options. (Gabor
	Kelemen)

Modified:
   trunk/gnome-screenshot/ChangeLog
   trunk/gnome-screenshot/gnome-screenshot.c

Modified: trunk/gnome-screenshot/gnome-screenshot.c
==============================================================================
--- trunk/gnome-screenshot/gnome-screenshot.c	(original)
+++ trunk/gnome-screenshot/gnome-screenshot.c	Sun Aug 10 19:50:31 2008
@@ -1073,16 +1073,10 @@
   bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
   textdomain (GETTEXT_PACKAGE);
 
-  group = g_option_group_new ("gnome-screenshot",
-		  	      _("Options for Screenshot"),
-			      _("Show Screenshot options"),
-			      NULL, NULL);
-  g_option_group_add_entries (group, entries);
-
   context = g_option_context_new (_("Take a picture of the screen"));
   g_option_context_set_ignore_unknown_options (context, FALSE);
   g_option_context_set_help_enabled (context, TRUE);
-  g_option_context_set_main_group (context, group);
+  g_option_context_add_main_entries (context, entries, GETTEXT_PACKAGE);
 
   program = gnome_program_init ("gnome-screenshot", VERSION,
 				LIBGNOMEUI_MODULE,



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