Skip to content

Commit

Permalink
menu item for settings
Browse files Browse the repository at this point in the history
closes mjun#15
  • Loading branch information
kuthulux committed Apr 28, 2020
1 parent 8cdb0ff commit c6641c3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
15 changes: 15 additions & 0 deletions gnome-connection-manager.glade
Original file line number Diff line number Diff line change
Expand Up @@ -2344,6 +2344,21 @@ if not, write to the Free Software Foundation, Inc.,
</child>
</object>
</child>
<child>
<object class="GtkSeparatorMenuItem" id="separator3">
<property name="visible">True</property>
<property name="can_focus">False</property>
</object>
</child>
<child>
<object class="GtkImageMenuItem" id="menuSettings">
<property name="label" translatable="yes">Configuración</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="use_stock">False</property>
<signal name="activate" handler="on_menuSettings_activate" swapped="no"/>
</object>
</child>
</object>
</child>
</object>
Expand Down
3 changes: 3 additions & 0 deletions gnome_connection_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -1131,6 +1131,9 @@ def on_menuCopyAll_activate(self, widget):
if terminal:
self.terminal_copy_all(terminal)

def on_menuSettings_activate(self, widget):
wConfig = Wconfig()

def on_contents_changed(self, terminal):
col,row = terminal.get_cursor_position()
if terminal.last_logged_row != row:
Expand Down

0 comments on commit c6641c3

Please sign in to comment.