diff --git a/cmake/FindHandy.cmake b/cmake/FindHandy.cmake new file mode 100644 index 00000000..73206a2c --- /dev/null +++ b/cmake/FindHandy.cmake @@ -0,0 +1,11 @@ +include(PkgConfigWithFallback) +find_pkg_config_with_fallback(Handy + PKG_CONFIG_NAME libhandy-0.0 + LIB_NAMES libhandy-0.0 + INCLUDE_NAMES handy.h + ) + +include(FindPackageHandleStandardArgs) +find_package_handle_standard_args(Handy + REQUIRED_VARS Handy_LIBRARY + VERSION_VAR Handy_VERSION) diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt index 4891abb0..a44434a2 100644 --- a/main/CMakeLists.txt +++ b/main/CMakeLists.txt @@ -13,6 +13,7 @@ find_packages(MAIN_PACKAGES REQUIRED GTK3 ICU Gspell + Handy ) set(RESOURCE_LIST @@ -211,7 +212,7 @@ OPTIONS ${MAIN_EXTRA_OPTIONS} ) -add_definitions(${VALA_CFLAGS} -DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\" -DLOCALE_INSTALL_DIR=\"${LOCALE_INSTALL_DIR}\" -DDINO_VERSION=\"${PROJECT_VERSION}\") +add_definitions(${VALA_CFLAGS} -DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\" -DLOCALE_INSTALL_DIR=\"${LOCALE_INSTALL_DIR}\" -DDINO_VERSION=\"${PROJECT_VERSION}\" -DHANDY_USE_UNSTABLE_API=yes) add_executable(dino ${MAIN_VALA_C} ${MAIN_GRESOURCES_TARGET} src/emojichooser.c) add_dependencies(dino ${GETTEXT_PACKAGE}-translations) target_include_directories(dino PRIVATE src) diff --git a/main/data/unified_main_content.ui b/main/data/unified_main_content.ui index 03c206c1..d96a7b18 100644 --- a/main/data/unified_main_content.ui +++ b/main/data/unified_main_content.ui @@ -1,12 +1,15 @@ - - 300 + horizontal True + False + slide + slide True + False True @@ -29,6 +32,7 @@ start start True + 260 True @@ -44,7 +48,9 @@ 70 50 True + 0 end + 0 Click here to start a conversation or join a channel.