forked from cromer/pamac-classic
try to fix a cursor bug
This commit is contained in:
parent
a44a356188
commit
5b73074498
@ -232,7 +232,7 @@ def refresh_packages_list():
|
|||||||
#elif name in uninstalled:
|
#elif name in uninstalled:
|
||||||
else:
|
else:
|
||||||
packages_list.append([name, False, True, False, uninstalled_icon, common.format_size(transaction.syncpkgs[name].isize), transaction.syncpkgs[name].isize, transaction.syncpkgs[name].version])
|
packages_list.append([name, False, True, False, uninstalled_icon, common.format_size(transaction.syncpkgs[name].isize), transaction.syncpkgs[name].isize, transaction.syncpkgs[name].version])
|
||||||
ManagerWindow.get_root_window().set_cursor(Gdk.Cursor(Gdk.CursorType.ARROW))
|
ManagerWindow.get_root_window().set_cursor(Gdk.Cursor(Gdk.CursorType.LEFT_PTR))
|
||||||
|
|
||||||
def set_packages_list():
|
def set_packages_list():
|
||||||
if current_filter[0] == 'search':
|
if current_filter[0] == 'search':
|
||||||
@ -862,7 +862,7 @@ def check_conflicts():
|
|||||||
for pkg in pkg_list:
|
for pkg in pkg_list:
|
||||||
wont_be_removed.add(pkg.name)
|
wont_be_removed.add(pkg.name)
|
||||||
|
|
||||||
ManagerWindow.get_root_window().set_cursor(Gdk.Cursor(Gdk.CursorType.ARROW))
|
ManagerWindow.get_root_window().set_cursor(Gdk.Cursor(Gdk.CursorType.LEFT_PTR))
|
||||||
print('check done')
|
print('check done')
|
||||||
if warning:
|
if warning:
|
||||||
WarningDialog.format_secondary_text(warning)
|
WarningDialog.format_secondary_text(warning)
|
||||||
@ -891,7 +891,7 @@ def choose_provides(name):
|
|||||||
choose_list.append([True, name])
|
choose_list.append([True, name])
|
||||||
else:
|
else:
|
||||||
choose_list.append([False, name])
|
choose_list.append([False, name])
|
||||||
ManagerWindow.get_root_window().set_cursor(Gdk.Cursor(Gdk.CursorType.ARROW))
|
ManagerWindow.get_root_window().set_cursor(Gdk.Cursor(Gdk.CursorType.LEFT_PTR))
|
||||||
ChooseDialog.run()
|
ChooseDialog.run()
|
||||||
ManagerWindow.get_root_window().set_cursor(Gdk.Cursor(Gdk.CursorType.WATCH))
|
ManagerWindow.get_root_window().set_cursor(Gdk.Cursor(Gdk.CursorType.WATCH))
|
||||||
return [provides[pkgname] for pkgname in transaction.to_provide]
|
return [provides[pkgname] for pkgname in transaction.to_provide]
|
||||||
|
Loading…
Reference in New Issue
Block a user