=== modified file 'data/screenshot.glade'
--- data/screenshot.glade	2006-08-24 09:43:54 +0000
+++ data/screenshot.glade	2006-09-20 00:15:02 +0000
@@ -1,264 +1,144 @@
-<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
-<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd">
-
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
 <glade-interface>
-<requires lib="gnome"/>
-
-<widget class="GtkDialog" id="totem_screenshot_window">
-  <property name="border_width">5</property>
-  <property name="title" translatable="yes">Save Screenshot</property>
-  <property name="type">GTK_WINDOW_TOPLEVEL</property>
-  <property name="window_position">GTK_WIN_POS_NONE</property>
-  <property name="modal">True</property>
-  <property name="resizable">True</property>
-  <property name="destroy_with_parent">False</property>
-  <property name="decorated">True</property>
-  <property name="skip_taskbar_hint">False</property>
-  <property name="skip_pager_hint">False</property>
-  <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
-  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
-  <property name="has_separator">False</property>
-
-  <child internal-child="vbox">
-    <widget class="GtkVBox" id="tsw_dialog_vbox">
-      <property name="visible">True</property>
-      <property name="homogeneous">False</property>
-      <property name="spacing">6</property>
-
-      <child internal-child="action_area">
-	<widget class="GtkHButtonBox" id="tsw_dialog_action_area">
-	  <property name="visible">True</property>
-	  <property name="layout_style">GTK_BUTTONBOX_END</property>
-
-	  <child>
-	    <widget class="GtkButton" id="tsw_cancel_button">
-	      <property name="visible">True</property>
-	      <property name="can_default">True</property>
-	      <property name="can_focus">True</property>
-	      <property name="label">gtk-close</property>
-	      <property name="use_stock">True</property>
-	      <property name="relief">GTK_RELIEF_NORMAL</property>
-	      <property name="focus_on_click">True</property>
-	      <property name="response_id">-7</property>
-	    </widget>
-	  </child>
-
-	  <child>
-	    <widget class="GtkButton" id="tsw_ok_button">
-	      <property name="visible">True</property>
-	      <property name="can_default">True</property>
-	      <property name="can_focus">True</property>
-	      <property name="label">gtk-save</property>
-	      <property name="use_stock">True</property>
-	      <property name="relief">GTK_RELIEF_NORMAL</property>
-	      <property name="focus_on_click">True</property>
-	      <property name="response_id">-5</property>
-	    </widget>
-	  </child>
-	</widget>
-	<packing>
-	  <property name="padding">0</property>
-	  <property name="expand">False</property>
-	  <property name="fill">True</property>
-	  <property name="pack_type">GTK_PACK_END</property>
-	</packing>
-      </child>
-
-      <child>
-	<widget class="GtkVBox" id="vbox11">
-	  <property name="border_width">5</property>
-	  <property name="visible">True</property>
-	  <property name="homogeneous">False</property>
-	  <property name="spacing">6</property>
-
-	  <child>
-	    <widget class="GtkLabel" id="tsw_preview_label">
-	      <property name="visible">True</property>
-	      <property name="label" translatable="yes">&lt;b&gt;Preview&lt;/b&gt;</property>
-	      <property name="use_underline">False</property>
-	      <property name="use_markup">True</property>
-	      <property name="justify">GTK_JUSTIFY_LEFT</property>
-	      <property name="wrap">False</property>
-	      <property name="selectable">False</property>
-	      <property name="xalign">0</property>
-	      <property name="yalign">0.5</property>
-	      <property name="xpad">0</property>
-	      <property name="ypad">0</property>
-	    </widget>
-	    <packing>
-	      <property name="padding">0</property>
-	      <property name="expand">False</property>
-	      <property name="fill">False</property>
-	    </packing>
-	  </child>
-
-	  <child>
-	    <widget class="GtkHBox" id="hbox12">
-	      <property name="visible">True</property>
-	      <property name="homogeneous">False</property>
-	      <property name="spacing">0</property>
-
-	      <child>
-		<widget class="GtkLabel" id="label10">
-		  <property name="visible">True</property>
-		  <property name="label" translatable="yes">    </property>
-		  <property name="use_underline">False</property>
-		  <property name="use_markup">False</property>
-		  <property name="justify">GTK_JUSTIFY_LEFT</property>
-		  <property name="wrap">False</property>
-		  <property name="selectable">False</property>
-		  <property name="xalign">0.5</property>
-		  <property name="yalign">0.5</property>
-		  <property name="xpad">0</property>
-		  <property name="ypad">0</property>
-		</widget>
-		<packing>
-		  <property name="padding">0</property>
-		  <property name="expand">False</property>
-		  <property name="fill">False</property>
-		</packing>
-	      </child>
-
-	      <child>
-		<widget class="GtkVBox" id="tsw_vbox">
-		  <property name="visible">True</property>
-		  <property name="homogeneous">False</property>
-		  <property name="spacing">6</property>
-
-		  <child>
-		    <widget class="GtkHBox" id="tsw_shot_hbox">
-		      <property name="visible">True</property>
-		      <property name="homogeneous">False</property>
-		      <property name="spacing">0</property>
-
-		      <child>
-			<widget class="GtkImage" id="tsw_shot_image">
-			  <property name="height_request">240</property>
-			  <property name="visible">True</property>
-			  <property name="xalign">0</property>
-			  <property name="yalign">0.5</property>
-			  <property name="xpad">0</property>
-			  <property name="ypad">0</property>
-			</widget>
-			<packing>
-			  <property name="padding">0</property>
-			  <property name="expand">True</property>
-			  <property name="fill">True</property>
-			</packing>
-		      </child>
-		    </widget>
-		    <packing>
-		      <property name="padding">0</property>
-		      <property name="expand">True</property>
-		      <property name="fill">True</property>
-		    </packing>
-		  </child>
-
-		  <child>
-		    <widget class="GtkHBox" id="tsw_save2file_hbox">
-		      <property name="visible">True</property>
-		      <property name="homogeneous">False</property>
-		      <property name="spacing">12</property>
-
-		      <child>
-			<widget class="GtkRadioButton" id="tsw_save2file_radiobutton">
-			  <property name="visible">True</property>
-			  <property name="can_focus">True</property>
-			  <property name="label" translatable="yes">Save screenshot to _file:</property>
-			  <property name="use_underline">True</property>
-			  <property name="relief">GTK_RELIEF_NORMAL</property>
-			  <property name="focus_on_click">True</property>
-			  <property name="active">False</property>
-			  <property name="inconsistent">False</property>
-			  <property name="draw_indicator">True</property>
-			</widget>
-			<packing>
-			  <property name="padding">0</property>
-			  <property name="expand">False</property>
-			  <property name="fill">False</property>
-			</packing>
-		      </child>
-
-		      <child>
-			<widget class="GnomeFileEntry" id="tsw_save2file_fileentry">
-			  <property name="visible">True</property>
-			  <property name="sensitive">False</property>
-			  <property name="max_saved">10</property>
-			  <property name="browse_dialog_title" translatable="yes">Save screenshot</property>
-			  <property name="directory_entry">False</property>
-			  <property name="modal">True</property>
-			  <property name="use_filechooser">True</property>
-
-			  <child internal-child="entry">
-			    <widget class="GtkEntry" id="tsw_save2file_combo_entry">
-			      <property name="visible">True</property>
-			      <property name="can_focus">True</property>
-			      <property name="editable">True</property>
-			      <property name="visibility">True</property>
-			      <property name="max_length">0</property>
-			      <property name="text" translatable="yes"></property>
-			      <property name="has_frame">True</property>
-			      <property name="invisible_char" translatable="yes">*</property>
-			      <property name="activates_default">False</property>
-			    </widget>
-			  </child>
-			</widget>
-			<packing>
-			  <property name="padding">0</property>
-			  <property name="expand">True</property>
-			  <property name="fill">True</property>
-			</packing>
-		      </child>
-		    </widget>
-		    <packing>
-		      <property name="padding">0</property>
-		      <property name="expand">False</property>
-		      <property name="fill">False</property>
-		    </packing>
-		  </child>
-
-		  <child>
-		    <widget class="GtkRadioButton" id="tsw_save2desk_radiobutton">
-		      <property name="visible">True</property>
-		      <property name="can_focus">True</property>
-		      <property name="label" translatable="yes">Save screenshot to _desktop</property>
-		      <property name="use_underline">True</property>
-		      <property name="relief">GTK_RELIEF_NORMAL</property>
-		      <property name="focus_on_click">True</property>
-		      <property name="active">True</property>
-		      <property name="inconsistent">False</property>
-		      <property name="draw_indicator">True</property>
-		      <property name="group">tsw_save2file_radiobutton</property>
-		    </widget>
-		    <packing>
-		      <property name="padding">0</property>
-		      <property name="expand">False</property>
-		      <property name="fill">False</property>
-		    </packing>
-		  </child>
-		</widget>
-		<packing>
-		  <property name="padding">0</property>
-		  <property name="expand">True</property>
-		  <property name="fill">True</property>
-		</packing>
-	      </child>
-	    </widget>
-	    <packing>
-	      <property name="padding">0</property>
-	      <property name="expand">True</property>
-	      <property name="fill">True</property>
-	    </packing>
-	  </child>
-	</widget>
-	<packing>
-	  <property name="padding">0</property>
-	  <property name="expand">True</property>
-	  <property name="fill">True</property>
-	</packing>
-      </child>
-    </widget>
-  </child>
-</widget>
-
+  <widget class="GtkDialog" id="totem_screenshot_window">
+    <property name="border_width">5</property>
+    <property name="title">Save Screenshot</property>
+    <property name="modal">True</property>
+    <property name="has_separator">False</property>
+    <child internal-child="vbox">
+      <widget class="GtkVBox" id="tsw_dialog_vbox">
+        <property name="visible">True</property>
+        <property name="spacing">6</property>
+        <child>
+          <widget class="GtkVBox" id="vbox11">
+            <property name="visible">True</property>
+            <property name="border_width">5</property>
+            <property name="spacing">6</property>
+            <child>
+              <widget class="GtkHBox" id="hbox1">
+                <property name="visible">True</property>
+                <property name="spacing">6</property>
+                <child>
+                  <widget class="GtkImage" id="tsw_shot_image">
+                    <property name="visible">True</property>
+                    <property name="xalign">0.000000</property>
+                  </widget>
+                </child>
+                <child>
+                  <widget class="GtkVBox" id="vbox1">
+                    <property name="visible">True</property>
+                    <property name="spacing">6</property>
+                    <child>
+                      <widget class="GtkHBox" id="hbox2">
+                        <property name="visible">True</property>
+                        <property name="spacing">6</property>
+                        <child>
+                          <widget class="GtkLabel" id="tsw_name_label">
+                            <property name="visible">True</property>
+                            <property name="xalign">0.000000</property>
+                            <property name="label" translatable="yes">_Name:</property>
+                            <property name="use_underline">True</property>
+                            <property name="mnemonic_widget">tsw_name_entry</property>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <widget class="GtkEntry" id="tsw_name_entry">
+                            <property name="visible">True</property>
+                          </widget>
+                          <packing>
+                            <property name="position">1</property>
+                          </packing>
+                        </child>
+                      </widget>
+                      <packing>
+                        <property name="expand">False</property>
+                        <property name="fill">False</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <widget class="GtkHBox" id="hbox3">
+                        <property name="visible">True</property>
+                        <property name="spacing">6</property>
+                        <child>
+                          <widget class="GtkLabel" id="tsw_folder_label">
+                            <property name="visible">True</property>
+                            <property name="xalign">0.000000</property>
+                            <property name="ypad">3</property>
+                            <property name="label" translatable="yes">Save in _folder:</property>
+                            <property name="use_underline">True</property>
+                          </widget>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">False</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <widget class="GtkFileChooserButton" id="tsw_folder_filechooserbutton">
+                            <property name="action">GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER</property>
+                            <property name="visible">True</property>
+                          </widget>
+                          <packing>
+                            <property name="position">1</property>
+                          </packing>
+                        </child>
+                      </widget>
+                      <packing>
+                        <property name="expand">False</property>
+                        <property name="fill">False</property>
+                        <property name="position">1</property>
+                      </packing>
+                    </child>
+                  </widget>
+                  <packing>
+                    <property name="position">1</property>
+                  </packing>
+                </child>
+              </widget>
+            </child>
+          </widget>
+          <packing>
+            <property name="position">1</property>
+          </packing>
+        </child>
+        <child internal-child="action_area">
+          <widget class="GtkHButtonBox" id="tsw_dialog_action_area">
+            <property name="visible">True</property>
+            <property name="layout_style">GTK_BUTTONBOX_END</property>
+            <child>
+              <widget class="GtkButton" id="tsw_cancel_button">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="can_default">True</property>
+                <property name="label">gtk-cancel</property>
+                <property name="use_stock">True</property>
+                <property name="response_id">-7</property>
+              </widget>
+            </child>
+            <child>
+              <widget class="GtkButton" id="tsw_ok_button">
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="can_default">True</property>
+                <property name="label">gtk-save</property>
+                <property name="use_stock">True</property>
+                <property name="response_id">-5</property>
+              </widget>
+              <packing>
+                <property name="position">1</property>
+              </packing>
+            </child>
+          </widget>
+          <packing>
+            <property name="expand">False</property>
+            <property name="pack_type">GTK_PACK_END</property>
+          </packing>
+        </child>
+      </widget>
+    </child>
+  </widget>
 </glade-interface>

