evolution-rss r149 - in trunk: pixmaps src
- From: lucilanga svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-rss r149 - in trunk: pixmaps src
- Date: Thu, 7 Feb 2008 06:48:17 +0000 (GMT)
Author: lucilanga
Date: Thu Feb 7 06:48:17 2008
New Revision: 149
URL: http://svn.gnome.org/viewvc/evolution-rss?rev=149&view=rev
Log:
rss component
Modified:
trunk/pixmaps/rss.png
trunk/src/GNOME_Evolution_RSS.server.in.in
trunk/src/rss.c
Modified: trunk/pixmaps/rss.png
==============================================================================
Binary files. No diff available.
Modified: trunk/src/GNOME_Evolution_RSS.server.in.in
==============================================================================
--- trunk/src/GNOME_Evolution_RSS.server.in.in (original)
+++ trunk/src/GNOME_Evolution_RSS.server.in.in Thu Feb 7 06:48:17 2008
@@ -12,6 +12,43 @@
_value="Evolution RSS Reader"/>
</oaf_server>
+
+ <oaf_server iid="OAFIID:GNOME_Evolution_RSS_Component:@VERSION@"
+ type="factory"
+ location="OAFIID:GNOME_Evolution_RSS_Factory:@VERSION@">
+
+ <oaf_attribute name="repo_ids" type="stringv">
+ <item value="IDL:GNOME/Evolution/Component:@VERSION@"/>
+ </oaf_attribute>
+
+ <oaf_attribute name="name" type="string"
+ _value="Evolution RSS Reader"/>
+
+ <!-- The short name of the component. Used internally by the
+ - shell. Should be the same as the component's GConf
+ - subtree (under /apps/evolution) and its local storage
+ - directory (under ~/.evolution)
+ -->
+ <oaf_attribute name="evolution:component_alias" type="string"
+ value="evolution-rss"/>
+
+ <!-- This determines the label and icon displayed on the
+ - component's sidebar button, and the ordering of that
+ - button relative to the others.
+ -->
+ <oaf_attribute name="evolution:button_label" type="string"
+ _value="RSS"/>
+ <oaf_attribute name="evolution:button_icon" type="string"
+ value="@ICONDIR@/rss.png"/>
+ <oaf_attribute name="evolution:button_sort_order" type="string"
+ value="10"/>
+
+ <!-- This determines the label and shortcut displayed in the
+ - shell's view menu.
+ -->
+ <oaf_attribute name="evolution:menu_label" type="string" _value="_Calendars"/>
+ <oaf_attribute name="evolution:menu_accelerator" type="string" _value="*Control*F10"/>
+ </oaf_server>
<oaf_server iid="OAFIID:GNOME_Evolution_RSS:@VERSION@"
type="factory"
Modified: trunk/src/rss.c
==============================================================================
--- trunk/src/rss.c (original)
+++ trunk/src/rss.c Thu Feb 7 06:48:17 2008
@@ -154,6 +154,7 @@
#define RSS_CONTROL_ID "OAFIID:GNOME_Evolution_RSS:" EVOLUTION_VERSION_STRING
#define FACTORY_ID "OAFIID:GNOME_Evolution_RSS_Factory:" EVOLUTION_VERSION_STRING
+#define COMPONENT_ID "OAFIID:GNOME_Evolution_RSS_Component:" EVOLUTION_VERSION_STRING
guint upgrade = 0; // set to 2 when initailization successfull
@@ -6053,6 +6054,11 @@
return evolution_config_control_new (control_widget);
}
+EvolutionConfigControl*
+rss_component_new (void)
+{
+ g_print("component\n");
+}
static BonoboObject *
factory (BonoboGenericFactory *factory,
@@ -6066,6 +6072,9 @@
if (strcmp (component_id, RSS_CONTROL_ID) == 0)
return BONOBO_OBJECT (rss_config_control_new ());
+ if (strcmp (component_id, COMPONENT_ID) == 0)
+ return BONOBO_OBJECT (rss_component_new ());
+
g_warning (FACTORY_ID ": Don't know what to do with %s", component_id);
return NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]