Verified Commit c41484a8 authored by Jordan Petridis's avatar Jordan Petridis 🌱

Remove gspell

Gspell hasn't been used since we switched to a source view for the
message entry. We should not keep it in the tree if its not used
and nobody is currenty working on wiring it up again.

Close #333
parent c5a90d9a
......@@ -374,7 +374,6 @@ dependencies = [
"gettext-rs 0.4.1 (git+https://github.com/danigm/gettext-rs?branch=no-gettext)",
"gio 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)",
"glib 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
"gspell 0.1.1 (git+https://gitlab.gnome.org/jsparber/gspell-rs)",
"gstreamer 0.11.5 (registry+https://github.com/rust-lang/crates.io-index)",
"gstreamer-player 0.11.3 (registry+https://github.com/rust-lang/crates.io-index)",
"gtk 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -600,43 +599,6 @@ dependencies = [
"pkg-config 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "gspell"
version = "0.1.1"
source = "git+https://gitlab.gnome.org/jsparber/gspell-rs#1501c997e2450378ea7e8291c94fa8189bb360df"
dependencies = [
"bitflags 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
"failure 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
"gdk 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
"gdk-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
"gio 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)",
"gio-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
"glib 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
"glib-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
"gobject-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
"gspell-sys 0.2.0 (git+https://gitlab.gnome.org/jsparber/gspell-sys-rs)",
"gtk 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)",
"gtk-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
"lazy_static 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)",
"notify-rust 3.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "gspell-sys"
version = "0.2.0"
source = "git+https://gitlab.gnome.org/jsparber/gspell-sys-rs#158e8ebbe5aeafc96663e3e76fc9a25715198264"
dependencies = [
"failure 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
"glib 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
"glib-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
"gobject-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
"gtk 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)",
"gtk-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)",
"pkg-config 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "gstreamer"
version = "0.11.5"
......@@ -2311,8 +2273,6 @@ dependencies = [
"checksum glib 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5e0be1b1432e227bcd1a9b28db9dc1474a7e7fd4227e08e16f35304f32d09b61"
"checksum glib-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "615bef979b5838526aee99241afc80cfb2e34a8735d4bcb8ec6072598c18a408"
"checksum gobject-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "70409d6405db8b1591602fcd0cbe8af52cd9976dd39194442b4c149ba343f86d"
"checksum gspell 0.1.1 (git+https://gitlab.gnome.org/jsparber/gspell-rs)" = "<none>"
"checksum gspell-sys 0.2.0 (git+https://gitlab.gnome.org/jsparber/gspell-sys-rs)" = "<none>"
"checksum gstreamer 0.11.5 (registry+https://github.com/rust-lang/crates.io-index)" = "9653954bf871d5ec61a26f933d3a7076a0c2891a4f8b9dc735e6d9233999c722"
"checksum gstreamer-base 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "05ec7a84b4160b61c72ea27ccf3f46eb9c8f996c5991746623e69e3e532e3cb5"
"checksum gstreamer-base-sys 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "501a7add44f256aab6cb5b65ef121c449197cf55087d6a7586846c8d1e42e88b"
......
......@@ -54,16 +54,6 @@
}
]
},
{
"name" : "gspell",
"sources" : [
{
"type" : "git",
"tag" : "1.8.0",
"url" : "https://gitlab.gnome.org/GNOME/gspell.git"
}
]
},
{
"name" : "gtksourceview",
"config-opts" : [
......
......@@ -45,9 +45,6 @@ version = "0.4.4"
[dependencies.fractal-matrix-api]
path = "../fractal-matrix-api"
[dependencies.gspell]
git = "https://gitlab.gnome.org/jsparber/gspell-rs"
[dependencies.gtk]
features = ["v3_22"]
version = "0.4.1"
......@@ -18,7 +18,6 @@ mod new_room;
mod roomlist_search;
mod scroll;
mod send;
mod spellcheck;
mod stickers;
use app::App;
......@@ -72,7 +71,6 @@ impl App {
self.connect_markdown();
//self.connect_stickers();
self.connect_autocomplete();
self.connect_spellcheck();
self.connect_directory();
self.connect_leave_room_dialog();
......
extern crate gtk;
extern crate sourceview;
use gspell;
// use gspell::TextViewExt;
use self::gtk::prelude::*;
use app::App;
impl App {
pub fn connect_spellcheck(&self) {
let msg_entry: sourceview::View = self.ui.builder
.get_object("msg_entry")
.expect("Couldn't find msg_entry in ui file.");
let _msg_entry: gtk::TextView = msg_entry.clone().upcast();
/* Add gspell to the send TextView and enable the basic configuration */
// if let Some(gspell_text_view) = gspell:TextView::get_from_gtk_text_view(&msg_entry) {
// gspell::TextView::basic_set_up(&gspell_entry);
// }
}
}
......@@ -24,8 +24,6 @@ extern crate fractal_matrix_api as fractal_api;
extern crate html2pango;
extern crate gspell;
extern crate gettextrs;
extern crate chrono;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment