[PATCH 7/15] gnome-control-center: I18N #1
- From: Bryce Harrington <bryce canonical com>
- To: Soeren Sandmann <sandmann daimi au dk>
- Cc: ubuntu-x lists ubuntu com, gnomecc-list gnome org
- Subject: [PATCH 7/15] gnome-control-center: I18N #1
- Date: Thu, 10 Apr 2008 12:58:26 -0700
gnome-control-center: 104_cc-randr12-enable-i18n.patch
Enables i18n and adds a couple missing header file includes.
Patch is thanks to Timo Jyrinki.
diff -Nur -x '*.orig' -x '*~' gnome-control-center-2.22.1/capplets/display/xrandr-capplet.c gnome-control-center-2.22.1.new/capplets/display/xrandr-capplet.c
--- gnome-control-center-2.22.1/capplets/display/xrandr-capplet.c 2008-04-09 10:57:37.000000000 +0100
+++ gnome-control-center-2.22.1.new/capplets/display/xrandr-capplet.c 2008-04-09 10:57:38.000000000 +0100
@@ -30,6 +30,9 @@
#include <gdk/gdkx.h>
#include <X11/Xlib.h>
+#include "capplet-util.h"
+#include <config.h>
+
typedef struct App App;
typedef struct GrabInfo GrabInfo;
@@ -1608,11 +1611,9 @@
{
App *app;
-#if 0
- bindtextdomain (GETTEXT_PACKAGE, DESKTOPEFFECTSLOCALEDIR);
+ bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
-#endif
gtk_init (&argc, &argv);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]