[gnome-initial-setup] Location: Make the entry full-width instead of leaving a gap
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup] Location: Make the entry full-width instead of leaving a gap
- Date: Sat, 23 Jun 2012 02:43:07 +0000 (UTC)
commit 20cf9a8a7c91842ddcb46afa0d474e94f0351746
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jun 22 22:43:56 2012 -0400
Location: Make the entry full-width instead of leaving a gap
gnome-initial-setup/gis-location-page.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/gnome-initial-setup/gis-location-page.c b/gnome-initial-setup/gis-location-page.c
index c9bbef7..c8e4d18 100644
--- a/gnome-initial-setup/gis-location-page.c
+++ b/gnome-initial-setup/gis-location-page.c
@@ -272,11 +272,15 @@ gis_prepare_location_page (SetupData *setup)
world = gweather_location_new_world (FALSE);
entry = gweather_location_entry_new (world);
gtk_entry_set_placeholder_text (GTK_ENTRY (entry), _("Search for a location"));
- gtk_widget_set_halign (entry, GTK_ALIGN_END);
+ gtk_widget_set_halign (entry, GTK_ALIGN_FILL);
gtk_widget_show (entry);
frame = WID("location-page");
+#if WANT_GEOCLUE
gtk_grid_attach (GTK_GRID (frame), entry, 1, 1, 1, 1);
+#else
+ gtk_grid_attach (GTK_GRID (frame), entry, 0, 1, 2, 1);
+#endif
timezone = timedate1_get_timezone (data->dtm);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]