aboutsummaryrefslogtreecommitdiff
path: root/src/datetime-prefs-locations.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-03-29 14:10:12 -0500
committerTed Gould <ted@gould.cx>2011-03-29 14:10:12 -0500
commit0a8409579dd931abc162ec17fb40b3df385ddfab (patch)
tree015dfb19777a87bd9923b7d778fc5744bfaddba5 /src/datetime-prefs-locations.c
parent5d401d9c978453c29c6d74694fe68e4155534283 (diff)
parent18ea5194b357dbd14dd724eb32013af8031a50be (diff)
downloadayatana-indicator-datetime-0a8409579dd931abc162ec17fb40b3df385ddfab.tar.gz
ayatana-indicator-datetime-0a8409579dd931abc162ec17fb40b3df385ddfab.tar.bz2
ayatana-indicator-datetime-0a8409579dd931abc162ec17fb40b3df385ddfab.zip
Make the locations dialog non-modal but resurface when needed.
Diffstat (limited to 'src/datetime-prefs-locations.c')
-rw-r--r--src/datetime-prefs-locations.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/datetime-prefs-locations.c b/src/datetime-prefs-locations.c
index d13f95a..5dd13e8 100644
--- a/src/datetime-prefs-locations.c
+++ b/src/datetime-prefs-locations.c
@@ -309,7 +309,7 @@ selection_changed (GtkTreeSelection * selection, GtkWidget * remove_button)
}
GtkWidget *
-datetime_setup_locations_dialog (GtkWindow * parent, CcTimezoneMap * map)
+datetime_setup_locations_dialog (CcTimezoneMap * map)
{
GError * error = NULL;
GtkBuilder * builder = gtk_builder_new ();
@@ -375,8 +375,6 @@ datetime_setup_locations_dialog (GtkWindow * parent, CcTimezoneMap * map)
g_object_set_data (G_OBJECT (dlg), "time-id", GINT_TO_POINTER(time_id));
update_times (dlg);
- gtk_window_set_transient_for (GTK_WINDOW (dlg), parent);
-
#undef WIG
g_object_unref (conf);