From 23a69d5f21a27d82681919c131729015339d9410 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Tue, 20 May 2003 18:41:08 +0000 Subject: Make find dialog unresizable. Make find dialog unresizable. --- embed/find-dialog.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'embed/find-dialog.c') 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 @@ -253,21 +253,6 @@ find_get_info (EphyDialog *dialog) find_dialog->priv->properties = properties; } -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) { @@ -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); } -- cgit v1.2.3