Commit graph

19 commits

Author SHA1 Message Date
Yann Leboulanger
d338572271 Update strings for better english. Thanks to Allan Nordhøy for the suggestions 2017-02-04 23:29:45 +01:00
Tomasz Miąsko
9ea208e36a Use separate application id for each profile.
Application id is customized in do_handle_local_options just before it
is registered and can't be changed any further.

This makes it possible to run multiple instances of Gajim, at most one
for each profile.
2017-01-18 20:38:28 +01:00
Philipp Hörist
aa50acd191 Port ExceptionHook to GTK3 2017-01-07 21:07:53 +01:00
Philipp Hörist
a6bda765eb Merge/Comment not working win32 translation code 2017-01-03 23:10:58 +01:00
Philipp Hörist
9b0be66b50 Dont import MusicTrackListener in startup 2017-01-03 23:10:57 +01:00
Philipp Hörist
503c295eb3 Handle GTK shutdown event
do_shutdown() is called by GTK on quit()
2017-01-03 23:10:50 +01:00
Philipp Hörist
39ec724e45 Cleanup Paths/DB creation and init 2017-01-03 23:08:52 +01:00
Philipp Hörist
32604e99bf Handle missing winsound module not in startup 2017-01-03 23:08:52 +01:00
Philipp Hörist
33041619ee Dont depend on win32api for getting HOME dir 2017-01-03 23:08:51 +01:00
Philipp Hörist
f1693fa5a6 Remove unused code 2017-01-03 23:08:51 +01:00
Philipp Hörist
d5bb5d4034 Remove old GTK2 code 2017-01-03 23:08:51 +01:00
Philipp Hörist
1c8f08a3c8 Remove PID code, GApp should be single instance 2017-01-03 23:08:50 +01:00
Philipp Hörist
0443d5a69a Ignore warnings on windows when not in dev mode 2017-01-03 23:08:50 +01:00
Philipp Hörist
079b5346fe Set application name in init
Remove unnecessary error catching
- on missing gi libs we fail earlier
- 'could not open display' is good enough
2017-01-03 23:08:49 +01:00
Philipp Hörist
2676d7ea94 Add commandline option for logging on windows
Redirect all output to one log file or if -w is
provided do not redirect output
2017-01-03 23:08:49 +01:00
Philipp Hörist
815ecdcf47 Handle start of second instance
We bring the Roster Window to the front
Gtk exits on return immediately
2017-01-03 23:08:48 +01:00
Philipp Hörist
e7812cbd85 Move startup code into Gtk.Application() 2017-01-03 23:08:48 +01:00
Emmanuel Gil Peyrot
9d2223ea3b Add a -V/--version option, printing the version 2017-01-03 23:08:48 +01:00
Emmanuel Gil Peyrot
2298af9dd9 Handle CommandLine inputs with GtkApplication 2017-01-03 23:08:47 +01:00