File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 99 <child >
1010 <object class =" GtkShortcutsGroup" >
1111 <property name =" title" translatable =" yes" context =" shortcut window" >General</property >
12+ <child >
13+ <object class =" GtkShortcutsShortcut" >
14+ <property name =" title" translatable =" yes" context =" shortcut window" >Get Your IP</property >
15+ <property name =" action-name" >app.get-your-ip</property >
16+ </object >
17+ </child >
1218 <child >
1319 <object class =" GtkShortcutsShortcut" >
1420 <property name =" title" translatable =" yes" context =" shortcut window" >Show Shortcuts</property >
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ def __init__(self):
3636 flags = Gio .ApplicationFlags .FLAGS_NONE )
3737 self .create_action ('quit' , self .on_quit_action , ['<primary>q' ])
3838 self .create_action ('about' , self .on_about_action )
39- self .create_action ('get-your-ip' , self .on_get_your_ip_action )
39+ self .create_action ('get-your-ip' , self .on_get_your_ip_action , [ '<primary>g' ] )
4040
4141 def do_activate (self ):
4242 """Called when the application is activated.
You can’t perform that action at this time.
0 commit comments