Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work :( #11

Open
c-mart opened this issue Aug 6, 2016 · 2 comments
Open

Doesn't work :( #11

c-mart opened this issue Aug 6, 2016 · 2 comments

Comments

@c-mart
Copy link

c-mart commented Aug 6, 2016

Environment:

  • Debian 8 (Jessie)
  • python3 runtime is 3.4.2, python runtime is 2.7.9
  • python3-gi 3.14.0-1 installed
  • gedit 3.14.0 (latest available from Debian stable repo)

Steps to reproduce:

  • Clone this repo
  • Copy the sessionsaver directory (along with its contents) and sessionsaver.plugin file to ~/.local/share/gedit/plugins/
  • Launch gedit, open preferences, see "Session Saver" in the Plugins tab, check box to enable it
  • Open some files in the editor, then quit gedit (ctrl-Q or Quit from the GNOME menu bar)
  • Launch gedit again, see no open files, be sad

I tried the Python 2.x branch and that version wouldn't even let me enable in gedit, shows a red minus sign instead of a checkbox.

I really like almost everything else about gedit, but this is pushing me to another editor (Atom, probably).

@Poikilos
Copy link

Running from console shows:

File "/home/owner/.local/share/gedit/plugins/sessionsaver/__init__.py", line 71, in do_update_state
    self._action_group.get_action("FileSessionSave").set_sensitive(self.window.get_active_document() != None)
AttributeError: 'SessionSaverPlugin' object has no attribute '_action_group'

This plugin apparently isn't maintained anymore. See #4
Pull requests aren't being merged either: #8
Also, API has changed drastically--see similar issue at guillaumechereau/gedit-reflow-plugin@f3f8273

@tbarbette
Copy link

Still the same problem. @bndn please put a warning on the main README to avoid losing people's time :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants