make sure commit isn't sensitive if there's nothing
This commit is contained in:
parent
72ee2bd2b5
commit
7adbcaa2d9
17
Makefile
17
Makefile
@ -17,5 +17,20 @@ install:
|
||||
cp -vf data/*.gschema.xml $(DESTDIR)/usr/share/glib-2.0/schemas/
|
||||
#cp -vf data/com.github.pikaos-linux.pikagnomelayouts.desktop $(DESTDIR)/usr/share/applications/
|
||||
#cp -vfr data/polkit-1 $(DESTDIR)/usr/share/
|
||||
chmod 755 $(DESTDIR)/usr/bin/pika-pikman-update-manager
|
||||
chmod 755 $(DESTDIR)/usr/bin/pika/pikman-update-manager
|
||||
chmod 755 $(DESTDIR)/usr/lib/pika/pikman-update-manager/scripts/*
|
||||
|
||||
install_no_build_debug:
|
||||
mkdir -p $(DESTDIR)/usr/bin/
|
||||
mkdir -p $(DESTDIR)/usr/lib/pika/pikman-update-manager/scripts/
|
||||
mkdir -p $(DESTDIR)/usr/share/glib-2.0/schemas/
|
||||
mkdir -p $(DESTDIR)/usr/share/applications
|
||||
mkdir -p $(DESTDIR)/usr/share/icons/hicolor/scalable/apps
|
||||
cp -vf target/debug/pikman-update-manager $(DESTDIR)/usr/bin/
|
||||
cp -vf target/debug/apt_update $(DESTDIR)/usr/lib/pika/pikman-update-manager/scripts/
|
||||
cp -vf target/debug/apt_full_upgrade $(DESTDIR)/usr/lib/pika/pikman-update-manager/scripts/
|
||||
cp -vf data/*.gschema.xml $(DESTDIR)/usr/share/glib-2.0/schemas/
|
||||
#cp -vf data/com.github.pikaos-linux.pikagnomelayouts.desktop $(DESTDIR)/usr/share/applications/
|
||||
#cp -vfr data/polkit-1 $(DESTDIR)/usr/share/
|
||||
chmod 755 $(DESTDIR)/usr/bin/pikman-update-manager
|
||||
chmod 755 $(DESTDIR)/usr/lib/pika/pikman-update-manager/scripts/*
|
@ -209,6 +209,7 @@ pub fn apt_update_page(
|
||||
.halign(Align::End)
|
||||
.valign(Align::Center)
|
||||
.hexpand(false)
|
||||
.sensitive(false)
|
||||
.margin_start(10)
|
||||
.margin_end(30)
|
||||
.margin_bottom(15)
|
||||
@ -355,6 +356,7 @@ pub fn apt_update_page(
|
||||
async move {
|
||||
while let Ok(state) = get_upgradable_receiver.recv().await {
|
||||
viewport_bin.set_child(Some(&packages_viewport));
|
||||
update_button.set_sensitive(true);
|
||||
let apt_row = AptPackageRow::new(state.clone());
|
||||
apt_row.connect_closure(
|
||||
"checkbutton-toggled",
|
||||
|
@ -275,6 +275,7 @@ pub fn flatpak_update_page(
|
||||
let update_button = Button::builder()
|
||||
.halign(Align::End)
|
||||
.valign(Align::Center)
|
||||
.sensitive(false)
|
||||
.hexpand(false)
|
||||
.margin_start(10)
|
||||
.margin_end(30)
|
||||
@ -376,6 +377,7 @@ pub fn flatpak_update_page(
|
||||
let mut user_last_triggered = false;
|
||||
//
|
||||
if !flatpak_system_updates.is_empty() || !flatpak_user_updates.is_empty() {
|
||||
update_button.set_sensitive(true);
|
||||
viewport_bin.set_child(Some(&packages_viewport));
|
||||
}
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user