aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/calendar-file
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/calendar-file')
-rw-r--r--plugins/calendar-file/ChangeLog60
-rw-r--r--plugins/calendar-file/calendar-file.c15
2 files changed, 14 insertions, 61 deletions
diff --git a/plugins/calendar-file/ChangeLog b/plugins/calendar-file/ChangeLog
deleted file mode 100644
index 66be2b91b2..0000000000
--- a/plugins/calendar-file/ChangeLog
+++ /dev/null
@@ -1,60 +0,0 @@
-2008-09-04 Sankar P <psankar@novell.com>
-
-License Changes
-
- * calendar-file.c:
-
-2008-07-31 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes part of bug #545568
-
- * org-gnome-calendar-file.eplug.xml:
- Add "system_plugin=true" so it's not shown in the Plugin Manager.
- This plugin is not designed to be disabled by the user.
-
-2007-03-20 Matthew Barnes <mbarnes@redhat.com>
-
- ** Fixes part of bug #419524
-
- * Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>.
-
-2006-02-28 Christian Kellner <gicmo@gnome.org>
-
- * calendar-file.c: fixing a leak.
-
-2005-08-23 Not Zed <NotZed@Ximian.com>
-
- * calendar-file.c (e_calendar_file_dummy): fix relative_uri type.
-
-2005-06-27 Tor Lillqvist <tml@novell.com>
-
- * Makefile.am: There is no EVOLUTION_CFLAGS. Use
- NO_UNDEFINED. Link with EVOLUTION_CALENDAR_LIBS.
-
-2005-06-18 Tor Lillqvist <tml@novell.com>
-
- * org-gnome-calendar-file.eplug.xml: Use SOEXT.
-
-2005-05-11 Not Zed <NotZed@Ximian.com>
-
- * Makefile.am: add built_sources/cleanfiles
-
-2005-05-06 Not Zed <NotZed@Ximian.com>
-
- * Makefile.am:
- * org-gnome-calendar-file.eplug.xml: s/.in/.xml/ & i18n.
-
-2005-02-28 Sivaiah Nallagatla <snallagatla@novell.com>
-
- * calendar-file.c (e_calendar_file_dummy) :
- don't set the relative uri if already present.
-
- part of fix for #73152
-
-2005-02-24 Björn Torkelsson <torkel@acc.umu.se>
-
- * calendar-file.c: Added author and description.
-
-2005-01-06 JP Rosevear <jpr@novell.com>
-
- * Initial import of file properties plugin.
diff --git a/plugins/calendar-file/calendar-file.c b/plugins/calendar-file/calendar-file.c
index e82feaa11a..7bacfb44a6 100644
--- a/plugins/calendar-file/calendar-file.c
+++ b/plugins/calendar-file/calendar-file.c
@@ -27,6 +27,14 @@
#include <glib/gi18n.h>
#include <string.h>
+gint e_plugin_lib_enable (EPlugin *ep, gint enable);
+
+gint
+e_plugin_lib_enable (EPlugin *ep, gint enable)
+{
+ return 0;
+}
+
static void
location_changed (GtkFileChooserButton *widget, ESource *source)
{
@@ -95,6 +103,7 @@ e_calendar_file_customs (EPlugin *epl, EConfigHookItemFactoryData *data)
ECalConfigTargetSource *t = (ECalConfigTargetSource *) data->target;
ESource *source = t->source;
const gchar *relative_uri, *value;
+ guint n_rows;
GtkWidget *w1, *w2, *box1, *box2, *mainbox, *maincheck;
if (!e_plugin_util_is_source_proto (source, "file"))
@@ -107,7 +116,11 @@ e_calendar_file_customs (EPlugin *epl, EConfigHookItemFactoryData *data)
e_source_set_relative_uri (source, e_source_peek_uid (source));
mainbox = gtk_vbox_new (FALSE, 2);
- gtk_table_attach (GTK_TABLE (data->parent), mainbox, 1, 2, GTK_TABLE (data->parent)->nrows, GTK_TABLE (data->parent)->nrows + 1, GTK_EXPAND | GTK_FILL, 0, 0, 0);
+ g_object_get (data->parent, "n-rows", &n_rows, NULL);
+ gtk_table_attach (
+ GTK_TABLE (data->parent), mainbox,
+ 1, 2, n_rows, n_rows + 1,
+ GTK_EXPAND | GTK_FILL, 0, 0, 0);
maincheck = gtk_check_button_new_with_mnemonic (_("_Customize options"));
gtk_box_pack_start ((GtkBox *)mainbox, maincheck, TRUE, TRUE, 2);