aboutsummaryrefslogtreecommitdiffstats
path: root/embed
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 /embed
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.
Diffstat (limited to 'embed')
-rwxr-xr-xembed/find-dialog.c17
1 files changed, 0 insertions, 17 deletions
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);
}