2002-02-10 Jens Finke <jens@triq.net>
* eog-shell-ui.xml: Added drag'n'drop popup definition.
* eog-window.c (open_dnd_files),
(verb_DnDNewWindow_cb), (verb_DnDSameWindow_cb),
(verb_DnDCancel_cb): New functions regarding to popup menu
handling.
(eog_window_drag_data_received): Use bonobo to create popup menu,
this ensures it get translated.
(eog_window_construct): Code cleanup.
2002-02-10 Jens Finke <jens@triq.net>
* Makefile.am (ui_DATA): Added eog-image-view-ctrl-ui.xml.
* eog-control.c (eog_control_create_ui): Use separate xml file for
bonobo ui description. This ensures we get translated menu items.
* eog-image-view-ctrl-ui.xml: New file.
2002-02-10 Jens Finke <jens@triq.net>
* POTFILES.in: Added viewer/eog-image-view-ctrl-ui.xml.
2000-08-18 Federico Mena Quintero <federico@helixcode.com>
Another attempt at fixing auto-sizing; it seems to work now.
Maybe GtkScrollFrame is not *that* broken...
* window.c (window_construct): Do not set the default size of the
window.
(window_init): Set the window policy to allow_shrink.
(auto_size): Set the usize of the image view to our preferred size.
(window_open_image_dialog): Add a grab on the dialog so that the
user cannot invoke commands on the window!
(hide_cb): Remove the grab when the dialog is hidden.
(window_open_image_dialog): Sigh. Add an accel group so that
pressing Escape can close the open dialog.
* gtkscrollframe.c (gtk_scroll_frame_size_request): Do pay
attention to the child's requisition; this restores the code to
its original state.
(gtk_scroll_frame_size_allocate): Make sure the the
child_allocation is nonnegative (bugfix merge from Evolution).
* image-view.c (image_view_size_request): Request a size of zero.