aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2003-05-21 02:41:08 +0800
committerXan Lopez <xan@src.gnome.org>2003-05-21 02:41:08 +0800
commit23a69d5f21a27d82681919c131729015339d9410 (patch)
tree7bec9d9b69f45b5fe7a68e76aed696f68518c3c4
parent1a981a63d5abf16aeff8c1d7f53bd6f554776955 (diff)
downloadgsoc2013-epiphany-23a69d5f21a27d82681919c131729015339d9410.tar
gsoc2013-epiphany-23a69d5f21a27d82681919c131729015339d9410.tar.gz
gsoc2013-epiphany-23a69d5f21a27d82681919c131729015339d9410.tar.bz2
gsoc2013-epiphany-23a69d5f21a27d82681919c131729015339d9410.tar.lz
gsoc2013-epiphany-23a69d5f21a27d82681919c131729015339d9410.tar.xz
gsoc2013-epiphany-23a69d5f21a27d82681919c131729015339d9410.tar.zst
gsoc2013-epiphany-23a69d5f21a27d82681919c131729015339d9410.zip
Make find dialog unresizable.
Make find dialog unresizable.
-rw-r--r--ChangeLog7
-rw-r--r--data/glade/epiphany.glade2
-rwxr-xr-xembed/find-dialog.c17
3 files changed, 8 insertions, 18 deletions
diff --git a/ChangeLog b/ChangeLog
index 6404547e1..0a42d699d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2003-05-20 Xan Lopez <xan@masilla.org>
+
+ * data/glade/epiphany.glade:
+ * embed/find-dialog.c: (impl_show):
+
+ Make find dialog unresizable, blah.
+
2003-05-19 Christian Persch <chpe+gnomebugz@stud.uni-saarland.de>
Simplified and reorganised zoom. Implement a zoom control for the
diff --git a/data/glade/epiphany.glade b/data/glade/epiphany.glade
index 4a5cd8a77..33f9b236d 100644
--- a/data/glade/epiphany.glade
+++ b/data/glade/epiphany.glade
@@ -10,7 +10,7 @@
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_NONE</property>
<property name="modal">False</property>
- <property name="resizable">True</property>
+ <property name="resizable">False</property>
<property name="destroy_with_parent">False</property>
<property name="has_separator">False</property>
diff --git a/embed/find-dialog.c b/embed/find-dialog.c
index 41309c482..a81de1618 100755
--- a/embed/find-dialog.c
+++ b/embed/find-dialog.c
@@ -254,21 +254,6 @@ find_get_info (EphyDialog *dialog)
}
static void
-dialog_constrain_height (FindDialog *dialog)
-{
- GdkGeometry geometry;
- GtkWindow *window = GTK_WINDOW (dialog->priv->window);
-
- /* Do not allow to resize the widget vertically */
- geometry.max_height = 0;
- geometry.max_width = gdk_screen_get_width
- (gtk_widget_get_screen (GTK_WIDGET (window)));
- gtk_window_set_geometry_hints (window, GTK_WIDGET (window),
- &geometry,
- GDK_HINT_MAX_SIZE);
-}
-
-static void
impl_show (EphyDialog *dialog)
{
GdkPixbuf *icon;
@@ -295,8 +280,6 @@ impl_show (EphyDialog *dialog)
gtk_window_set_icon (GTK_WINDOW(find_dialog->priv->window), icon);
g_object_unref (icon);
- dialog_constrain_height (find_dialog);
-
EPHY_DIALOG_CLASS (parent_class)->show (dialog);
}