1. 10 Apr, 2010 8 commits
    • Murray Cumming's avatar
      Fixed build. · 0456df60
      Murray Cumming authored
    • Murray Cumming's avatar
      dialog_run_with_help(): Get the help ID from the class. · 48b9b8ca
      Murray Cumming authored
        * glom/utils_ui.h: dialog_run_with_help(): Add a templated version that uses
        the static glade_id member, to avoid repeating this in the source code.
      * Several .cc files: Remove the ID parameter from most uses of
    • Murray Cumming's avatar
      Glade instantiation: Simplify, make more robust, and test. · 8364855d
      Murray Cumming authored
        * glom/glade_utils.h: get_glade_widget_derived_with_warning():
        Don'te an ID. This requires the class to have a static glade_id member and
        glade_developer (bool) member, telling us what file and what ID to use.
        This associates the IDs and filenames with the class, instead of being in other files,
        to avoid duplication and to avoid using the wrong ones.
        This allows us to remove get_glade_developer_widget_derived_with_warning().
        * Many files: Use these new methods, to avoid mentioning glade IDs.
        * tests/test_glade_derived_instantiation.cc: Try to instantiate all the known
        derived glade dialogs.
    • Murray Cumming's avatar
      Glade files: Move a client-only dialog to the correct file. · 76370770
      Murray Cumming authored
      * glom/glom_developer.glade:
      * glom/glom.glade: Move dialog_choose_date to glom.glade.
      * glom/mode_data/datawidget/datawidget.cc: on_button_choose_date():
    • Murray Cumming's avatar
      1.14.0: · 7afa0af8
      Murray Cumming authored
      Application: Forget the global instance when it has been deleted.
        * glom/application.cc: Destructor: reset the static instance to 0,
        to avoid anything from retrieving the pointer to the deleted object.
    • Murray Cumming's avatar
      Remove some unused code. · 78bcf62f
      Murray Cumming authored
      * glom/base_db.cc: offer_item_formatting(): Remove a useless use of
    • Murray Cumming's avatar
      Notebook properties dialog: Fix a probable crash. · 39b359c8
      Murray Cumming authored
      * glom/base_db.cc: :offer_notebook(): Fix a typo in the glade ID.
      I'm working on code to prevent these kinds of errors, to apply when we branch.
    • Murray Cumming's avatar
      Reports: Fix a crash when opening the secondary fields dialog. · 4363b8e6
      Murray Cumming authored
        * glom/glom_developer.glade: dialog_groupby_secondary_fields: Rename a
        button to match what the class's constructor expects.
  2. 09 Apr, 2010 3 commits
    • Daniel Borgmann's avatar
      Clean up Add Related Table dialog. · 6c56307e
      Daniel Borgmann authored
      * glom/glom_developer.glade: (dialog_add_related_table) Remove frame,
      fix spacings, align form elements in table.
      * glom/mode_design/dialog_add_related_table.cc: Add window icon.
    • Daniel Borgmann's avatar
      Update translation dialogs. · a4df2da3
      Daniel Borgmann authored
      * glom/application.cc:
      * glom/glom_developer.glade:
      * glom/mode_design/script_library/dialog_script_library.cc:
      * glom/mode_design/translation/window_translations.cc:
      * glom/mode_design/users/dialog_groups_list.cc:
      Translation dialog updates, set missing window icons.
    • Daniel Borgmann's avatar
      Update dialogs. · 2ab8443b
      Daniel Borgmann authored
      * glom/frame_glom.cc: Set window icons.
      * glom/glom_developer.glade: Update user dialogs.
      * glom/mode_design/layout/dialog_layout.cc: Set window icons.
      * glom/mode_design/users/dialog_groups_list.cc: Set window icons.
  3. 08 Apr, 2010 8 commits
    • Daniel Borgmann's avatar
      Use buttonbox for details view. · 1629b976
      Daniel Borgmann authored
      * glom/mode_data/box_data_details.cc:
      * glom/mode_data/box_data_details.h:
      Use HButtonBox instead of HBox.
    • Daniel Borgmann's avatar
      Use button box for adddel widgets. · d18d8575
      Daniel Borgmann authored
      * glom/utility_widgets/adddel/adddel_withbuttons.cc:
      * glom/utility_widgets/adddel/adddel_withbuttons.h:
      * glom/utility_widgets/db_adddel/db_adddel_withbuttons.cc:
      * glom/utility_widgets/db_adddel/db_adddel_withbuttons.h:
      Use ButtonBox instead of HBox.
    • Daniel Borgmann's avatar
      Use button box for listview buttons. · b7bd0981
      Daniel Borgmann authored
      * glom/utility_widgets/db_adddel/db_adddel_withbuttons.cc:
      * glom/utility_widgets/db_adddel/db_adddel_withbuttons.h:
      Use ButtonBox instead of HBox to make buttons homogenous. Also change
      button order to match order used everywhere else (Add/Delete/Open).
    • 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.
    • Murray Cumming's avatar
      glom/mode_data/datawidget/: Clean up classes, putting them in a namespace. · 2c40be36
      Murray Cumming authored
        * glom/mode_data/datawidget/: Removed Glom suffixes from class names
        and filenames, and put classes in a DataWidgetChildren sub-namespace,
        to make it clearer where we occasionally use these outside of DataWidget.
    • Murray Cumming's avatar
      Cleaned glom/utility_widgets/ a little. · a2bc6865
      Murray Cumming authored
        * glom/utility_widgets/datawidget.[h|cc]: Moved to glom/mode_data/datawidget/
        because it is only used by the data-mode flowtable.
      	* glom/utility_widgets/buttonglom.[h|cc]
      	* glom/utility_widgets/checkglom.[h|cc]
      	* glom/utility_widgets/combo_as_radio_buttons.[h|cc]
      	* glom/utility_widgets/combochoices.[h|cc]
      	* glom/utility_widgets/combochoiceswithtreemodel.[h|cc]
      	* glom/utility_widgets/comboentryglom.c[h|cc]
      	* glom/utility_widgets/comboglom.[h|cc]
      	* glom/utility_widgets/dialog_choose_date.[h|cc]
      	* glom/utility_widgets/dialog_choose_id.[h|cc]
      	* glom/utility_widgets/entryglom.[h|cc]
      	* glom/utility_widgets/labelglom.[h|cc]
      	* glom/utility_widgets/textviewglom.[h|cc]
      	* glom/utility_widgets/placeholder-glom.[h|cc]: Also move these to
        glom/mode_data/datawidget because they are only used by DataWidget.
      	* glom/utility_widgets/alignment_justified.[h|cc]:
      	* glom/utility_widgets/table_columns.[h|cc]: Deleted these unused classes.
        * Makefile_glom.am: Adapted.
    • Daniel Borgmann's avatar
      Text and Image object Dialog adjustments. · 330a5775
      Daniel Borgmann authored
      * glom/glom_developer.glade: Various dialog layout fixes.
      * glom/mode_design/layout/layout_item_dialogs/dialog_imageobject.cc:
      * glom/mode_design/layout/layout_item_dialogs/dialog_imageobject.h:
      * glom/mode_design/layout/layout_item_dialogs/dialog_textobject.cc:
      * glom/mode_design/layout/layout_item_dialogs/dialog_textobject.h:
      Update box variable name and add window icons.
    • David King's avatar
      Update copyright information in about dialog · 72d4a20e
      David King authored
      * glom/application.cc: Update copyright year in about dialog.
  4. 07 Apr, 2010 2 commits
  5. 06 Apr, 2010 7 commits
  6. 31 Mar, 2010 5 commits
  7. 30 Mar, 2010 7 commits
    • Daniel Borgmann's avatar
      Set window icon for welcome screen. · bf6846f6
      Daniel Borgmann authored
      * glom/dialog_existing_or_new.cc: Set window icon.
    • Daniel Borgmann's avatar
      Disable some menu items when no table is loaded. · 75ab5fb1
      Daniel Borgmann authored
      * glom/application.cc: update_table_sensitive_ui: Function to set
      sensitivity of menu items depending on whether a table is loaded.
      init_menus: Add table sensitive menu items to a list.
      * glom/application.h: Add list to hold table sensitive menu items.
      * glom/frame_glom.cc: Call update_table_sensitive_ui when needed.
    • Daniel Borgmann's avatar
      Capitalisation fixes. · 47f7db65
      Daniel Borgmann authored
      	* glom/application.cc: Use lower case for short prepositions.
    • Daniel Borgmann's avatar
      Fix mnemonics. · ff1928a5
      Daniel Borgmann authored
      	* glom/application.cc: Add missing mnemonics and change double
    • Murray Cumming's avatar
      Update the document DTD, to fix tests. · 5a5ba3e3
      Murray Cumming authored
      * glom/glom_document.dtd: data_layout_button: Allow this to have a
          formatting child node, because we now allow this in the UI and save this.
    • Murray Cumming's avatar
      Add a test to check instantiation of glade widgets. · be6128d0
      Murray Cumming authored
          * Makefile_tests.am
      * tests/glade_toplevels_instantiation.cc: Added this code for an
          executable that will try to instantiate all GtkWindow and GtkDialog
          objects in a specified .glade file. It also checks that they are not
          visible by default.
      * tests/test_glade_toplevels_instantiation.sh: Added a tests script,
          run during make check, to run this executable on all our .glade files.
          * glom/glom.glade, glom_developer.glom: Fix small problems found by the
          test, removing an empty textbuffer top-level object and making all
          top-level objects non-visible by default.
    • Mario Blättermann's avatar
      Updated German translation · 97854999
      Mario Blättermann authored and Murray Cumming's avatar Murray Cumming committed