Fix in db manager, questiondialog, sidebarfilter
svn: r19947
This commit is contained in:
parent
54ed4276a4
commit
aba47d38cb
@ -377,7 +377,7 @@ class DbManager(CLIDbManager):
|
|||||||
"the database and you break the lock, you may corrupt the "
|
"the database and you break the lock, you may corrupt the "
|
||||||
"database."),
|
"database."),
|
||||||
_("Break lock"),
|
_("Break lock"),
|
||||||
self.__really_break_lock)
|
self.__really_break_lock, self.top)
|
||||||
|
|
||||||
def __really_break_lock(self):
|
def __really_break_lock(self):
|
||||||
"""
|
"""
|
||||||
@ -613,8 +613,7 @@ class DbManager(CLIDbManager):
|
|||||||
store, node = self.selection.get_selected()
|
store, node = self.selection.get_selected()
|
||||||
path = self.model.get_path(node)
|
path = self.model.get_path(node)
|
||||||
self.name_renderer.set_property('editable', True)
|
self.name_renderer.set_property('editable', True)
|
||||||
self.dblist.set_cursor(path, focus_column=self.column,
|
self.dblist.set_cursor(path, self.column, True)
|
||||||
start_editing=True)
|
|
||||||
|
|
||||||
def __repair_db(self, obj):
|
def __repair_db(self, obj):
|
||||||
"""
|
"""
|
||||||
@ -727,8 +726,7 @@ class DbManager(CLIDbManager):
|
|||||||
self.selection.select_iter(node)
|
self.selection.select_iter(node)
|
||||||
path = self.model.get_path(node)
|
path = self.model.get_path(node)
|
||||||
self.name_renderer.set_property('editable', True)
|
self.name_renderer.set_property('editable', True)
|
||||||
self.dblist.set_cursor(path, focus_column=self.column,
|
self.dblist.set_cursor(path, self.column, True)
|
||||||
start_editing=True)
|
|
||||||
return new_path, title
|
return new_path, title
|
||||||
|
|
||||||
def __drag_data_received(self, widget, context, xpos, ypos, selection,
|
def __drag_data_received(self, widget, context, xpos, ypos, selection,
|
||||||
|
@ -80,7 +80,7 @@ class SidebarFilter(DbGUIElement):
|
|||||||
label = Gtk.Label(label=_('Reset'))
|
label = Gtk.Label(label=_('Reset'))
|
||||||
label.show()
|
label.show()
|
||||||
hbox.pack_start(image, False, False, 0)
|
hbox.pack_start(image, False, False, 0)
|
||||||
hbox.pack_start(label, False, True)
|
hbox.pack_start(label, False, True, 0)
|
||||||
hbox.set_spacing(4)
|
hbox.set_spacing(4)
|
||||||
|
|
||||||
self.clear_btn.add(hbox)
|
self.clear_btn.add(hbox)
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user