actually add the source selector to the dialog's box.

2003-11-24  Rodrigo Moya <rodrigo@ximian.com>

	* gui/dialogs/copy-source-dialog.c (copy_source_dialog): actually
	add the source selector to the dialog's box.

svn path=/trunk/; revision=23475
This commit is contained in:
Rodrigo Moya
2003-11-24 00:53:52 +00:00
committed by Rodrigo Moya
parent ff31ff3b84
commit 0fd65e2272
2 changed files with 9 additions and 1 deletions

View File

@ -1,7 +1,12 @@
2003-11-24 Rodrigo Moya <rodrigo@ximian.com>
* gui/dialogs/copy-source-dialog.c (copy_source_dialog): actually
add the source selector to the dialog's box.
2003-11-23 Rodrigo Moya <rodrigo@ximian.com>
* gui/tasks-component.c:
* gui/dialogs/copy-dialog-source.[ch]: fixed compilation errors.
* gui/dialogs/copy-source-dialog.[ch]: fixed compilation errors.
* gui/dialogs/Makefile.am: added missing header directories.

View File

@ -18,6 +18,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*/
#include <gtk/gtkbox.h>
#include <gtk/gtkdialog.h>
#include <gtk/gtkstock.h>
#include <bonobo/bonobo-i18n.h>
@ -142,6 +143,8 @@ copy_source_dialog (GtkWindow *parent, ESource *source, CalObjType obj_type)
csdd.selector = e_source_selector_new (csdd.source_list);
g_signal_connect (G_OBJECT (csdd.selector), "primary_selection_changed",
G_CALLBACK (primary_selection_changed_cb), &csdd);
gtk_widget_show (csdd.selector);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (csdd.dialog)->vbox), csdd.selector, TRUE, TRUE, 6);
if (gtk_dialog_run (GTK_DIALOG (csdd.dialog)) == GTK_RESPONSE_OK) {
result = copy_source (&csdd);