1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264
|
2001-02-07 Martin Baulig <baulig@suse.de>
* Makefile.am (EXTRA_DIST): Added $(ui_DATA).
2001-02-07 Martin Baulig <baulig@suse.de>
* eog-embeddable.c
(eog_embeddable_corba_object_create): Removed.
(eog_embeddable_construct): Removed Bonobo_Embeddable argument.
2001-02-06 Martin Baulig <baulig@suse.de>
* eog-control.c (eog_control_corba_object_create): Removed.
(eog_control_construct): Removed Bonobo_Control argument.
* eog-embeddable-view.c
(eog_embeddable_view_corba_object_create): Removed.
(eog_embeddable_view_construct): Removed Bonobo_View argument.
2001-01-21 Michael Meeks <michael@helixcode.com>
* eog-image.c (eog_image_get_pixbuf): only ref if we have
a pixbuf.
* eog-embeddable-view.c (configure_size): unref pixbuf.
* eog-embeddable.c (render_fn): ditto.
* main.c (bonobo_object_destroy_cb): remove expliti running
object counting.
(init_eog_image_viewer_factory): use a modern unref method.
2001-01-17 Michael Meeks <michael@helixcode.com>
* eog-embeddable-view.c (eog_embeddable_view_construct):
don't allow scroll bars ever.
(configure_size): upd.
* eog-image-view.c (eog_image_view_set_zoom): impl.
2001-01-16 Michael Meeks <michael@helixcode.com>
* eog-embeddable-view.c (eog_embeddable_view_construct):
connect to view_size_allocation. (configure_size): impl.
(view_size_allocate_cb): hook up.
* eog-image-view.c (eog_image_view_set_prop),
(eog_image_view_get_prop): update to new property bag API.
2001-01-17 Michael Meeks <michael@helixcode.com>
* eog-image-view.c (eog_image_view_set_prop),
(eog_image_view_get_prop): update to new property bag API.
2001-01-05 Michael Meeks <michael@helixcode.com>
* eog-embeddable.c (render_fn): impl.
(eog_embeddable_construct): hook up print interface.
2000-12-11 Michael Meeks <michael@helixcode.com>
* main.c (bonobo_object_destroy_cb): remove eroneous cast.
2000-12-10 Michael Meeks <michael@helixcode.com>
* eog-image-view.c (eog_image_view_construct): add some sensible
defaults for nicer rendering speed & performance.
2000-12-09 Michael Meeks <michael@helixcode.com>
* eog-image.c (eog_image_get_image): only ref if image != NULL.
* eog-image-view.c (eog_image_view_new),
(eog_image_view_construct): add control, add image_set_image_cb
call, so we can actualy see the image if we load data then request
a view, or create new views later on.
* eog-embeddable-view.c (eog_embeddable_view_destroy): upd.
(eog_embeddable_view_construct): upd.
* eog-embeddable.c (eog_embeddable_construct): update.
* eog-image-view.c (eog_image_view_set_dither),
(eog_image_view_get_interpolation),
(eog_image_view_set_interpolation),
(eog_image_view_get_dither),
(eog_image_view_set_check_type),
(eog_image_view_get_check_type),
(eog_image_view_get_check_size),
(eog_image_view_set_check_size): kill warnings.
misc. cleans.
* eog-control.c (eog_control_construct): drasticaly prune.
(eog_control_destroy): prune with a hook.
* eog-image.c (eog_image_add_interfaces): split from
(eog_image_construct): here.
(eog_image_destroy): don't double unref item container.
* main.c (bonobo_object_data_t): expunge
substantial cleans.
* eog-image.c (eog_image_construct): use bonobo_object_unref.
* eog-util.c (eog_util_add_interfaces): remove.
* GNOME_EOG.oafinfo: update naming convention.
* main.c (eog_image_viewer_factory): ditto.
2000-12-08 Michael Meeks <michael@helixcode.com>
* eog-image-view.c (eog_image_view_destroy): don't unref other
parts of the aggregate, they are fused with the view.
* sample-container.c (main): frendlify
2000-12-05 Michael Meeks <michael@helixcode.com>
* Makefile.am: install GNOME_EOG.oafinfo instead of
eog-image-viewer.oafinfo.
2000-11-20 Martin Baulig <baulig@suse.de>
* eog-image-io.[ch]: New files. This provides saving code for
XPM, PNG and JPEG.
* eog-image.c (save_image_to_stream): New static function; calls
one of the eog-image-io.c function depending on the content type.
2000-11-20 Martin Baulig <baulig@suse.de>
* eog-image-data.[ch]: Removed.
* eog-image.[ch]: Moved everything from eog-image-data.[ch] here.
(eog_image_get_image): Formerly known as eog_image_data_get_image().
(eog_image_get_pixbuf): New function.
2000-11-19 Martin Baulig <baulig@suse.de>
* eog-util.[ch]: New files.
(eog_util_add_interfaces): New function.
(eog_util_split_string): New function.
* eog-embeddable.c (eog_embeddable_add_interfaces): Removed, use
eog_util_add_interfaces() instead.
* eog-control.c (eog_control_add_interfaces): Likewise.
* eog-embeddable-view.c (eog_embeddable_view_add_interfaces): Likewise.
* eog-image.c (eog_image_construct): Create a BonoboItemContainer
and provide two arguments - `control' which calls eog_control_new()
on the EogImage to return a new BonoboControl and `embeddable' which
does the same with eog_embeddable_new().
* eog-image-view.c (eog_image_view_construct): Create a
BonoboItemContainer.
* eog-control.c (eog_control_construct): Pass down the
BonoboItemContainer from the EogImageView.
* eog-embeddable-view.c (eog_embeddable_view_construct): Likewise.
* main.c (eog_image_viewer_factory): Added factory for GNOME::EOG::Image.
(main): Don't force fatal warnings.
* sample-container.c: New file.
2000-11-19 Martin Baulig <baulig@suse.de>
Moved the zoomable from the EogImageView into the EogControl.
* eog-image-view.h (eog_image_view_get_zoomable): Removed.
(eog_image_view_get_zoom_factor): New function.
(eog_image_view_set_zoom_factor): New function.
(eog_image_view_zoom_to_fit): New function.
* eog-control.c (eog_control_create_ui): New static function. This
creates the zoom menus and toolbar.
(eog_control_set_ui_container): New static function. This calls
eog_image_view_set_ui_container() and then eog_control_create_ui().
(eog_control_unset_ui_container): New static function. This calls
eog_image_view_unset_ui_container().
(eog_control_activate): Call eog_control_set/unset_ui_container()
instead of eog_image_view_set/unset_ui_container().
(eog_control_construct): Create the BonoboZoomable here.
* eog-image-view.c
(zoomable_set_frame_cb, zoomable_set_zoom_level_cb,
zoom_index_from_float, zoom_level_from_index, zoomable_zoom_in_cb,
zoomable_zoom_out_cb, zoomable_zoom_to_fit_cb,
zoomable_zoom_to_default_cb, verb_ZoomIn_cb, verb_ZoomOut_cb,
verb_ZoomToDefault_cb, verb_ZoomToFit_cb): Moved to eog-control.c.
* eog-control.c:
(zoomable_set_frame_cb, zoomable_set_zoom_level_cb,
zoom_index_from_float, zoom_level_from_index, zoomable_zoom_in_cb,
zoomable_zoom_out_cb, zoomable_zoom_to_fit_cb,
zoomable_zoom_to_default_cb, verb_ZoomIn_cb, verb_ZoomOut_cb,
verb_ZoomToDefault_cb, verb_ZoomToFit_cb): Moved here.
2000-11-19 Martin Baulig <baulig@suse.de>
* eog-image.[ch]: New files. This implements GNOME::EOG::Image which
is (currently) derived from GNOME::EOG::ImageData.
* eog-image-view.c (eog_image_view_new, eog_image_view_construct):
This now takes a GNOME::EOG::Image, not a GNOME::EOG::ImageData.
(eog_image_view_get_image_data): Renamed to eog_image_view_get_image().
* eog-control.c (eog_control_new, eog_control_construct):
This now takes a GNOME::EOG::Image, not a GNOME::EOG::ImageData.
* eog-embeddable.c (eog_embeddable_new): Likewise.
(eog_embeddable_construct): Likewise.
* eog-embeddable-view.c (eog_embeddable_view_new): Likewise.
(eog_embeddable_view_construct): Likewise.
2000-11-18 Martin Baulig <baulig@suse.de>
* eog-image-view.c (EogImageViewPrivate): Added `has_zoomable_frame'.
(zoomable_set_frame_cb): New callback function for the "set_frame"
signal on the Zoomable; this sets image_view->priv->has_zoomable_frame.
(eog_image_view_create_ui): Manually create the UI for the zoom toolbar
and the zoom menu entries here, but only if `has_zoomable_frame'.
* eog-image-view-ui.xml: Removed the EogZoomToolbar and the
zoom menus.
2000-11-17 Martin Baulig <baulig@suse.de>
* eog-image-view.c (verb_ZoomIn_cb, verb_ZoomOut_cb,
verb_ZoomToDefault_cb, verb_ZoomToFit_cb): New callback functions;
they emit the corresponding signals on the zoomable.
(eog_image_viewer_verbs): Added "ZoomIn", "ZoomOut", "ZoomToDefault"
and "ZoomToFit".
* eog-image-view-ui.xml: Moved the config stuff into submenus,
added some menu items for zooming and a "EogZoomToolbar".
2000-11-16 Martin Baulig <baulig@suse.de>
* eog-image-view.c (zoomable_zoom_to_fit_cb): Implemented;
first call ui_image_zoom_fit(), then get the new zoom level
from the ImageView and emit the "set_zoom_level" signal on
the zoomable.
(eog_image_view_construct): Set `has_min_zoom_level' and
`has_max_zoom_level' on the zoomable.
2000-10-27 Martin Baulig <baulig@suse.de>
* eog-image-control.[ch]: Renamed to eog-control.[ch].
* eog-embeddable.[ch]: New files.
* eog-embeddable-view.[ch]: New files.
2000-10-26 Martin Baulig <baulig@suse.de>
Imported first version of my new eog-image-viewer component.
* eog-image-data.[ch]: New files.
* eog-image-view.[ch]: New files.
* eog-image-control.[ch]: New files.
* eog-image-view-ui.xml: New file.
* eog-image-viewer.oafinfo: New file.
* main.c: New file.
|