Skip to content

Commit 93cadaa

Browse files
authored
Fix pagination and Posix (#247)
* Remove the libfixposix library, package the built-in posix lib in vala_args. Fixes #242 * Make pagination buttons insensitive while fetching data. Fixes #246
1 parent 4bee2ad commit 93cadaa

File tree

5 files changed

+4
-3426
lines changed

5 files changed

+4
-3426
lines changed

debian/control

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ Build-Depends: meson,
1919
libgda-5.0-mysql,
2020
libgda-5.0-postgres,
2121
libsecret-1-dev,
22-
libfixposix-dev,
2322
libssh2-1-dev
2423
Standards-Version: 4.1.1
2524

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ project('com.github.alecaddd.sequeler', 'vala', 'c',
55
cc = meson.get_compiler('c')
66
m_dep = cc.find_library('m', required: true)
77

8-
vala_args = []
8+
vala_args = ['--pkg', 'posix']
99

1010
add_project_arguments(
1111
['--vapidir', join_paths(meson.current_source_dir(), 'vapi')],

src/Layouts/Views/Content.vala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,11 +264,13 @@ public class Sequeler.Layouts.Views.Content : Gtk.Grid {
264264
}
265265

266266
public void go_prev_page () {
267+
page_prev_btn.sensitive = false;
267268
current_page--;
268269
get_content_and_fill.begin ();
269270
}
270271

271272
public void go_next_page () {
273+
page_next_btn.sensitive = false;
272274
current_page++;
273275
get_content_and_fill.begin ();
274276
}

src/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,6 @@ executable(
6363
m_dep,
6464
linux_dep
6565
],
66-
vala_args: vala_args + ['--pkg', 'libfixposix'],
66+
vala_args: vala_args,
6767
install: true
6868
)

0 commit comments

Comments
 (0)