fix cursor display at start
This commit is contained in:
parent
cb5d07156a
commit
e1569c9c80
@ -159,7 +159,9 @@ namespace Pamac {
|
|||||||
|
|
||||||
bool populate_window () {
|
bool populate_window () {
|
||||||
this.get_window ().set_cursor (new Gdk.Cursor.for_display (Gdk.Display.get_default (), Gdk.CursorType.WATCH));
|
this.get_window ().set_cursor (new Gdk.Cursor.for_display (Gdk.Display.get_default (), Gdk.CursorType.WATCH));
|
||||||
|
while (Gtk.events_pending ()) {
|
||||||
|
Gtk.main_iteration ();
|
||||||
|
}
|
||||||
right_click_menu = new Gtk.Menu ();
|
right_click_menu = new Gtk.Menu ();
|
||||||
deselect_item = new Gtk.MenuItem.with_label (dgettext (null, "Deselect"));
|
deselect_item = new Gtk.MenuItem.with_label (dgettext (null, "Deselect"));
|
||||||
deselect_item.activate.connect (on_deselect_item_activate);
|
deselect_item.activate.connect (on_deselect_item_activate);
|
||||||
|
@ -81,7 +81,9 @@ namespace Pamac {
|
|||||||
|
|
||||||
bool populate_window () {
|
bool populate_window () {
|
||||||
this.get_window ().set_cursor (new Gdk.Cursor.for_display (Gdk.Display.get_default (), Gdk.CursorType.WATCH));
|
this.get_window ().set_cursor (new Gdk.Cursor.for_display (Gdk.Display.get_default (), Gdk.CursorType.WATCH));
|
||||||
|
while (Gtk.events_pending ()) {
|
||||||
|
Gtk.main_iteration ();
|
||||||
|
}
|
||||||
repos_updates_list = new Gtk.ListStore (7, typeof (bool), typeof (string), typeof (string), typeof (string),typeof (string), typeof (string), typeof (uint64));
|
repos_updates_list = new Gtk.ListStore (7, typeof (bool), typeof (string), typeof (string), typeof (string),typeof (string), typeof (string), typeof (uint64));
|
||||||
repos_updates_treeview.set_model (repos_updates_list);
|
repos_updates_treeview.set_model (repos_updates_list);
|
||||||
aur_updates_list = new Gtk.ListStore (4, typeof (bool), typeof (string), typeof (string), typeof (string));
|
aur_updates_list = new Gtk.ListStore (4, typeof (bool), typeof (string), typeof (string), typeof (string));
|
||||||
|
Loading…
Reference in New Issue
Block a user