summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Sullivan <sullivan@src.gnome.org>2001-02-08 23:58:28 +0000
committerJohn Sullivan <sullivan@src.gnome.org>2001-02-08 23:58:28 +0000
commit3d3ff85fc888567e2cc54314546715812d2edbbf (patch)
tree9ac58a979502b4baea2df81ff16e94bc2318d962
parent540e21ee39c4fd46c0f599d83d45f32a4673470e (diff)
downloadnautilus-3d3ff85fc888567e2cc54314546715812d2edbbf.tar.gz
Fixed bug 5946 (minimum Nautilus window size is too large)
* src/nautilus-window-private.h: Made the minimum window size much much smaller. This exposes layout problems in some of the bars & such at very small sizes, but none of these layout problems seem like 1.0 show-stoppers. Better to allow the user who wants to use a stripped-down window at minimum size do so than to prevent this because it looks bad with some bars showing. Note that other Linux apps don't stop you from reducing the window down to nothing at all (the Nautilus limit is somewhat larger than "nothing at all"). * src/nautilus-switchable-search-bar.c: (nautilus_switchable_search_bar_new): With Rebecca's OK, changed "Search For:" to "Find:" in order to save precious horizontal screen real estate.
-rw-r--r--ChangeLog19
-rw-r--r--src/nautilus-switchable-search-bar.c2
-rw-r--r--src/nautilus-window-private.h8
3 files changed, 26 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 4e50fc9f2..7444f9d7d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,22 @@
+2001-02-08 John Sullivan <sullivan@eazel.com>
+
+ Fixed bug 5946 (minimum Nautilus window size is too large)
+
+ * src/nautilus-window-private.h: Made the minimum window
+ size much much smaller. This exposes layout problems in
+ some of the bars & such at very small sizes, but none of
+ these layout problems seem like 1.0 show-stoppers. Better to
+ allow the user who wants to use a stripped-down window at
+ minimum size do so than to prevent this because it looks bad
+ with some bars showing. Note that other Linux apps don't stop
+ you from reducing the window down to nothing at all (the
+ Nautilus limit is somewhat larger than "nothing at all").
+
+ * src/nautilus-switchable-search-bar.c:
+ (nautilus_switchable_search_bar_new): With Rebecca's OK,
+ changed "Search For:" to "Find:" in order to save precious
+ horizontal screen real estate.
+
2001-02-08 Gene Z. Ragan <gzr@eazel.com>
reviewed by: Mike Engber <angber@eazel.com>
diff --git a/src/nautilus-switchable-search-bar.c b/src/nautilus-switchable-search-bar.c
index 1c5465632..0bd839e5f 100644
--- a/src/nautilus-switchable-search-bar.c
+++ b/src/nautilus-switchable-search-bar.c
@@ -129,7 +129,7 @@ nautilus_switchable_search_bar_new (NautilusWindow *window)
GNOME_PAD_SMALL);
vbox = gtk_vbox_new (0, FALSE);
- label = gtk_label_new (_("Search For:"));
+ label = gtk_label_new (_("Find:"));
gtk_container_add (GTK_CONTAINER (event_box), label);
gtk_box_pack_start (GTK_BOX (hbox), event_box, FALSE, TRUE, GNOME_PAD_SMALL);
diff --git a/src/nautilus-window-private.h b/src/nautilus-window-private.h
index 1ece2b568..d29b6b756 100644
--- a/src/nautilus-window-private.h
+++ b/src/nautilus-window-private.h
@@ -96,8 +96,12 @@ struct NautilusWindowDetails
#define NAUTILUS_COMMAND_ZOOM_NORMAL "/commands/Zoom Normal"
/* window geometry */
-#define NAUTILUS_WINDOW_MIN_WIDTH 480
-#define NAUTILUS_WINDOW_MIN_HEIGHT 350
+/* These are very small, and a Nautilus window at this tiny size is *almost*
+ * completely unusable. However, if all the extra bits (sidebar, location bar, etc)
+ * are turned off, you can see an icon or two at this size. See bug 5946.
+ */
+#define NAUTILUS_WINDOW_MIN_WIDTH 200
+#define NAUTILUS_WINDOW_MIN_HEIGHT 200
#define NAUTILUS_WINDOW_DEFAULT_WIDTH 800
#define NAUTILUS_WINDOW_DEFAULT_HEIGHT 550