gnome-user-share r179 - trunk
- From: hadess svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-user-share r179 - trunk
- Date: Fri, 18 Jan 2008 17:21:54 +0000 (GMT)
Author: hadess
Date: Fri Jan 18 17:21:54 2008
New Revision: 179
URL: http://svn.gnome.org/viewvc/gnome-user-share?rev=179&view=rev
Log:
2008-01-18 Bastien Nocera <hadess hadess net>
* file-share-properties.c: (main): Exit when the close
button from the WM is used (Closes: #397865)
Modified:
trunk/ChangeLog
trunk/file-share-properties.c
Modified: trunk/file-share-properties.c
==============================================================================
--- trunk/file-share-properties.c (original)
+++ trunk/file-share-properties.c Fri Jan 18 17:21:54 2008
@@ -255,6 +255,7 @@
GtkWidget *check;
GtkWidget *password_combo;
GtkWidget *password_entry;
+ GtkWidget *window;
GtkListStore *store;
GtkCellRenderer *cell;
GtkTreeIter iter;
@@ -269,6 +270,10 @@
NULL,
PACKAGE);
+ window = glade_xml_get_widget (ui, "user_share_dialog");
+ g_signal_connect (G_OBJECT (window), "delete_event",
+ G_CALLBACK (gtk_main_quit), NULL);
+
client = gconf_client_get_default ();
gconf_client_add_dir (client,
FILE_SHARING_DIR,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]