1. 28 Apr, 2016 1 commit
  2. 20 Apr, 2015 1 commit
  3. 05 Jan, 2015 1 commit
    • Sébastien Lafargue's avatar
      selector: add sources and behaviours. · aa7c9af6
      Sébastien Lafargue authored
      Like in Gedit's quickopen plugin, in addition to recent files,
      some sources for searching files are added :
      
        - home's directory
        - desktop's directory
        - local bookmark directories
        - Gedit file browser directory
        - Gedit's active document directory
        - currently opened documents in the corresponding Gedit's window
      
      The file list shown is always sorted by
      he most recently used files at top.
      
      By default, ie with no text in the search entry,
      the recent files list is shown, limited in size by the Gedit's gsetting:
        path: org.gnome.gedit.preferences.ui and key: max-recents
      
      With text in the search entry, the filtering is done with no limit
      amongst all the sources ( ie the recent files's source is not limited )
      
      Searches are only done in local/native directories, except
      with the recent file list if you have opened distant files.
      
      The treeview is also limited in height by the same max-recents settings:
      the treeview show max-recents entries but no more than ten, the scrollbar
      taking the relay.
      
      You can directly hit enter to validate a file name / uri
      in the search entry. The recognized cases are:
      
        - an uri
        - a local file name:
          the prefix ~/ is replaced by your home's dir if present.
      
      All file's queries for lists's computation are done asynchronously.
      
      You can print debug and timing by setting #if 1 in place of #if 0
      in gedit-open-document-selector-helper.h, then rebuild.
      
      You can get more informations at the top of this file:
      gedit-open-document-selector-store.c
      
      https://bugzilla.gnome.org/show_bug.cgi?id=742280
      aa7c9af6
  4. 20 Jul, 2014 1 commit
  5. 19 Jul, 2014 1 commit
    • Sébastien Lafargue's avatar
      open-document selector: replace headerbar file controls · d4e498b9
      Sébastien Lafargue authored
      The open/recent menu controls in headerbar let his place to a 'Open' button
      with a popover dialog containing a search entry accepting wildcards,
      a recent file list and a 'Other Documents' button for loading other files..
      
      GeditOpenDocumentSelector's widget use the recentchooser interface
      but without icons and tooltips.
      
      As before, you can change the max-recents setting.
      ( gsettings set org.gnome.gedit.preferences.ui max-recents 'value' )
      d4e498b9