diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index f6b2ae6..b985d53 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -6,6 +6,10 @@ #include <giomm.h> #endif +// TODO: When creating a room, immediately switch to it. +// TODO: When changing nickname or avatar, do not merge next message with previous one even if next message is sent right after the previous one. +// We want to see user changes immediately. + static int setWindowCss(dchat::Window &window, Glib::RefPtr<Gtk::CssProvider> css) { auto ctx = window.get_style_context(); @@ -32,7 +36,7 @@ static int setWindowCss(dchat::Window &window, Glib::RefPtr<Gtk::CssProvider> cs int main (int argc, char *argv[]) { - auto app = Gtk::Application::create(argc, argv, "dec05eba.dchat"); + auto app = Gtk::Application::create(argc, argv, "dec05eba.dchat", Gio::APPLICATION_NON_UNIQUE); auto css = Gtk::CssProvider::create(); dchat::Window window; if(setWindowCss(window, css) != 0) |