@@ -341,7 +341,7 @@ class SourceCodeBrowserPlugin(GObject.Object, Pluma.WindowActivatable, PeasGtk.C
341341 """
342342 Source Browser Plugin for Pluma
343343
344- Adds a tree view to the side panel of a Pluma window which provides a list
344+ Adds a tree view to the right panel of a Pluma window which provides a list
345345 of programming symbols (functions, classes, variables, etc.).
346346 """
347347 __gtype_name__ = "SourceCodeBrowserPlugin"
@@ -370,7 +370,7 @@ def do_activate(self):
370370 self ._sourcetree .sort_list = self .sort_list
371371 icon_dir = os .path .join (datadir , 'icons' )
372372 icon = Gtk .Image .new_from_file (os .path .join (icon_dir , "source-code-browser.png" ))
373- panel = self .window .get_side_panel ()
373+ panel = self .window .get_right_panel ()
374374 panel .add_item (self ._sourcetree , _ ("Source Code Browser" ), icon )
375375 self ._handlers = []
376376 hid = self ._sourcetree .connect ("draw" , self .on_sourcetree_draw )
@@ -393,7 +393,7 @@ def do_deactivate(self):
393393 for obj , hid in self ._handlers :
394394 obj .disconnect (hid )
395395 self ._handlers = None
396- panel = self .window .get_side_panel ()
396+ panel = self .window .get_right_panel ()
397397 panel .remove_item (self ._sourcetree )
398398 self ._sourcetree = None
399399
@@ -432,8 +432,8 @@ def _load_active_document_symbols(self):
432432 """ Load the symbols for the given URI. """
433433 self ._sourcetree .clear ()
434434 self ._is_loaded = False
435- # only load the sourcecodebrowser if it is the active tab in the side panel
436- panel = self .window .get_side_panel ()
435+ # only load the sourcecodebrowser if it is the active tab in the right panel
436+ panel = self .window .get_right_panel ()
437437 if not panel .item_is_active (self ._sourcetree ):
438438 return
439439
0 commit comments