fix window glitch for updater

This commit is contained in:
2017-11-08 16:25:49 -03:00
parent 795c0df940
commit e8a11f6960
19 changed files with 40 additions and 37 deletions

View File

@@ -7,13 +7,13 @@ set (GETTEXT_PACKAGE "pamac-classic")
set (RELEASE_NAME "pamac-classic")
set (CMAKE_C_FLAGS "")
set (PREFIX ${CMAKE_INSTALL_PREFIX})
set (VERSION "6.5.1")
set (VERSION "6.5.2")
set (TESTSRCDIR "${CMAKE_SOURCE_DIR}")
set (DOLLAR "$")
configure_file (${CMAKE_SOURCE_DIR}/src/pamac-manager/Config.vala.base ${CMAKE_BINARY_DIR}/src/pamac-manager/Config.vala)
add_definitions(-DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\")
set (VERSION "6.5.1")
set (VERSION "6.5.2")
add_definitions (${DEPS_CFLAGS})
include_directories ( ${CMAKE_BINARY_DIR}/src )
link_libraries ( ${DEPS_LIBRARIES} -lpamacclassic )

View File

@@ -82,6 +82,8 @@ namespace Pamac {
this.add_action (action);
accels = {"<Ctrl>F"};
this.set_accels_for_action ("app.search", accels);
manager_window.present ();
}
}

View File

@@ -184,14 +184,14 @@ namespace Pamac {
var action = new SimpleAction ("refreshdb", null);
action.activate.connect (on_refresh_button_clicked);
this.add_action (action);
action = new SimpleAction ("viewhistory", null);
action.activate.connect (on_history_button_clicked);
this.add_action (action);
action = new SimpleAction ("installlocal", null);
action.activate.connect (on_local_button_clicked);
this.add_action (action);
this.add_action (action);
action = new SimpleAction ("preferences", null);
action.activate.connect (on_preferences_button_clicked);
@@ -511,6 +511,7 @@ namespace Pamac {
}
public void show_default_pkgs () {
this.get_window ().set_cursor (new Gdk.Cursor.for_display (Gdk.Display.get_default (), Gdk.CursorType.WATCH));
transaction.get_installed_pkgs.begin ((obj, res) => {
populate_packages_list (transaction.get_installed_pkgs.end (res));
});

View File

@@ -4,7 +4,7 @@ cfg_pamac_manager.set('PKGDATADIR', join_paths(get_option('prefix'),get_option('
cfg_pamac_manager.set('GETTEXT_PACKAGE', 'pamac-classic')
cfg_pamac_manager.set('RELEASE_NAME', 'pamac-classic')
cfg_pamac_manager.set('PREFIX', get_option('prefix'))
cfg_pamac_manager.set('VERSION', '6.5.1')
cfg_pamac_manager.set('VERSION', '6.5.2')
cfg_pamac_manager.set('TESTSRCDIR', meson.source_root())
cfgfile_6 = configure_file(input: 'Config.vala.base',output: 'Config.vala',configuration: cfg_pamac_manager)