evolution r35267 - branches/gnome-2-22/plugins/groupwise-features
- From: mcrha svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r35267 - branches/gnome-2-22/plugins/groupwise-features
- Date: Thu, 27 Mar 2008 11:21:56 +0000 (GMT)
Author: mcrha
Date: Thu Mar 27 11:21:55 2008
New Revision: 35267
URL: http://svn.gnome.org/viewvc/evolution?rev=35267&view=rev
Log:
2008-03-27 Milan Crha <mcrha redhat com>
** Fix for bug #511953
* share-folder.c: (notification_clicked): Create dialog properly.
Modified:
branches/gnome-2-22/plugins/groupwise-features/ChangeLog
branches/gnome-2-22/plugins/groupwise-features/share-folder.c
Modified: branches/gnome-2-22/plugins/groupwise-features/share-folder.c
==============================================================================
--- branches/gnome-2-22/plugins/groupwise-features/share-folder.c (original)
+++ branches/gnome-2-22/plugins/groupwise-features/share-folder.c Thu Mar 27 11:21:55 2008
@@ -524,6 +524,7 @@
char *gladefile;
sf->window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_type_hint (GTK_WINDOW (sf->window), GDK_WINDOW_TYPE_HINT_DIALOG);
gladefile = g_build_filename (EVOLUTION_GLADEDIR,
"properties.glade",
@@ -543,11 +544,10 @@
gtk_window_set_title (GTK_WINDOW (sf->window), "Custom Notification");
gtk_window_set_position (GTK_WINDOW (sf->window) , GTK_WIN_POS_CENTER_ALWAYS);
gtk_window_set_default_size (GTK_WINDOW (sf->window), 100, 200);
- gtk_widget_reparent (GTK_WIDGET (sf->window), GTK_WIDGET (sf->vbox));
- gtk_window_set_transient_for ((GtkWindow *)sf->window, GTK_WINDOW(sf->vbox));
+ gtk_window_set_transient_for ((GtkWindow *)sf->window, GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (sf->table))));
gtk_window_set_modal ((GtkWindow *)sf->window, TRUE);
- gtk_window_present ((GtkWindow *)sf->window);
gtk_widget_show_all (sf->window);
+ gtk_window_present ((GtkWindow *)sf->window);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]