aboutsummaryrefslogtreecommitdiff
path: root/src/datetime-prefs-locations.c
diff options
context:
space:
mode:
authorMichael Terry <mike@mterry.name>2011-03-29 11:17:52 -0400
committerMichael Terry <mike@mterry.name>2011-03-29 11:17:52 -0400
commit18ea5194b357dbd14dd724eb32013af8031a50be (patch)
treef0ef676ff72cb8fc9d2c239586cb4dcbad087afc /src/datetime-prefs-locations.c
parentb86cc25455f38c4162ecd1fe6add20373c789980 (diff)
downloadayatana-indicator-datetime-18ea5194b357dbd14dd724eb32013af8031a50be.tar.gz
ayatana-indicator-datetime-18ea5194b357dbd14dd724eb32013af8031a50be.tar.bz2
ayatana-indicator-datetime-18ea5194b357dbd14dd724eb32013af8031a50be.zip
treat locations dialog not as a modal dialog, but rather one that can be dismissed by interacting with the main dialog
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);