+2005-05-15 Carlos Garcia Campos <carlosgc@gnome.org>
+
+ * shell/ev-sidebar.c: make the drop down menu as width as the toggle
+ button.
+
2005-05-12 Marco Pesenti Gritti <mpg@redhat.com>
* AUTHORS:
EvSidebar *ev_sidebar = EV_SIDEBAR (user_data);
if (event->button == 1) {
+ GtkRequisition requisition;
+ gint width;
+
+ width = widget->allocation.width;
+ gtk_widget_set_size_request (ev_sidebar->priv->menu, -1, -1);
+ gtk_widget_size_request (ev_sidebar->priv->menu, &requisition);
+ gtk_widget_set_size_request (ev_sidebar->priv->menu,
+ MAX (width, requisition.width), -1);
+
gtk_widget_grab_focus (widget);
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (widget), TRUE);