aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--my-evolution/e-summary-factory.c1
-rw-r--r--my-evolution/e-summary.c7
-rw-r--r--my-evolution/e-summary.h2
-rw-r--r--ui/ChangeLog4
-rw-r--r--ui/my-evolution.xml7
5 files changed, 20 insertions, 1 deletions
diff --git a/my-evolution/e-summary-factory.c b/my-evolution/e-summary-factory.c
index e6e5f75e85..1f709e1561 100644
--- a/my-evolution/e-summary-factory.c
+++ b/my-evolution/e-summary-factory.c
@@ -26,6 +26,7 @@
BonoboUIVerb verbs[] = {
BONOBO_UI_VERB ("PrintMyEvolution", e_summary_print),
BONOBO_UI_VERB ("ToolsSettings", e_summary_configure),
+ BONOBO_UI_VERB ("Reload", e_summary_reload),
BONOBO_UI_VERB_END
};
diff --git a/my-evolution/e-summary.c b/my-evolution/e-summary.c
index 40518b5eb5..dba1e5e0bd 100644
--- a/my-evolution/e-summary.c
+++ b/my-evolution/e-summary.c
@@ -645,6 +645,13 @@ e_summary_reconfigure (ESummary *summary)
}
}
+void
+e_summary_reload (GtkWidget *widget,
+ ESummary *summary)
+{
+ e_summary_reconfigure (summary);
+}
+
int
e_summary_count_connections (ESummary *summary)
{
diff --git a/my-evolution/e-summary.h b/my-evolution/e-summary.h
index 8c2b4e7ee9..64d1918dd4 100644
--- a/my-evolution/e-summary.h
+++ b/my-evolution/e-summary.h
@@ -108,6 +108,8 @@ GtkType e_summary_get_type (void);
GtkWidget *e_summary_new (const GNOME_Evolution_Shell shell);
void e_summary_print (GtkWidget *widget,
ESummary *summary);
+void e_summary_reload (GtkWidget *widget,
+ ESummary *summary);
void e_summary_draw (ESummary *summary);
void e_summary_change_current_view (ESummary *summary,
const char *uri);
diff --git a/ui/ChangeLog b/ui/ChangeLog
index e8a7bce1c2..1ebc81afac 100644
--- a/ui/ChangeLog
+++ b/ui/ChangeLog
@@ -1,3 +1,7 @@
+2001-08-13 Iain Holmes <iain@ximian.com>
+
+ * my-evolution.xml: Add the reload button and fix the print button.
+
2001-08-13 Anna Marie Dirks <anna@ximian.com>
* evolution-calendar.xml : applied Neil Conway's
diff --git a/ui/my-evolution.xml b/ui/my-evolution.xml
index 03a356c2c8..aee536bc8e 100644
--- a/ui/my-evolution.xml
+++ b/ui/my-evolution.xml
@@ -7,6 +7,9 @@
<cmd name="ToolsSettings"
_tip="Change the settings for My Evolution"
pixtype="pixbuf"/>
+
+ <cmd name="Reload" _label="Reload" _tip="Reload the view"
+ pixtype="stock" pixname="Refresh"/>
</commands>
<menu>
@@ -29,7 +32,9 @@
<dockitem name="Toolbar">
<toolitem name="PrintMyEvolution" verb="PrintMyEvolution"
- _label="Print" pixtype="pixbuf"/ priority="1">
+ _label="Print" pixtype="pixbuf" priority="1"/>
+ <toolitem name="Reload" verb="Reload"
+ _label="Reload" priority="1"/>
</dockitem>
</Root>