1. 22 Oct, 2013 1 commit
    • 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.
  2. 21 Oct, 2013 6 commits
    • Murray Cumming's avatar
      Store example files in a GResource. · 9cd1b6da
      Murray Cumming authored
      * ui/glom.gresource.xml: Rename this to ui/glom-ui.gresource.xml
        so we can also have:
      * examples/glom-examples.gresource.xml.
      * Makefile.am:
      * Makefile_glom.am: Generate the gresource source file.
      * glom/dialog_existing_or_new.[h|cc]: Get the example files
        from the globally-registered GResource.
      This avoid the need to check multiple locations, and avoids the risk
      of not checking all possible locations, when distros move the files
      around. And this simplifies packaging by not needing the example
      files to be installed separately.
    • Murray Cumming's avatar
      PrintLayoutEdit: Revert changes to use the win. actio group. · 300486bb
      Murray Cumming authored
      For some reason the menu items are not enabled, suggesting that
      the actions are not recognized.
    • Murray Cumming's avatar
      Frame_Glom: Add the Print Layout window to the Gtk::Application. · 47e26997
      Murray Cumming authored
      * glom/frame_glom.cc: This might not actually be useful.
    • Murray Cumming's avatar
      Print Layouts: Avoid crash when opening. · 688daed0
      Murray Cumming authored
      * glom/frame_glom.cc: This was another ! error from the commits to
        avoid clang warnings.
    • Murray Cumming's avatar
      Menus: Use the win. group/prefix for Cut/Copy/Paste as Print menu items. · 4dc5354e
      Murray Cumming authored
      Because Why Not. It is what the GTK+ test/example code does, and might
      have some (undocumented, unexplained) advantage.
      * glom/modedesign/print_layotus/window_print_layout_edit.[h|cc]:
        Change this to a Gtk::ApplicationWindow so we can use its
        regular add_action() method.
      * glom/appwindow.cc: For the Edit menu's Cut, Copy, Paste, Delete,
        Select and Select All items, and for the File menu's Print Layout
        and Print Preview, just use the regular "win" action group.
      * ui/developer/window_print_layout_edit.glade: Change this to
        a GtkApplicationWindow.
      * ui/operator/window_main.glade: Use the win. prefix for some
    • Murray Cumming's avatar
      Minor whitespace consistency changes · 903e42b7
      Murray Cumming authored
  3. 19 Oct, 2013 2 commits
  4. 18 Oct, 2013 3 commits
    • Murray Cumming's avatar
      Find: Show only the found records. · 52efc415
      Murray Cumming authored
      * glom/frame_glom.cc: set_mode(): Call set_mode_widget() too,
        so the UI is always showing the correct widgets.
        set_mode_widget(): Avoid unnecessary changes.
    • Murray Cumming's avatar
    • Murray Cumming's avatar
      Make Find work again. · 1b172e28
      Murray Cumming authored
      * glom/appwindow.[h|cc]:
        on_menu_edit_find(): Properly ! the active state.
        set_mode_data(), set_mode_find(): Call the same methods on
        the Frame widget, instead of expecting that to
        happen in a signal handler when we change the Action
      * glom/frame_glom.[h|cc]: Rename, and split,
        on_menu_Edit_Find() to set_mode_find()
        and set_mode_data(), documenting and simplifying
        them a bit.
      This needed reworking because Gio::Action does not act like
      Gtk::Action. For instance, we must set the state manually,
      and changing the state does not cause activate signals to be
  5. 17 Oct, 2013 2 commits
    • Murray Cumming's avatar
      Application: Manually specify accelerators. · 070e9f1a
      Murray Cumming authored
      * glom/applicaiton.[h|cc]: Use add_accelerator() to make the
        accelerators (already specified in the window_main.glade file)
        actually work.
      * glom/appwindow.cc: Add a comment about it.
        See GTK+ bug 708905
    • Murray Cumming's avatar
      AppWindow: Change file.close to win.close. · 4e8bf6f3
      Murray Cumming authored
      * glom/application.[h|cc]: Add the close action to the standard
        appwindow menu group, instead of our custom file group.
      * ui/operator/window_main.glade: Rename it here too.
        There is no reason not to do this, though I still do not know
        of any advantage to it.
      Because there is no need not to.
  6. 15 Oct, 2013 3 commits
  7. 14 Oct, 2013 1 commit
  8. 08 Oct, 2013 2 commits
  9. 26 Sep, 2013 3 commits
  10. 25 Sep, 2013 14 commits
  11. 23 Sep, 2013 3 commits