gnome-applets r11211 - in trunk/trashapplet: . src
- From: ryanl svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-applets r11211 - in trunk/trashapplet: . src
- Date: Wed, 21 Jan 2009 14:29:58 +0000 (UTC)
Author: ryanl
Date: Wed Jan 21 14:29:58 2009
New Revision: 11211
URL: http://svn.gnome.org/viewvc/gnome-applets?rev=11211&view=rev
Log:
2009-01-21 Ryan Lortie <desrt desrt ca>
* trash/trashapplet.c (main): replace a non-libgnome version of the
initialisation code that was removed in undocumented commit (revision
11202) on Jan 15. Closes bug #567971.
Modified:
trunk/trashapplet/ChangeLog
trunk/trashapplet/src/trashapplet.c
Modified: trunk/trashapplet/src/trashapplet.c
==============================================================================
--- trunk/trashapplet/src/trashapplet.c (original)
+++ trunk/trashapplet/src/trashapplet.c Wed Jan 21 14:29:58 2009
@@ -630,6 +630,15 @@
int
main (int argc, char *argv [])
{
+ g_thread_init (NULL);
+
+ /* gettext stuff */
+ bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
+ bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+ textdomain (GETTEXT_PACKAGE);
+
+ gtk_init (&argc, &argv);
+ bonobo_init (&argc, &argv);
gtk_window_set_default_icon_name ("user-trash");
g_set_application_name (_("Trash Applet"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]