This commit is contained in:
2018-02-16 15:43:03 -03:00
parent bfcd2a9471
commit 6df007636e
21 changed files with 45 additions and 39 deletions

View File

@@ -7,13 +7,13 @@ set (GETTEXT_PACKAGE "pamac")
set (RELEASE_NAME "pamac")
set (CMAKE_C_FLAGS "")
set (PREFIX ${CMAKE_INSTALL_PREFIX})
set (VERSION "6.6.3")
set (VERSION "6.6.4")
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.6.3")
set (VERSION "6.6.4")
add_definitions (${DEPS_CFLAGS})
include_directories ( ${CMAKE_BINARY_DIR}/src )
link_libraries ( ${DEPS_LIBRARIES} -lpamacclassic )

View File

@@ -1580,13 +1580,19 @@ namespace Pamac {
if (pkg.name != "") {
selected_pkgs.append (pkgname);
// there is for sure a pkg to remove
remove_item.sensitive = true;
if (filters_stack.visible_child_name == "search"
&& !transaction.to_remove.contains (pkgname)
&& !transaction.to_build.contains (pkgname)
&& !transaction.to_update.contains (pkgname)) {
remove_item.sensitive = true;
}
} else {
selected_aur.append (pkgname);
}
}
foreach (unowned string pkgname in selected_aur) {
if (transaction.to_build.contains (pkgname)) {
if (transaction.to_remove.contains (pkgname)
|| transaction.to_build.contains (pkgname)) {
deselect_item.sensitive = true;
} else {
install_item.sensitive = true;

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')
cfg_pamac_manager.set('RELEASE_NAME', 'pamac')
cfg_pamac_manager.set('PREFIX', get_option('prefix'))
cfg_pamac_manager.set('VERSION', '6.6.3')
cfg_pamac_manager.set('VERSION', '6.6.4')
cfg_pamac_manager.set('TESTSRCDIR', meson.source_root())
cfgfile_6 = configure_file(input: 'Config.vala.base',output: 'Config.vala',configuration: cfg_pamac_manager)