diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | addressbook/gui/component/addressbook.c | 6 | ||||
-rw-r--r-- | shell/ChangeLog | 5 | ||||
-rw-r--r-- | shell/e-shell-view.c | 2 |
4 files changed, 12 insertions, 4 deletions
@@ -1,5 +1,8 @@ 2000-04-09 Matt Loper <matt@helixcode.com> + * addressbook/gui/component/addressbook.c (control_activate): Make + "New Contact" menuitem add a card with new_contact_cb(). + * addressbook/Makefile.am: Compile contact-editor, _then_ gui, since the gui now depends on the contact editor (shouldn't the contact-editor directory be moved into 'gui'?). diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c index 1ac90fcf28..7d795eb8d8 100644 --- a/addressbook/gui/component/addressbook.c +++ b/addressbook/gui/component/addressbook.c @@ -71,13 +71,13 @@ card_added_cb (EBook* book, EBookStatus status, const char *id, g_print ("%s: %s(): a card was added\n", __FILE__, __FUNCTION__); } - static void -new_contact_cb (BonoboUIHandler *uih, EBook *book, const char *path) +new_contact_cb (BonoboUIHandler *uih, void *user_data, const char *path) { gint result; GtkWidget* contact_editor = e_contact_editor_new(e_card_new(BLANK_VCARD)); + EBook *book = E_BOOK (user_data); GtkWidget* dlg = gnome_dialog_new ("Contact Editor", "Save", "Cancel", NULL); @@ -136,7 +136,7 @@ control_activate (BonoboControl *control, BonoboUIHandler *uih, EBook *book) N_("_New Contact"), NULL, -1, BONOBO_UI_HANDLER_PIXMAP_NONE, NULL, - 0, 0, do_nothing_cb, NULL); + 0, 0, new_contact_cb, (gpointer)book); toolbar = gtk_toolbar_new (GTK_ORIENTATION_HORIZONTAL, GTK_TOOLBAR_BOTH); diff --git a/shell/ChangeLog b/shell/ChangeLog index 9c8e753ee1..a39e8ba11f 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,8 @@ +2000-04-09 Matt Loper <matt@helixcode.com> + + * e-shell-view.c (e_shell_view_setup): Set the default height + bigger, to 600, so that everything in the shortcut-bar shows up. + 2000-04-07 Matt Loper <matt@helixcode.com> * e-shell-view.c (destroy_folder_view): New function; diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index ac9b97d98c..876c34851b 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -93,7 +93,7 @@ e_shell_view_setup (EShellView *eshell_view) /* * FIXME, should load the config if (load_config).... */ - gtk_window_set_default_size (GTK_WINDOW (eshell_view), 600, 400); + gtk_window_set_default_size (GTK_WINDOW (eshell_view), 600, 600); } static void |