Commit Graph

29 Commits

Author SHA1 Message Date
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
Philipp Hörist f1aceae214 Fix avatar ratio
Fixes #8907
2018-02-19 22:02:31 +01:00
Philipp Hörist 4f73b03d36 Remove unused method 2018-01-29 20:08:37 +01:00
Philipp Hörist 762617e0be Use icons from IconTheme for Groupchat Roster 2018-01-29 00:06:46 +01:00
Philipp Hörist 2c2e946a88 Use icons from IconTheme in HistoryWindow 2018-01-29 00:06:46 +01:00
Philipp Hörist adb326a5f2 Refactor StatusComboBox
- Move as much code as possible into Glade file
- Pull icons from the IconsTheme (because of HiDPI scaling)
2018-01-29 00:06:31 +01:00
Yann Leboulanger b3a805c58a Merge branch 'more-translations' into 'master'
Make more strings translatable

See merge request gajim/gajim!186
2018-01-15 11:16:26 +01:00
Daniel 792be24540 Make more strings translatable 2018-01-15 10:51:04 +01:00
André Apitzsch 6f025a1d4a Remove some unused imports 2018-01-12 00:21:11 +01:00
Philipp Hörist c18ef648e6 Replace deprecated get_background_color() 2017-12-18 00:25:19 +01:00
Philipp Hörist bdf16c5182 Replace deprecated override_background_color() 2017-12-18 00:11:39 +01:00
Philipp Hörist f4a6b0299a Remove deprecated Gdk.Screen methods
height() and weidth() is not supported any more
2017-12-17 22:30:16 +01:00
Philipp Hörist e3effdcb6c Refactor SubscriptionWindow 2017-12-17 22:30:16 +01:00
Philipp Hörist 8c8b491846 ServerInfo: Show if features are disabled by user
- Show new Symbol if a feature is available but not enabled
- Add this info to the tooltip
2017-11-06 23:04:49 +01:00
Philipp Hörist 970d6f8c3f New style for ChatControl
- Move ActionBar into HeaderMenu
- Make Design of ChatControl look cleaner
- Hide the Roster in Groupchats per default
- Add Button to hide/show Roster in Groupchats
- Move Groupchat topic into popover
- Display Avatars on the right side of the ChatControl and status on the
left
- Add a default Avatar for contacts that have none
2017-10-26 22:52:20 +02:00
Philipp Hörist a01cdbf271 Refactor Avatars
- Add support for Pubsub Avatars
- Dont poll for vCard Updates, only use XEP-0153
- Dont cache vCards
- Store the avatar SHA of roster contacts in the DB
- Store the current SHA of each contact in the Contacts Object
- Move some code into the ConnectionVcard Class
2017-10-08 11:26:28 +02:00
André Apitzsch c758da1123 Replace make_color_string() by Gdk.RGBA method 2017-10-07 17:03:31 +02:00
André Apitzsch 624bee755c fix file lookup location and other issues 2017-09-22 19:12:26 +02:00
Philipp Hörist dfdeb65e8f New AccountsWindow 2017-09-16 15:55:32 +02:00
André Apitzsch fbc5851748 gtkgui_helpers: remove some unused code 2017-08-27 22:43:47 +02:00
André Apitzsch 89c7eb6e6a Rename gajim.common.gajim to avoid name conflicts 2017-08-18 20:03:20 +02:00
André Apitzsch efec098aef Use absolute imports 2017-08-18 19:48:48 +02:00
Philipp Hörist 4ad5fd9cdc Add method for creating image buttons 2017-08-15 19:23:23 +02:00
Philipp Hörist 5a7a6766b8 Fix rare bug in scroll_to_end() 2017-08-10 11:07:57 +02:00
Philipp Hörist 914935f864 Use right amount of arguments on pack_start 2017-07-27 21:50:38 +02:00
Philipp Hörist a5480eb167 Add ServerInfo Dialog 2017-07-26 00:07:43 +02:00
André Apitzsch 125ce523e4 Rename src directory 2017-07-02 17:25:47 +02:00
Renamed from src/gtkgui_helpers.py (Browse further)