gnome-applets r11391 - trunk/null_applet
- From: callum svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-applets r11391 - trunk/null_applet
- Date: Thu, 19 Mar 2009 23:46:35 +0000 (UTC)
Author: callum
Date: Thu Mar 19 23:46:35 2009
New Revision: 11391
URL: http://svn.gnome.org/viewvc/gnome-applets?rev=11391&view=rev
Log:
Null Applet: Mark the applet names as
Modified:
trunk/null_applet/ChangeLog
trunk/null_applet/null_applet.c
Modified: trunk/null_applet/null_applet.c
==============================================================================
--- trunk/null_applet/null_applet.c (original)
+++ trunk/null_applet/null_applet.c Thu Mar 19 23:46:35 2009
@@ -37,13 +37,13 @@
* Add OAFIID's and descriptions of deprecated applets here
*/
g_hash_table_insert (hash_table,
- "OAFIID:GNOME_MailcheckApplet", "Inbox Monitor");
+ "OAFIID:GNOME_MailcheckApplet", _("Inbox Monitor"));
g_hash_table_insert (hash_table,
- "OAFIID:GNOME_CDPlayerApplet", "CD Player");
+ "OAFIID:GNOME_CDPlayerApplet", _("CD Player"));
g_hash_table_insert (hash_table,
- "OAFIID:GNOME_MixerApplet_Factory", "Volume Control");
+ "OAFIID:GNOME_MixerApplet_Factory", _("Volume Control"));
g_hash_table_insert (hash_table,
- "OAFIID:GNOME_MixerApplet", "Volume Control");
+ "OAFIID:GNOME_MixerApplet", _("Volume Control"));
}
static gboolean already_running;
@@ -87,7 +87,7 @@
for (l = list; l; l = l->next)
{
- key = g_strdup_printf ("%s/bonobo_iid", l->data);
+ key = g_strdup_printf ("%s/bonobo_iid", (gchar *)l->data);
oafiid = gconf_client_get_string (client, key, &error);
if (error)
{
@@ -102,8 +102,6 @@
name = g_hash_table_lookup (hash_table, oafiid);
if (name)
{
- g_warning ("Deleting %s (%s) from config",
- oafiid, name);
gconf_client_recursive_unset (client, l->data,
GCONF_UNSET_INCLUDING_SCHEMA_NAMES,
&error);
@@ -137,11 +135,9 @@
if (already_running)
{
- g_warning ("not first applet, ignoring");
return FALSE;
}
already_running = TRUE;
- g_warning ("was given applet to handle\n");
applet_list = get_all_applets ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]