1. 14 Jul, 2011 5 commits
  2. 13 Jul, 2011 7 commits
  3. 12 Jul, 2011 11 commits
    • Murray Cumming's avatar
      1.19.7 · 041ded64
      Murray Cumming authored
    • Murray Cumming's avatar
      ImageGlom: Saving is now mostly async. · dd8e0287
      Murray Cumming authored
      * glom/utility_widgets/dialog_image_save_progress.[h|cc]: Doing the actual
      writing in callbacks, like in the loader.
      * glom/utility_widgets/imageglom.cc: Show the dialog, so we can use the
      idle callbacks, and give user feedback.
    • Murray Cumming's avatar
      ImageGlom: Allow the user to choose any file. · 174c0dda
      Murray Cumming authored
      * glom/utility_widgets/imageglom.cc: However, we are still restricted to
      what GdkPixbuf can load.
    • Murray Cumming's avatar
      ImageGlom: Do not transform to PNG output when saving. · e1cbe6f1
      Murray Cumming authored
      * glom/utility_widgets/dialog_image_save_progress.[h|cc]: Replace set_pixbuf()
      with set_image_data().
      save(): Save the original data, instead of saving the data from the pixbuf.
      * glom/utility_widgets/imageglom.cc: Adapt.
      This means, for instance, that if the user loads the a JPG in then they will
      get exactly the same JPG out.
    • Murray Cumming's avatar
      Some minor signed type corrections. · b9ed12fd
      Murray Cumming authored
      	* glom/libglom/connectionpool_backends/postgres.cc:
      	* glom/xsl_utils.cc: Gio::FileOutputStream::write() returns a gssize, not a
    • Murray Cumming's avatar
      Remove debug output. · a72c2fc7
      Murray Cumming authored
    • Murray Cumming's avatar
      ImageGlom: Size request corrections. · adf07055
      Murray Cumming authored
      	* glom/utility_widgets/imageglom.cc: init(): Remove the set_size_request()
      	call which does not seem necessary.
      	Do not call set_image(original) after scale(), because scale() does that,
      	setting the scaled image.
      	This avoids the GtkImage being huge, because GtkImage re-requests the
      	bigger size again when the original is put in it.
      	This is still not ideal. It would be nicer if we could just say "do not
      	make the window bigger than the screen, or do not make this make the
      	window bigger."
    • Murray Cumming's avatar
      ImageGlom: Use AppInfo instead of gtk_show_uri() for Open. · ebdf9b09
      Murray Cumming authored
      * glom/utility_widgets/imageglom.cc: For the case that we have no AppInfo
      (not Open With), use the static AppInfo method, for consistency.
      This might work on Win32 too.
    • Murray Cumming's avatar
      Fix comment typo. · 1b193db8
      Murray Cumming authored
    • Murray Cumming's avatar
      Image fields: Add Open, Open With, and Save context menu items. · d47124d7
      Murray Cumming authored
      * glom/utility_widgets/dialog_image_save_progress.[h|cc]:
      * ui/operator/dialog_image_save_progress.glade:
      Added a progress dialog to do image saving, though it does not yet do
      async saving so the dialog is never shown.
      * Makefile.am:
      * Makefile_glom.am:
      * po/POTFILES.in: Mention the new files.
        * glom/utility_widgets/imageglom.[h|cc]: Add the new context menu items,
        using a temporary file for the Open and Open With features.
        Open With uses AppChooserDialog to offer a choice to the user.
        Bug #630057
    • Murray Cumming's avatar
      Rename Dialog_Image_Progress to DialogImageLoadProgress · 029b4ed8
      Murray Cumming authored
      	* glom/utility_widgets/dialog_image_progress.[h|cc]:
      	Rename to
      	* glom/utility_widgets/dialog_image_load_progress.[h|cc]:
      	* tests/test_glade_derived_instantiation.cc:
      	* ui/operator/dialog_image_progress.glade: Rename to
      	* ui/operator/dialog_image_load_progress.glade:
      	* glom/utility_widgets/imageglom.h:
      	* Makefile.am:
      	* Makefile_glom.am:
      	* po/POTFILES.in: Adapt.
      	I can then add a new dialog for saving.
  4. 11 Jul, 2011 4 commits
  5. 09 Jul, 2011 1 commit
  6. 08 Jul, 2011 4 commits
    • Murray Cumming's avatar
      Related Records: Show enough records. · e7253fc9
      Murray Cumming authored
      * glom/mode_data/db_adddel/db_adddel.[h|cc]: Added set_height_rows(), so
      we can set the minimum size based on the number of rows, though this
      currently hard-codes a size for the non-rows part of the GtkTreeView, such
      as the column headers.
      * glom/mode_data/box_data_portal.cc:
      * glom/mode_data/box_data_list_related.cc: Constructors: Remove unnecessary
      calls to set_size_request().
      Call set_height_rows() instead.
        The related records Gtk::TreeViews probably became too small since the port to
        gtkmm3. We now need to use Gtk::ScrolledArea::set_min_content_height().
        However, the number of rows should probably be something for the layout to
        specify per portal.
    • Murray Cumming's avatar
      Minor int->guint change. · 957b64f1
      Murray Cumming authored
      	* glom/mode_data/db_adddel/db_adddel.[h|cc]: get_fixed_cell_height():
      	Return a guint instead of an int.
    • Murray Cumming's avatar
      Details: Do not navigate past the last row. · ecf0ccc7
      Murray Cumming authored
      * glom/mode_data/datawidget/treemodel_db.[h|cc]: get_last_row():
      Document that this never returns the placeholder row, and make sure that it
      does not. There was a typo that --ed the wrong variable.
      * glom/mode_data/db_adddel/db_adddel.[h|cc]: get_last_row():
      Document that this never returns the placeholder row.
      get_is_placeholder_row(): Remove an illogical call to is_last_row().
      get_count(): Remove an illogical check to see whether the last row is the
      placeholder row.
      * glom/utility_widgets/adddel/adddel.h: get_last_row(): Document that this
        similarly-APIed widget has different behaviour.
        This stops the user from being taken to an empty record when clicking Last,
        or when clicking Next to the end.
        Bug #526115 comment #25 (Michael Hasselmann)
    • Murray Cumming's avatar
      DbAddDel: Remove unnecessary virtual keywords. · f1cc1e38
      Murray Cumming authored
      * glom/mode_data/db_adddel/db_adddel.h: These methods are not meant to
      be overridden by anything.
  7. 07 Jul, 2011 8 commits