diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | data/glade/epiphany.glade | 2 | ||||
-rwxr-xr-x | embed/find-dialog.c | 17 |
3 files changed, 8 insertions, 18 deletions
@@ -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); } |