1. 05 Jun, 2020 1 commit
  2. 14 Jul, 2014 3 commits
    • Matthew Brush's avatar
      Make mousepad-private.h the single required include · d87aa702
      Matthew Brush authored
      To be placed at the top of every source file, providing config.h from
      the build system, some common standard library headers, the core GLib
      and GObject headers, i18n header, and various utility macros used
      in many places in the code.
      Also in a few places, remove #ifdef HAVE_FOO_H guards around standard
      library includes since we can pretty much assume they're there, that
      Autotools had provided them, or that the code will fail to compile
      anyway if they're not present (we don't use them to guard out the
      bits of code that use the symbols from those headers).
    • Matthew Brush's avatar
      Use correct GConnectFlags enum instead of GSignalFlags · a0117df7
      Matthew Brush authored
      It caused a warning like:
          implicit conversion from enumeration type 'GConnectFlags' to
          different enumeration type 'GSignalFlags'.
    • Matthew Brush's avatar
      Cleanup and normalize new files from latest commits · 0d7dcc44
      Matthew Brush authored
      * Add license header comment to each new file
      * Ensure needed files are listed in `POTFILES.in`
      * Normalize the header guards to existing `__MOUSEPAD_FOO_H__` style
      * Fix a couple compiler warnings
      * Include `config.h` in each source file
  3. 13 Jul, 2014 2 commits
    • Matthew Brush's avatar
      Add mousepad_setting_connect_object() · f715e3d5
      Matthew Brush authored
      So we don't have to manually disconnect all of the GSettings signals
      since we always pass a GObject as user_data anyway.
    • Matthew Brush's avatar
      Add menubar-visible and -in-fullscreen variants · 666650c9
      Matthew Brush authored
      To the menubar-visible, toolbar-visible and statusbar-visible prefs.
      Not added to the prefs dialog, but it's useful if you're picky about
      how fullscreen mode looks, you can still tweak the setting via
      gsettings, dconf-editor, etc.
  4. 12 Jul, 2014 1 commit
    • Matthew Brush's avatar
      Implement more saving/restoring window state · ea2b28e0
      Matthew Brush authored
      Before it only saved the size and whether the window was fullscreen.
      Add default-off option to enable saving and restoring the window
      position and window state (maximized, fullscreen).
  5. 11 Jul, 2014 2 commits
  6. 10 Jul, 2014 3 commits
    • Matthew Brush's avatar
      Add fullscreen support · a3a95173
      Matthew Brush authored
      Also remove "close window" button from the toolbar.
    • Matthew Brush's avatar
      Add use-default-monospace-font setting · 4b7ffa3b
      Matthew Brush authored
      And hookup the related widget(s) in the preferences dialog. This new
      setting allows to use the default font without overwriting the previous
      font-name that was set.
    • Matthew Brush's avatar
      Add a basic toolbar · 2b515597
      Matthew Brush authored
      And a preference to control whether it's visible, default to off.
      * See if the layout is optimal
      * Show tooltip in statusbar on mouse hover like main menu items
      * Allow customization? (using GtkUiManager)
  7. 09 Jul, 2014 2 commits
  8. 07 Jul, 2014 2 commits
    • Matthew Brush's avatar
      Add helper function mousepad_settings_connect_changed() · c9b55632
      Matthew Brush authored
      For connecting to GSettings change notifications in one of the
      various schemas. Also fix a missed "search-replace-all" string
      literal that didn't get updated in previous commit.
    • Matthew Brush's avatar
      Re-write MousepadSettings to use multiple child schemas · d80b40b9
      Matthew Brush authored
      For view settings, window settings, search state, and window state.
      MousepadSettings no longer is a GSettings subclass but rather contains
      a GSettings instance for each of the new child schemas.
      Also add constants MOUSEPAD_SETTING_* and MOUSEPAD_STATE_* to use
      in code in order to reduce changes of a typo slipping by unnoticed.
  9. 06 Jul, 2014 2 commits