Philipp Hörist
619793a085
Groupchat: Use icons from IconTheme
2018-11-18 22:24:32 +01:00
Philipp Hörist
b5b3820328
Remove unused methods
2018-11-18 10:35:13 +01:00
Philipp Hörist
431d8075a6
Use get_cursor from gtk.util
2018-11-18 10:35:13 +01:00
Philipp Hörist
bf9e01ee31
Fix displaying PEP icons
...
- Rename get_pep_as_pixbuf to get_pep_icon
2018-11-02 22:51:57 +01:00
Philipp Hörist
985fced940
Roster: Use icon names instead of pixbufs
...
- Use icon names for Tune and Location notifications
- Use None instead of an empty pixbuf when there is no data
2018-10-29 00:12:48 +01:00
Philipp Hörist
7a070a583e
Use get_image_button() from gtk.util
2018-10-29 00:12:48 +01:00
Philipp Hörist
0e3b74da16
Fix pylint errors
2018-10-28 22:04:29 +01:00
Philipp Hörist
ac3bc74952
Remove unused methods
2018-10-28 21:58:30 +01:00
Philipp Hörist
2a0d6dc1ad
Use json format for the servers list
2018-10-28 21:26:25 +01:00
Philipp Hörist
c109db6eeb
Switch some calls to gtk.util helper methods
2018-10-28 15:00:04 +01:00
Philipp Hörist
960008a69a
Use get_icon_name() instead of get_iconset_name_for()
2018-10-28 14:32:54 +01:00
Philipp Hörist
bf87ad5ac8
Import _() instead of using builtin namespace
...
- Prepare for removing the global installed _() method in builtins
- Sort some imports along the way
2018-10-06 22:38:55 +02:00
Philipp Hörist
f89347516f
Only use absolute imports from gtk module
...
- This reduces import cycles
2018-09-26 19:06:47 +02:00
Philipp Hörist
7cacb4c09e
Add annotations
2018-09-23 15:33:31 +02:00
Philipp Hörist
6b2aa24d6e
Fix rest of mypy errors
...
- This allows us to run mypy on the full gajim folder
2018-09-21 23:55:57 +02:00
Philipp Hörist
6b54863157
Dont move window between virtual desktops
...
Its the job of the window manager to restore a window to the correct
location
2018-09-18 16:28:33 +02:00
Philipp Hörist
df88cc5e15
Fix redefined-builtin pylint errors
2018-09-18 13:54:25 +02:00
Philipp Hörist
ccc06a04ab
Fix bad-whitespace pylint errors
2018-09-18 12:06:01 +02:00
Philipp Hörist
ff6ca57033
Fix no-else-return pylint errors
2018-09-18 10:16:54 +02:00
Philipp Hörist
01694c6a06
Fix simplifiable-if-statement pylint errors
2018-09-17 23:25:55 +02:00
Philipp Hörist
e8ac644440
Fix unused-variable pylint errors
2018-09-17 21:16:19 +02:00
Philipp Hörist
d638087c26
Fix logging-not-lazy pylint errors
2018-09-17 18:57:00 +02:00
Philipp Hörist
7bb6f8b22e
Fix bare-except pylint errors
2018-09-16 23:45:01 +02:00
Philipp Hörist
d53b95218a
Fix redefined-outer-name pylint errors
2018-09-16 18:04:15 +02:00
Philipp Hörist
c6547b6d30
Fix superfluous-parens pylint errors
2018-09-16 14:42:18 +02:00
Philipp Hörist
b99632ab03
Fix pylint errors
2018-09-12 00:01:54 +02:00
Philipp Hörist
52e09cf526
Windows: Fix translation
...
Fixes #9324
2018-09-08 08:40:42 +02:00
Philipp Hörist
a4a136566f
Fix license comment format
...
every linter flags this as an error
2018-09-05 02:59:34 +02:00
Philipp Hörist
1c69b92d85
Move filechoosers into gtk module
2018-08-19 17:47:17 +02:00
Philipp Hörist
9d5131b8b4
Rework Gajim Theming
...
- Save all Theme settings to .css instead of the config file
- Add a gajim-dark.css
- Refactor the ThemesWindow
2018-08-16 22:53:33 +02:00
Philipp Hörist
94b2d1e577
Fix passing too many args
2018-08-06 18:25:52 +02:00
Philipp Hörist
2e53f47da8
Fix GtkBuilder translation
...
Fixes #9277
2018-08-06 17:14:07 +02:00
Philipp Hörist
3a3b5aff20
Move some dialogs into gtk module
2018-07-18 00:15:46 +02:00
Philipp Hörist
c225ae70e4
Add debug logging for saving roster position
2018-07-12 23:19:22 +02:00
Philipp Hörist
bbf3a544e8
Refactor UserLocation into own module
2018-07-05 19:38:03 +02:00
Philipp Hörist
14f088c2d9
Refactor UserMood into own module
2018-07-05 19:37:51 +02:00
Philipp Hörist
a4350a812b
Refactor UserTune into own module
2018-07-05 00:16:42 +02:00
Philipp Hörist
b7775afd0c
Refactor UserActivity and PEP into own modules
2018-07-03 20:00:31 +02:00
Philipp Hörist
9b07cf8d41
Add loading single builder objects on Windows
...
This was still missing from the Windows translation fix
2018-06-23 20:35:16 +02:00
Philipp Hörist
23c302ca70
Fix translation on Windows
...
Fixes #8658
2018-06-23 17:07:43 +02:00
Philipp Hörist
4bed8ace95
Refactor Notifications
...
- Use icon names instead of path
- Move PopupNotificationWindow into notify.py
- Make popup class method instead of module method
- Dont use sessions to get control on notification action Fixes #9140
- Add has_focus() method to ChatControlBase
2018-06-01 17:48:05 +02:00
Philipp Hörist
2636e3449f
Refactor avatar publishing
...
- Publish avatars with a size of 200x200
- Add AvatarSize.PUBLISH so we can easily change it in the future
- Dont upscale small avatars on publish
- Use surfaces for displaying the avatar in ProfileWindow and VcardWindow
because this scales correctly on HiDPI screens
2018-05-20 01:28:12 +02:00
Philipp Hörist
c38db84e04
Refactor FileChooserDialogs
...
Use GtkFileChooserDialog only when we need previews, default to
NativeFileChooser otherwise.
GtkFileChooserDialogs have a long list of issues, so lets only use it
if we gain something from it.
Flatpak should only run NativeFileChoosers because its sandboxed and
this is needed for security purposes. As a result of that, Flatpak Users
dont have image previews in the FileOpenDialogs
Refactor all FileChoosers for a more simple approach when we use them
Add a new SendFileDialog, so we dont have to put widgets into the FileChooser
which forces non-native Dialogs.
2018-05-05 09:22:08 +02:00
Philipp Hörist
81952f6a7c
Convert font weight from pango to css values
...
Fixes #9106
2018-04-30 17:43:32 +02:00
Philipp Hörist
105427b8fd
Use consistent way to get paths
...
This lets us now import the app module without setting paths
2018-04-25 20:49:37 +02:00
Philipp Hörist
e2383fd7a4
Refactor i18n module
...
- Move everything translation related from gajim.py to i18n.py
2018-04-24 23:03:19 +02:00
Yann Leboulanger
7562acbe5b
correctly generate css for font that have a space. Fixes #9012
2018-03-27 12:25:20 +02:00
Philipp Hörist
6f55cf3dd4
Fix some problematic imports
2018-03-26 00:19:59 +02:00
Andrey Gursky
c6172c86ad
Fix window position restore on multi-head setups
...
Gajim stopped to properly restore roster and dialogs windows positions
after restart with more than one monitor attached.
Gajim saves the absolute window positions, i.e. based on the total screen size
of all monitors attached. Despite Gtk deprecated Gdk.Screen.width() and height(),
we cannot just use width() and height() for one monitor, as recommended.
We still need the total screen size, which was the base for saving the positions.
[1] https://stackoverflow.com/questions/30207586/gdk-screen-vs-monitor-vs-display
2018-03-21 19:40:54 +01:00
Philipp Hörist
cbab10bedd
Fix showing `not in roster` status icon
2018-03-18 00:04:49 +01:00