1. 24 Mar, 2015 1 commit
  2. 06 Jun, 2014 1 commit
  3. 21 Nov, 2013 1 commit
  4. 30 Oct, 2013 1 commit
    • Murray Cumming's avatar
      DbAddDel: Replace use of TreeView::remove_all_columns(). · db36708e
      Murray Cumming authored
      * glom/utils_ui.[h|cc]:
        Add a treeview_delete_all_columns() method to explicitly
        delete the columns instead of just removing them and sometimes
        implicitly deleting them with Gtk::TreeView::remove_all_columns().
      * glom/mode_data/db_adddel/db_adddel.[h|cc]:
      * glom/utility_widgets/adddel/adddel.cc:
      * glom/import_csv/dialog_import_csv.cc: Use it.
      
      This seems to fix a crash when switching between Data and Find mode,
      though that might just have been due to not resetting the pointer
      to the button column.
      db36708e
  5. 29 Oct, 2013 1 commit
  6. 22 Oct, 2013 2 commits
    • Murray Cumming's avatar
      Move icons/ and ui/ in to data/ · 868f3322
      Murray Cumming authored
      Because this is common in GNOME applications.
      868f3322
    • Murray Cumming's avatar
      Use toolpallete and about icons from a GResource instead of installing. · f79223fa
      Murray Cumming authored
      * Makefile.am:
      * Makefile_glom.am: Put the ToolPalette and AboutDialog icons in
        a GResource instead of installing them. Some icons still need
        to be installed as icons for the application and the mime type.
      * icons/16x16/*.png: Move the toolpalette icons to icons/ as these
        were the only size ever used anyway.
      * glom/utils_ui.cc: get_icon_path(): Make this return the resource
        path instead of a file path.
      * glom/appwindow.cc: Load the about dialog icon from a resource
        instead of the filesystem.
      * glom/mode_design/print_layotus/print_layout_toolbar_button.cc:
      * glom/utility_widgets/layouttoolbarbutton.cc: Constructor:
        Load the icon from a resource instead of from the filesystem.
      f79223fa
  7. 22 Jul, 2013 1 commit
  8. 12 Apr, 2012 1 commit
  9. 23 Feb, 2012 1 commit
  10. 13 Feb, 2012 1 commit
  11. 05 Feb, 2012 1 commit
    • Murray Cumming's avatar
      Button scripts and Field Calculations: Test button: Check for pygtk2. · 42ab9898
      Murray Cumming authored
      * glom/mode_data/box_data.cc: :execute_button_script(): Move the
      warning UI into
      * glom/utils_ui.[h|cc]: a new script_check_for_pygtk2_with_warning()
      method.
      * glom/mode_design/fields/dialog_fieldcalculation.cc: on_button_test():
      * glom/mode_design/layout/layout_item_dialogs/dialog_buttonscript.cc:
      on_button_test_script(): Use the new function here.
      42ab9898
  12. 16 Jan, 2012 2 commits
  13. 26 Oct, 2011 1 commit
    • Murray Cumming's avatar
      Add and move #includes for the latest glibmm. · 6e78d9b2
      Murray Cumming authored
      	* glom/import_csv/csv_parser.cc:
      	* glom/import_csv/dialog_import_csv_progress.cc:
      	* glom/libglom/connectionpool.cc:
      	* glom/libglom/connectionpool_backends/postgres_self.cc:
      	* glom/libglom/privs.cc:
      	* glom/libglom/spawn_with_feedback.cc:
      	* glom/mode_data/box_data_list.cc:
      	* glom/mode_data/box_data_list_related.cc:
      	* glom/mode_data/db_adddel/db_adddel.cc:
      	* glom/mode_data/notebook_data.cc:
      	* glom/mode_design/print_layouts/window_print_layout_edit.h:
      	* glom/utility_widgets/dialog_image_load_progress.cc:
      	* glom/utility_widgets/dialog_image_save_progress.cc:
      	* glom/utils_ui.cc:
      	* tests/import/utils.cc: Add individual glibmm includes now that
      	gmmproc does not include glibmm.h from headers.
      	Always include glibmm/thread.h first to avoid deprecation warnings.
      6e78d9b2
  14. 25 Oct, 2011 1 commit
    • Murray Cumming's avatar
      Change #includes for the latest glibmm. · a9513ff7
      Murray Cumming authored
      Add individual includes instead of general giomm.h, glibmm.h or gtkmm.h
      includes.
      Among other things, this might let us avoid the annoying warning about
      deprecated GThread functions.
      a9513ff7
  15. 18 Oct, 2011 1 commit
    • Murray Cumming's avatar
      Avoid some copy/pasting of code. · baa0549c
      Murray Cumming authored
      * glom/mode_design/print_layouts/print_layout_toolbar_button.cc:
      * glom/utility_widgets/layouttoolbar.cc:
      * glom/utility_widgets/layouttoolbarbutton.cc: Moved get_icon_path() to:
      * glom/utils_ui.[h|cc]
      baa0549c
  16. 17 Oct, 2011 2 commits
    • Murray Cumming's avatar
      Move report building code around. · c3d479cd
      Murray Cumming authored
      * glom/report_builder.[h|cc]: report_build(): Return the filepath,
      instead of opening it in the browser.
      * glom/xsl_utils[h|cc]: transform_and_open(): Rename to transform(),
      returning the filepath. Also correct some ustring filepath to std::string.
      * glom/utils_ui[h|cc]: Added show_report_in_browser().
      * glom/frame_glom.cc: on_menu_report_selected():
      * glom/mode_data/box_data_manyrecords.cc: print_layout: Adapted.
      c3d479cd
    • Murray Cumming's avatar
      List View: Correct the default column widths. · 438137d9
      Murray Cumming authored
      * glom/utils_ui.[h|cc]: get_suitable_field_width_for_widget(): Added a
      for_treeview parameter and adjust the width accordingly.
      * glom/mode_data/db_adddel/db_adddel.cc: treeview_append_colum():
        Replace the overly-generic division-by-3 hack with the new parameter, and
        add some hard-coded extra space.
      438137d9
  17. 13 Oct, 2011 1 commit
    • Murray Cumming's avatar
      Use Glib::ustring::compose() instead of concatenation for translatable strings. · b0a17083
      Murray Cumming authored
      * glom/bakery/dialog_offersave.cc:
      * glom/import_csv/dialog_import_csv.cc:
      * glom/mode_design/fields/dialog_fieldcalculation.cc:
      * glom/mode_design/layout/combobox_relationship.cc:
      * glom/mode_design/layout/dialog_layout_details.cc:
      * glom/mode_design/layout/layout_item_dialogs/dialog_buttonscript.cc:
      * glom/navigation/box_tables.cc:
      * glom/utils_ui.cc: Let translators arrange built strings.
      b0a17083
  18. 08 Sep, 2011 1 commit
    • Murray Cumming's avatar
      Remove the Mameo UI. · e4e655db
      Murray Cumming authored
      * Makefile.am:
      * Makefile_glom.am:
      * configure.ac:
      * glom/*.[h|cc]: Remove the --enable-maemo option and the ifdefs in the code.
      Unforunately, the platform is dead so that Hildon API will never be available
      to us in the real world.
      e4e655db
  19. 14 Jul, 2011 1 commit
    • Murray Cumming's avatar
      ImageGlom: Remove limits so we always scale, and use on_size_allocate(). · 58e42d6d
      Murray Cumming authored
      * glom/utility_widgets/imageglom.[h|cc]: Use on_size_allocate() instead of
      on_draw(), which is slightly wiser.
      Remove the hard-coded checks for minumum and maximum sizes, because
      we get an initial allocation of 1, and because the max was arbitrarily small.
      
      This works now, but we still need to make the window get smaller when
      the GtkImage requests less space.
      58e42d6d
  20. 11 Oct, 2010 2 commits
    • David King's avatar
      Change some uses of long to more appropriate types · b4f16b8c
      David King authored
      * glom/libglom/python_embed/py_glom_record.[cc|h]:
      * glom/libglom/python_embed/py_glom_related.[cc|h]:
      * glom/libglom/python_embed/py_glom_relatedrecord.[cc|h]:
      * glom/libglom/utils.cc:
      * glom/utility_widgets/db_addel/glom_db_treemodel.cc:
      * glom/utils_ui.cc: Use other types than long where appropriate.
      b4f16b8c
    • David King's avatar
      Use array notation where appropriate · 5d9839eb
      David King authored
      * glom/dialog_connection.[cc|h]:
      * glom/dialog_existing_or_new.[cc|h]:
      * glom/dialog_invalid_data.[cc|h]:
      * glom/libglom/connectionpool_backends/postgres.cc:
      * glom/libglom/connectionpool_backends/postgres_self.cc:
      * glom/libglom/connectionpool_backends/sqlite.cc:
      * glom/utils_ui.cc: Use array notation when initializing constant
      character arrays.
      5d9839eb
  21. 19 Aug, 2010 1 commit
    • David King's avatar
      Include the correct config.h · 7f3b5078
      David King authored
      * glom/application.cc:
      * glom/bakery/app_withdoc.cc:
      * glom/bakery/app_withdoc_gtk.cc:
      * glom/bakery/app_withdoc_gtk.h:
      * glom/bakery/dialog_offersave.cc:
      * glom/bakery/dialog_offersave.h:
      * glom/libglom/connectionpool_backends/postgres.cc:
      * glom/libglom/document/bakery/document.cc:
      * glom/libglom/gst-package.c:
      * glom/main.cc:
      * glom/mode_design/translation/window_translations.cc:
      * glom/python_embed/glom_python.cc:
      * glom/python_embed/python_module/py_glom_module.cc:
      * glom/utils_ui.cc: Be sure to include the local config.h.
      7f3b5078
  22. 20 Jun, 2010 1 commit
  23. 19 Jun, 2010 1 commit
    • Daniel Borgmann's avatar
      Set default icon instead of individual window icons. · 04685925
      Daniel Borgmann authored and Murray Cumming's avatar Murray Cumming committed
      * glom/application.cc: Set default window icon.
      
      * glom/dialog_existing_or_new.cc:
      * glom/filechooser_export.cc:
      * glom/frame_glom.cc:
      * glom/glade_utils.h:
      * glom/mode_design/script_library/dialog_script_library.cc:
      * glom/mode_design/translation/window_translations.cc:
      * glom/mode_design/users/dialog_groups_list.cc:
      * glom/utility_widgets/filechooserdialog_saveextras.cc:
      * glom/utils_ui.cc:
      * glom/window_boxholder.cc:
      
      Don't call set_icon_name() on individual windows.
      04685925
  24. 03 May, 2010 1 commit
    • Daniel Borgmann's avatar
      Set default icon instead of individual window icons. · ccafe3ad
      Daniel Borgmann authored
      * glom/application.cc: Set default window icon.
      
      * glom/dialog_existing_or_new.cc:
      * glom/filechooser_export.cc:
      * glom/frame_glom.cc:
      * glom/glade_utils.h:
      * glom/mode_design/script_library/dialog_script_library.cc:
      * glom/mode_design/translation/window_translations.cc:
      * glom/mode_design/users/dialog_groups_list.cc:
      * glom/utility_widgets/filechooserdialog_saveextras.cc:
      * glom/utils_ui.cc:
      * glom/window_boxholder.cc:
      
      Don't call set_icon_name() on individual windows.
      ccafe3ad
  25. 01 May, 2010 1 commit
    • Murray Cumming's avatar
      Move some more methods from Base_DB. · 0b50bb06
      Murray Cumming authored
      * glom/base_db.[h|cc]: Move show_warning_no_records_found() to utils_ui.[h|cc].
      get_find_where_clause_quick(): Move to utils.[h|cc].
      * glom/frame_glom.cc: Adapted.
      * glom/mode_design/layout/layout_item_dialogs/box_formatting.h:
      * glom/mode_design/layout/layout_item_dialogs/dialog_buttonscript.[h|cc]:
      * glom/mode_data/datawidget/dialog_choose_id.[h|cc]: Don't derive from Base_DB
      because that is no longer necessary after adapting.
      0b50bb06
  26. 10 Apr, 2010 2 commits
  27. 08 Apr, 2010 1 commit
    • Murray Cumming's avatar
      ImageGlom: Move scale_keeping_ratio() somewhere more sensible. · eefed4f2
      Murray Cumming authored
      * glom/utility_widgets/imageglom.[h|cc]: Move scale_keeping_ratio() to
      glom/utils_ui.[h]cc] as Utils::image_scale_keeping_ratio().
      * glom/utility_widgets/canvas/canvas_image_movable.cc:
      * glom/utility_widgets/db_adddel/db_adddel.cc:
      * glom/utility_widgets/flowtable_dnd.cc: Adapted.
      eefed4f2
  28. 31 Mar, 2010 1 commit
  29. 06 Mar, 2010 1 commit
  30. 14 Dec, 2009 1 commit
  31. 30 Oct, 2009 1 commit
    • Murray Cumming's avatar
      List views and related records portals: Enough space for titles. · fb690e8b
      Murray Cumming authored
      * glom/utils_ui.[h|cc]: get_suitable_field_width_for_widget():
      Optionally calculate enough space for the title too, for TreeView
      columns.
      * glom/utility_widgets/db_adddel/db_adddel.cc: treeview_append_column():
      When choosing a default column width, make sure there's enough for the
      title too.
      fb690e8b
  32. 13 Oct, 2009 1 commit
  33. 28 Sep, 2009 3 commits