inital gtk2 patch
[claws.git] / src / expldifdlg.c
index 7d9bb26..00a2b36 100644 (file)
@@ -335,7 +335,7 @@ static void export_ldif_next( GtkWidget *widget ) {
  * \param data   User data.
  */
 static void exp_ldif_file_ok( GtkWidget *widget, gpointer data ) {
-       gchar *sFile;
+       const gchar *sFile;
        AddressFileSelection *afs;
        GtkWidget *fileSel;
 
@@ -703,7 +703,7 @@ static void export_ldif_dialog_create( void ) {
        GtkWidget *hsbox;
        GtkWidget *statusbar;
 
-       window = gtk_window_new(GTK_WINDOW_DIALOG);
+       window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
        gtk_widget_set_usize(window, EXPORTLDIF_WIDTH, EXPORTLDIF_HEIGHT );
        gtk_container_set_border_width( GTK_CONTAINER(window), 0 );
        gtk_window_set_title( GTK_WINDOW(window),