Commit graph

11160 commits

Author SHA1 Message Date
Tomasz Miąsko
b678165d7d Use the same code path for shift-enter as for ctrl-enter. 2017-01-25 18:04:12 +01:00
Tomasz Miąsko
0b7d6cc175 Fix moving between lines with up and down arrows. 2017-01-25 17:05:49 +01:00
Tomasz Miąsko
2e133d2572 Fix tab switching with ctrl+page up and ctrl+page down. 2017-01-25 17:05:49 +01:00
Tomasz Miąsko
ffeeb8f9f5 Simplify send or insert newline logic. 2017-01-25 17:05:49 +01:00
Tomasz Miąsko
18a3258cb5 Fix inserting a newline on shift-enter.
Return false from key-press-event to propagate event to a default
handler that will insert a newline into the entry widget.
2017-01-25 17:05:49 +01:00
Philipp Hörist
7a42970121 Merge branch 'shortcuts-window' into 'master'
Use GtkShortcutsWindow to display keyboard shortcuts.

See merge request !44
2017-01-24 18:01:23 +01:00
Tomasz Miąsko
058562b92e Backward compatible keyboard shortcuts information.
Use GtkShortcutsWindow if supported, otherwise just point the user to
the wiki page with keyboard shortcuts.
2017-01-24 17:22:08 +01:00
Tomasz Miąsko
6f6a8d3f39 Use GtkShortcutsWindow to display keyboard shortcuts. 2017-01-24 17:22:05 +01:00
Philipp Hörist
d2cfa9bbba Merge branch 'history-scrolling' into 'master'
Fix history scrolling in gtk3 #8481.

See merge request !39
2017-01-24 16:24:32 +01:00
Tomasz Miąsko
0dce40bb57 Fix history scrolling in gtk3 #8481.
* Delay scrolling using GLib.idle_add. According to the GTK
  documentation the scroll_to_mark should be doing this internally
  already, but it is not the case.

* Center highlighted message vertically.
2017-01-24 15:29:15 +01:00
Philipp Hörist
a68fccd8f3 Merge branch 'quodlibet' into 'master'
Quodlibet publishes duration information as decimal with fractional part.

See merge request !36
2017-01-24 01:45:48 +01:00
Philipp Hörist
f59fd73f9c Improve fallback for windows keyring 2017-01-23 19:18:59 +01:00
Philipp Hörist
e41a751c7b Add config setting for use of keyring 2017-01-23 19:02:21 +01:00
Philipp Hörist
5a2a83a3fd Update available features on windows
On Windows we can now save account passwords in the
Windows Credential Vault
2017-01-23 18:06:07 +01:00
Tomasz Miąsko
3dfdc20272 Quodlibet publishes duration information as decimal with fractional part. 2017-01-23 15:14:28 +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
Emmanuel Gil Peyrot
553fd8f7b1 Add the actual GtkApplicationWindow to the GtkApplication. 2017-01-08 00:45:37 +00:00
Emmanuel Gil Peyrot
fd16797421 Fix website URL (missing https:). 2017-01-08 00:41:54 +00:00
Emmanuel Gil Peyrot
2439a8b807 Make dialogs.AboutDialog inherit directly from GtkAboutDialog. 2017-01-08 00:41:54 +00:00
Philipp Hörist
aa50acd191 Port ExceptionHook to GTK3 2017-01-07 21:07:53 +01:00
Philipp Hörist
8c01d4d49f Add GUI folder to configpaths 2017-01-06 20:04:23 +01:00
Philipp Hörist
6d26553b65 Dont windowsify non-config directorys 2017-01-06 20:04:23 +01:00
Philipp Hörist
8079930de0 Add get() function to configpaths 2017-01-06 20:04:22 +01:00
Philipp Hörist
52657e7f18 Remove unicode conversion method for paths
its not needed in python3
- tempfile.gettempdir() returns always unicode
- os.environ.get() returns always unicode

we get what we put into:
- os.path.expanduser()
2017-01-06 20:03:43 +01:00
Philipp Hörist
5af42e4707 Remove old svn code 2017-01-06 20:01:14 +01:00
Philipp Hörist
c4e41d6997 Make some paths available before profile init 2017-01-06 20:01:13 +01:00
Philipp Hörist
277e13bdd8 Handle Exception when there is no KEY_Insert
This happens on MacOSX
2017-01-05 01:14:18 +01:00
Emmanuel Gil Peyrot
80221afc2c Split ChatControlBase into its own file. 2017-01-04 22:57:05 +00:00
Philipp Hörist
4afdba2874 Merge branch 'dev' into 'master'
Make verbose logging less verbose

See merge request !19
2017-01-04 23:51:56 +01:00
Philipp Hörist
35142cf48a Remove redundant call to bindtextdomain
locale.bindtextdomain just calls gettext.bindtextdomain
2017-01-04 23:42:28 +01:00
Philipp Hörist
a5cce0c749 Make verbose logging less verbose 2017-01-04 23:28:08 +01:00
Emmanuel Gil Peyrot
3fa2db7c42 Remove demandimport, now unused. 2017-01-04 22:16:03 +00:00
Yann Leboulanger
7b8eec955c Fix some spaces in strings 2017-01-04 13:14:21 +01:00
Yann Leboulanger
65362358a9 ability to have a random string in the resource 2017-01-04 13:14:21 +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