From 5b7307449855c155326edc1c7a982c2541f9cdd1 Mon Sep 17 00:00:00 2001 From: guinux Date: Mon, 6 May 2013 15:48:40 +0200 Subject: [PATCH] try to fix a cursor bug --- pamac/main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pamac/main.py b/pamac/main.py index 6fef778..7d56e7d 100644 --- a/pamac/main.py +++ b/pamac/main.py @@ -232,7 +232,7 @@ def refresh_packages_list(): #elif name in uninstalled: 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]) - 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(): if current_filter[0] == 'search': @@ -862,7 +862,7 @@ def check_conflicts(): for pkg in pkg_list: 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') if warning: WarningDialog.format_secondary_text(warning) @@ -891,7 +891,7 @@ def choose_provides(name): choose_list.append([True, name]) else: 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() ManagerWindow.get_root_window().set_cursor(Gdk.Cursor(Gdk.CursorType.WATCH)) return [provides[pkgname] for pkgname in transaction.to_provide]