aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorChristian Neumair <cneumair@src.gnome.org>2003-05-17 20:43:34 +0800
committerChristian Neumair <cneumair@src.gnome.org>2003-05-17 20:43:34 +0800
commitda4bacb5a3de0dafe863ea82aea78d2e40731730 (patch)
treee31bad9600bf78b6e2a6523091e3af0e613941ab /embed
parente5d335763657c0ebf4d464f4bc1d81542220141b (diff)
downloadgsoc2013-epiphany-da4bacb5a3de0dafe863ea82aea78d2e40731730.tar
gsoc2013-epiphany-da4bacb5a3de0dafe863ea82aea78d2e40731730.tar.gz
gsoc2013-epiphany-da4bacb5a3de0dafe863ea82aea78d2e40731730.tar.bz2
gsoc2013-epiphany-da4bacb5a3de0dafe863ea82aea78d2e40731730.tar.lz
gsoc2013-epiphany-da4bacb5a3de0dafe863ea82aea78d2e40731730.tar.xz
gsoc2013-epiphany-da4bacb5a3de0dafe863ea82aea78d2e40731730.tar.zst
gsoc2013-epiphany-da4bacb5a3de0dafe863ea82aea78d2e40731730.zip
Fixed many issues mentioned in #112781.
Diffstat (limited to 'embed')
-rw-r--r--embed/downloader-view.c10
-rw-r--r--embed/ephy-embed-event.c1
-rw-r--r--embed/ephy-embed-persist.c2
-rw-r--r--embed/ephy-embed-utils.c4
-rw-r--r--embed/ephy-history.c6
-rw-r--r--embed/mozilla/mozilla-i18n.c2
-rw-r--r--embed/mozilla/mozilla-notifiers.cpp4
7 files changed, 20 insertions, 9 deletions
diff --git a/embed/downloader-view.c b/embed/downloader-view.c
index 500d86d76..7d8d411b0 100644
--- a/embed/downloader-view.c
+++ b/embed/downloader-view.c
@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "downloader-view.h"
#include "ephy-gui.h"
#include "ephy-prefs.h"
@@ -27,7 +31,7 @@
#include <gtk/gtktreeview.h>
#include <gtk/gtkliststore.h>
#include <gtk/gtktreeviewcolumn.h>
-#include <libgnome/gnome-i18n.h>
+#include <bonobo/bonobo-i18n.h>
#include <libgnomeui/gnome-dialog-util.h>
#include <libgnomeui/gnome-dialog.h>
#include <gtk/gtkprogressbar.h>
@@ -356,11 +360,11 @@ downloader_view_update_controls (DownloaderViewPrivate *priv)
if (info->is_paused)
{
- gtk_button_set_label (GTK_BUTTON (priv->pause_button), _("Resume"));
+ gtk_button_set_label (GTK_BUTTON (priv->pause_button), _("_Resume"));
}
else
{
- gtk_button_set_label (GTK_BUTTON (priv->pause_button), _("Pause"));
+ gtk_button_set_label (GTK_BUTTON (priv->pause_button), _("_Pause"));
}
g_free (info);
diff --git a/embed/ephy-embed-event.c b/embed/ephy-embed-event.c
index 440eabadc..4b3c61e4c 100644
--- a/embed/ephy-embed-event.c
+++ b/embed/ephy-embed-event.c
@@ -18,7 +18,6 @@
#include "ephy-embed-event.h"
-#include <bonobo/bonobo-i18n.h>
#include <glib/ghash.h>
#include <gtk/gtktypeutils.h>
diff --git a/embed/ephy-embed-persist.c b/embed/ephy-embed-persist.c
index 08dfd025b..cd6e3e20e 100644
--- a/embed/ephy-embed-persist.c
+++ b/embed/ephy-embed-persist.c
@@ -23,8 +23,6 @@
#include "mozilla-embed.h"
#include "mozilla-embed-persist.h"
-#include <bonobo/bonobo-i18n.h>
-
enum
{
COMPLETED,
diff --git a/embed/ephy-embed-utils.c b/embed/ephy-embed-utils.c
index 941069b51..76ddd699e 100644
--- a/embed/ephy-embed-utils.c
+++ b/embed/ephy-embed-utils.c
@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "eel-gconf-extensions.h"
#include "ephy-embed-utils.h"
#include "ephy-embed-shell.h"
diff --git a/embed/ephy-history.c b/embed/ephy-history.c
index 42bf00d25..f59e9169b 100644
--- a/embed/ephy-history.c
+++ b/embed/ephy-history.c
@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "ephy-types.h"
#include "ephy-history.h"
#include "ephy-file-helpers.h"
@@ -25,7 +29,7 @@
#include <time.h>
#include <string.h>
-#include <libgnome/gnome-i18n.h>
+#include <bonobo/bonobo-i18n.h>
#include <libgnomevfs/gnome-vfs-uri.h>
#define EPHY_HISTORY_XML_VERSION "0.1"
diff --git a/embed/mozilla/mozilla-i18n.c b/embed/mozilla/mozilla-i18n.c
index c974d9765..ce0a5b4ef 100644
--- a/embed/mozilla/mozilla-i18n.c
+++ b/embed/mozilla/mozilla-i18n.c
@@ -18,7 +18,7 @@
#include "mozilla-i18n.h"
-#include <libgnome/gnome-i18n.h>
+#include <bonobo/bonobo-i18n.h>
const char *lgroups[] = {
N_("Arabic"),
diff --git a/embed/mozilla/mozilla-notifiers.cpp b/embed/mozilla/mozilla-notifiers.cpp
index fd480ebc0..d9cc51689 100644
--- a/embed/mozilla/mozilla-notifiers.cpp
+++ b/embed/mozilla/mozilla-notifiers.cpp
@@ -16,7 +16,9 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include "ephy-embed-shell.h"
#include "ephy-embed-single.h"