=== modified file 'src/totem-screenshot.c'
--- src/totem-screenshot.c	2006-08-24 09:43:54 +0000
+++ src/totem-screenshot.c	2006-09-20 00:15:02 +0000
@@ -86,106 +86,50 @@
 }
 
 static char *
-screenshot_make_filename_helper (char *filename, gboolean desktop_exists)
-{
-	gboolean home_as_desktop;
-	GConfClient *gc;
-
-	gc = gconf_client_get_default ();
-	home_as_desktop = gconf_client_get_bool (gc,
-			"/apps/nautilus/preferences/desktop_is_home_dir",
-			NULL);
-	g_object_unref (G_OBJECT (gc));
-
-	if (desktop_exists != FALSE && home_as_desktop == FALSE)
-	{
-		char *fullpath;
-
-		fullpath = g_build_path (G_DIR_SEPARATOR_S, g_get_home_dir (),
-				"Desktop", NULL);
-		desktop_exists = g_file_test (fullpath, G_FILE_TEST_EXISTS);
+screenshot_get_filename (TotemScreenshot *screenshot)
+{
+	GtkWidget *widget;
+	char *fullpath, *folder, *filename;
+
+	widget = glade_xml_get_widget (screenshot->_priv->xml, "tsw_folder_filechooserbutton");
+	folder = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (widget));
+
+	widget = glade_xml_get_widget (screenshot->_priv->xml, "tsw_name_entry");
+	filename = g_strdup (gtk_entry_get_text (GTK_ENTRY (widget)));
+
+	fullpath = g_build_filename (folder, filename, NULL);
+
+	g_free (folder);
+	g_free (filename);
+
+	return fullpath;
+}
+
+static char *
+screenshot_make_unique_name (TotemScreenshot *screenshot)
+{
+	GtkWidget *widget;
+	char *fullpath, *folder, *filename;
+	int i;
+
+	widget = glade_xml_get_widget (screenshot->_priv->xml, "tsw_folder_filechooserbutton");
+	folder = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (widget));
+
+	filename = g_strdup (_("Screenshot.png"));
+	fullpath = g_build_filename (folder, filename, NULL);
+
+	for (i = 1; i < G_MAXINT && g_file_test (fullpath, G_FILE_TEST_EXISTS); i++) {
+		g_free (filename);
 		g_free (fullpath);
 
-		if (desktop_exists != FALSE)
-		{
-			return g_build_filename (g_get_home_dir (),
-					"Desktop", filename, NULL);
-		} else {
-			return g_build_filename (g_get_home_dir (),
-					 ".gnome-desktop", filename, NULL);
-		}
-	} else {
-		return g_build_filename (g_get_home_dir (), filename, NULL);
+		filename = g_strdup_printf (_("Screenshot-%d.png"), i);
+		fullpath = g_build_filename (folder, filename, NULL);
 	}
-}
-
-static char *
-screenshot_make_filename (TotemScreenshot *screenshot)
-{
-	GtkWidget *radiobutton, *entry;
-	gboolean on_desktop;
-	char *fullpath, *filename;
-	int i = 0;
-	gboolean desktop_exists;
-
-	radiobutton = glade_xml_get_widget (screenshot->_priv->xml,
-			"tsw_save2desk_radiobutton");
-	on_desktop = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON
-			(radiobutton));
-
-	/* Test if we have a desktop directory */
-	fullpath = g_build_path (G_DIR_SEPARATOR_S, g_get_home_dir (),
-			"Desktop", NULL);
-	desktop_exists = g_file_test (fullpath, G_FILE_TEST_EXISTS);
+
+	g_free (folder);
 	g_free (fullpath);
