Re: "Connect to Server" dialog & new panel menu layout
- From: Vincent Untz <vincent vuntz net>
- To: Alexander Larsson <alexl redhat com>
- Cc: nautilus-list gnome org
- Subject: Re: "Connect to Server" dialog & new panel menu layout
- Date: Sun, 16 Jan 2005 22:17:06 +0100
Le vendredi 14 janvier 2005 �2:12 +0100, Alexander Larsson a �it :
> I re-did this a bit differently to not require the ifdef. Check it out.
> gnome-vfs seems to crash for me when i try to open a non-local spatial
> window using this though.
Thanks a lot, Alex!
I can not see the crash you're describing since nautilus is crashing for
some other reason here...
But I suspect the attached patch could help.
The dialog was destroyed and then used in
nautilus_connect_server_dialog_present_uri()
Vincent
--
Les gens heureux ne sont pas press�
Index: nautilus-connect-server-dialog.c
===================================================================
RCS file: /cvs/gnome/nautilus/src/nautilus-connect-server-dialog.c,v
retrieving revision 1.11
diff -u -p -r1.11 nautilus-connect-server-dialog.c
--- nautilus-connect-server-dialog.c 14 Jan 2005 11:11:38 -0000 1.11
+++ nautilus-connect-server-dialog.c 16 Jan 2005 21:15:23 -0000
@@ -287,14 +287,15 @@ connect_to_server (NautilusConnectServer
}
gnome_vfs_connect_to_server (uri, name, icon);
- gtk_widget_destroy (GTK_WIDGET (dialog));
-
+ gtk_widget_hide (GTK_WIDGET (dialog));
if (!eel_preferences_get_boolean (NAUTILUS_PREFERENCES_ALWAYS_USE_BROWSER)) {
nautilus_connect_server_dialog_present_uri (dialog->details->application,
uri,
GTK_WIDGET (dialog));
}
+
+ gtk_widget_destroy (GTK_WIDGET (dialog));
g_free (uri);
g_free (name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]