Update docstrings - spelling
This commit is contained in:
parent
fda3aff955
commit
8fd1fab200
@ -367,7 +367,7 @@ class ConfigManager(object):
|
||||
def get(self, key):
|
||||
"""
|
||||
Get the setting's value. raise an error if an invalid section.setting.
|
||||
Key is a sting in the "section.setting" format.
|
||||
Key is a string in the "section.setting" format.
|
||||
"""
|
||||
if "." in key:
|
||||
section, setting = key.split(".", 1)
|
||||
@ -384,7 +384,7 @@ class ConfigManager(object):
|
||||
def is_set(self, key):
|
||||
"""
|
||||
Does the setting exist? Returns True if does, False otherwise.
|
||||
Key is a sting in the "section.setting" format.
|
||||
Key is a string in the "section.setting" format.
|
||||
"""
|
||||
if "." in key:
|
||||
section, setting = key.split(".", 1)
|
||||
@ -399,7 +399,7 @@ class ConfigManager(object):
|
||||
def has_default(self, key):
|
||||
"""
|
||||
Does the setting have a default value? Returns True if it does,
|
||||
False otherwise. Key is a sting in the "section.setting" format.
|
||||
False otherwise. Key is a string in the "section.setting" format.
|
||||
"""
|
||||
if "." in key:
|
||||
section, setting = key.split(".", 1)
|
||||
@ -414,7 +414,7 @@ class ConfigManager(object):
|
||||
def get_default(self, key):
|
||||
"""
|
||||
Get the setting's default value. Raises an error if invalid key is
|
||||
give. Key is a sting in the "section.setting" format.
|
||||
give. Key is a string in the "section.setting" format.
|
||||
"""
|
||||
if "." in key:
|
||||
section, setting = key.split(".", 1)
|
||||
|
@ -1009,7 +1009,7 @@ class ClipboardListView(object):
|
||||
tglist.add(tg.atom_drag_type, tg.target_flags, tg.app_id)
|
||||
self._widget.enable_model_drag_dest([],
|
||||
Gdk.DragAction.COPY)
|
||||
#TODO GTK3: wourkaround here for bug https://bugzilla.gnome.org/show_bug.cgi?id=680638
|
||||
#TODO GTK3: workaround here for bug https://bugzilla.gnome.org/show_bug.cgi?id=680638
|
||||
self._widget.drag_dest_set_target_list(tglist)
|
||||
#self._widget.drag_dest_set(Gtk.DestDefaults.ALL, targ_data,
|
||||
# Gdk.DragAction.COPY)
|
||||
@ -1188,7 +1188,7 @@ class ClipboardListView(object):
|
||||
o = model.get_value(node,1)
|
||||
targets += [target.target_data_atom() for target in o.__class__.DROP_TARGETS]
|
||||
|
||||
#TODO GTK3: wourkaround here for bug https://bugzilla.gnome.org/show_bug.cgi?id=680638
|
||||
#TODO GTK3: workaround here for bug https://bugzilla.gnome.org/show_bug.cgi?id=680638
|
||||
self._widget.enable_model_drag_source(Gdk.ModifierType.BUTTON1_MASK,
|
||||
[],
|
||||
Gdk.DragAction.COPY | Gdk.DragAction.MOVE)
|
||||
|
Loading…
Reference in New Issue
Block a user