-	if (desktop_exists == FALSE)
-	{
-		fullpath = g_build_path (G_DIR_SEPARATOR_S, g_get_home_dir (),
-				".gnome-desktop", NULL);
-		desktop_exists = g_file_test (fullpath, G_FILE_TEST_EXISTS);
-		g_free (fullpath);
-	}
-
-	if (on_desktop != FALSE)
-	{
-		filename = g_strdup_printf (_("Screenshot%d.png"), i);
-		fullpath = screenshot_make_filename_helper (filename,
-				desktop_exists);
-
-		while (g_file_test (fullpath, G_FILE_TEST_EXISTS) != FALSE
-				&& i < G_MAXINT)
-		{
-			i++;
-			g_free (filename);
-			g_free (fullpath);
-
-			filename = g_strdup_printf (_("Screenshot%d.png"), i);
-			fullpath = screenshot_make_filename_helper (filename,
-					desktop_exists);
-		}
-
-		g_free (filename);
-	} else {
-		entry = glade_xml_get_widget (screenshot->_priv->xml, "tsw_save2file_combo_entry");
-		if (gtk_entry_get_text (GTK_ENTRY (entry)) == NULL)
-			return NULL;
-
-		fullpath = g_strdup (gtk_entry_get_text (GTK_ENTRY (entry)));
-	}
-
-	return fullpath;
-}
-
-static void
-on_radiobutton_shot_toggled (GtkToggleButton *togglebutton,
-		TotemScreenshot *screenshot)
-{	
-	GtkWidget *radiobutton, *entry;
-
-	radiobutton = glade_xml_get_widget (screenshot->_priv->xml, "tsw_save2file_radiobutton");
-	entry = glade_xml_get_widget (screenshot->_priv->xml, "tsw_save2file_fileentry");
-	gtk_widget_set_sensitive (entry, gtk_toggle_button_get_active
-			(GTK_TOGGLE_BUTTON (radiobutton)));
+
+	return filename;
 }
 
 static void
@@ -196,18 +140,33 @@
 
 	if (response == GTK_RESPONSE_OK)
 	{
-		filename = screenshot_make_filename (screenshot);
+		filename = screenshot_get_filename (screenshot);
 		if (g_file_test (filename, G_FILE_TEST_EXISTS) != FALSE)
 		{
 			char *msg;
-
-			msg = g_strdup_printf (_("File '%s' already exists."), filename);
-			totem_screenshot_action_error (msg,
-					_("The screenshot was not saved"),
-					screenshot);
-			g_free (msg);
-			g_free (filename);
-			return;
+			GtkWidget *dialog;
+
+			dialog = gtk_message_dialog_new (GTK_WINDOW (screenshot),
+				GTK_DIALOG_MODAL, GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE,
+				_("File already exists"));
+			gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), 
+				_("The file \"%s\" already exists. Would you like to replace it?"),
+				filename);
+
+			gtk_dialog_add_buttons (GTK_DIALOG (dialog),
+				GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+				_("_Replace"), GTK_RESPONSE_OK,
+				NULL);
+			gtk_container_set_border_width (GTK_CONTAINER (dialog), 5);
+			gtk_dialog_set_default_response (GTK_DIALOG (dialog),
+					GTK_RESPONSE_CANCEL);
+
+			if (gtk_dialog_run (GTK_DIALOG (dialog)) != GTK_RESPONSE_OK) {
+				gtk_widget_destroy (GTK_WIDGET (dialog));
+				g_free (filename);
+				return;
+			}
+			gtk_widget_destroy (GTK_WIDGET (dialog));
 		}
 
 		if (gdk_pixbuf_save (screenshot->_priv->pixbuf,
@@ -328,6 +287,7 @@
 	char *filename;
 	GtkWidget *dialog, *image, *entry;
 	int width, height;
+	GtkSizeGroup *size_group;
 
 	g_return_val_if_fail (glade_filename != NULL, NULL);
 
@@ -344,9 +304,10 @@
 	g_object_ref (screenshot->_priv->pixbuf);
 
 	gtk_window_set_title (GTK_WINDOW (screenshot), _("Save Screenshot"));
+	gtk_window_set_resizable (GTK_WINDOW (screenshot), FALSE);
 	gtk_dialog_set_has_separator (GTK_DIALOG (screenshot), FALSE);
 	gtk_dialog_add_buttons (GTK_DIALOG (screenshot),
-			GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
+			GTK_STOCK_CANCEL, GTK_RESPONSE_CLOSE,
 			GTK_STOCK_SAVE, GTK_RESPONSE_OK,
 			NULL);
 	g_signal_connect (G_OBJECT (screenshot), "response",
@@ -358,19 +319,14 @@
 	//FIXME
 //	g_signal_connect (G_OBJECT (item), "delete-event",
 //			G_CALLBACK (hide_screenshot), totem);
-	item = glade_xml_get_widget (screenshot->_priv->xml,
-			"tsw_save2file_radiobutton");
-	g_signal_connect (G_OBJECT (item), "toggled",
-			G_CALLBACK (on_radiobutton_shot_toggled),
-			screenshot);
-	item = glade_xml_get_widget (screenshot->_priv->xml,
-			"tsw_save2desk_radiobutton");
-	g_signal_connect (G_OBJECT (item), "toggled",
-			G_CALLBACK (on_radiobutton_shot_toggled),
-			screenshot);
-	gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (item), TRUE);
+	size_group = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL);
+	item = glade_xml_get_widget (screenshot->_priv->xml,
+			"tsw_name_label");
+	gtk_size_group_add_widget (size_group, item);
+	item = glade_xml_get_widget (screenshot->_priv->xml,
+			"tsw_folder_label");
+	gtk_size_group_add_widget (size_group, item);
 
-	filename = screenshot_make_filename (screenshot);
 	height = 200;
 	width = height * gdk_pixbuf_get_width (screen_image)
 		/ gdk_pixbuf_get_height (screen_image);
@@ -393,21 +349,12 @@
 			source_table, G_N_ELEMENTS (source_table),
 			GDK_ACTION_COPY);
 
+	filename = screenshot_make_unique_name (screenshot);
 	entry = glade_xml_get_widget (screenshot->_priv->xml,
-			"tsw_save2file_combo_entry");
+			"tsw_name_entry");
 	gtk_entry_set_text (GTK_ENTRY (entry), filename);
 	g_free (filename);
 
-	item = glade_xml_get_widget (screenshot->_priv->xml,
-			"tsw_save2file_fileentry");
-	{
-		GValue value = { 0, };
-		g_value_init (&value, GTK_TYPE_FILE_CHOOSER_ACTION);
-		g_value_set_enum (&value, GTK_FILE_CHOOSER_ACTION_SAVE);
-		g_object_set_property (G_OBJECT (item),
-				"filechooser-action", &value);
-	}
-
 	container = glade_xml_get_widget (screenshot->_priv->xml, "vbox11");
 	gtk_box_pack_start (GTK_BOX (GTK_DIALOG (screenshot)->vbox),
 			container,

