Commit Graph

147 Commits

Author SHA1 Message Date
0f3b0271df I#3022 - "New->..." actions missing in UI customization dialog
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/3022
2025-03-28 08:56:20 +01:00
6712f0c3b2 I#2989 - Crash on quit of the app
The EUIManager is freed too early in the dispose(), free it
in the finalize() instead.

Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/2989
2025-03-10 18:55:02 +01:00
9bd7b188e5 I#2986 - Switcher appearance resets to "Icons and Text" after restart
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/2986
2025-02-19 12:30:16 +01:00
14ee591e8f EShellSwitcher: Cannot create a new window by a switcher button press
This covers two problems:
- middle-click on a button, or Shift+LeftClick, did not open a new
  window with the corresponding view, because the action requires
  the name of the view to be opened
- clicking on an older active (pushed) button deactivated it, while
  it should do nothing, it should keep the button pushed down.
2025-01-28 18:04:47 +01:00
0221743ce0 Replace margin-left/right with margin-start/end
left-right margins have been replaced by start-end margins.
2025-01-27 10:50:36 +00:00
80ac0b01fe M!165 - Get rid of GtkAlignment in the code
GtkAlignment can be replaced by h/valign and margin properties.

Closes: https://gitlab.gnome.org/GNOME/evolution/-/merge_requests/165
2025-01-24 10:02:02 +01:00
ec11cb4d1c EShellView: Do not process accels when search entry is focused
The accels should be ignored, especially those using a single key,
when the search entry is focused, otherwise that latter could not
be written into the entry. Use the generic function to determine
when the accel should be ignored and when not.
2025-01-14 13:39:06 +01:00
51e9056b25 Switcher button icon does not change when action's icon name changes
The Mail switcher button changes its icon to an "unread mail", when
a new mail is received and then back to a "mail", when any mail is read.
This did not work properly, because the switcher button's properties
were not updated when the action's property changed.

Cover also the label property, just in case.
2025-01-13 15:19:05 +01:00
7e6275f0a3 M!152 - Allow customization of the menus, toolbars and shortcuts in the GUI
Users can modify most of the menus, toolbars, headerbars and shortcuts
directly in the GUI, instead of editing some files in a text editor.

Closes https://gitlab.gnome.org/GNOME/evolution/-/merge_requests/152
2024-12-12 13:46:43 +01:00
b44068aea5 Replace GtkMisc with GtkLabel.x/yalign 2024-11-18 09:52:00 +00:00
93b6290cd5 Sidebar is one word 2024-11-05 13:42:56 +00:00
d773473d18 Replace deprecated GtkUIManager
This replaces a deprecated GtkUIManager with a new EUIManager, which
uses its own file format, similar to the .ui used by the gtk+, but
not the same. This brought in more structures like EUIAction and
EUIActionGroup.

To name the few most significant changes:

The overall window architecture had been changed internally too, the
EShellView is a widget now and contains everything except of the header
bar. This allows to create the window content once and not regenerate it
every switch between the views. It also moved the EUIManager from
the EShellWindow to the EShellView.

The EMailShellContent does not implement an EMailReader interface any more.
It allows to have cleaner EMailReader usage in the code. To get to
the EMailReader use:

   EMailView *mail_view = NULL;

   g_object_get (e_shell_view_get_shell_content (mail_shell_view), "mail-view", &mail_view, NULL);
   if (mail_view) {
      EMailReader *mail_reader = E_MAIL_READER (mail_view);

      ...

      g_clear_object (&mail_view);
   }

The plugins cannot have their UI definitions in the .eplug file,
these are added in the code, directly to the EUIManager. Modules
already did that.
2024-10-31 13:12:51 +01:00
8ade0be2eb I#2882 - shell: Increase default window size to 1440x900
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/2882
2024-10-17 07:03:06 +00:00
5e37b1c027 M!137 - Set prgname to application ID
Using the application ID ensures that Wayland compositors could match
the window with the application and show the appropriate icon for them.

Closes https://gitlab.gnome.org/GNOME/evolution/-/merge_requests/137
2024-09-02 06:40:13 +00:00
0c06715ad9 I#2818 - Permit only one instance of “Evolution Accounts” window
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/2818
2024-08-20 14:55:21 +02:00
5276de031c I#2778 - Crash under gtk_clutter_init_internal()
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/2778
2024-06-14 06:36:42 +02:00
973a9e94fc Update online_help_url URI
Link to recent online help / user docs instead of version from 2017.
2024-05-18 08:47:25 +02:00
b2c3dd3b4c EShellWindow: Remove unused private variable 2024-05-14 15:40:28 +02:00
f5abe60b88 I#2751 - Open last view when restarting Evolution
Covering cases where more than one window had been opened
with different views.

Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/2751
2024-05-14 15:36:11 +02:00
8a2231408d I#2709 - Possible crash when exiting application
Change suggested by Luca Bacci.

Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/2709
2024-05-13 15:22:00 +02:00
02c771d802 shell: Closing last window does not always run "prepare-for-quit"
Using menu item to close the window runs "prepare-for-quit" operation
as expected, but closing the window directly (with the `x` button), did
not do so, which could lead to no Trash empty on exit and other "on-exit"
operations being skipped.
2024-05-13 14:09:06 +02:00
ca37e06c81 I#2744 - Shell: Enhance symbolic icons usage detection
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/2744
2024-05-10 10:14:07 +02:00
d5dfb43891 I#2683 - Open mbox files instead of import
Use "evolution --view message.mbox" to get the Mail Viewer. The EML files
are also supported.

Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/2683
2024-05-09 15:50:11 +02:00
890f7c4a4d main.c: Fix unused variable when in non-development build
The GSettings is used only for the development build, thus declare
it only when really needed.
2024-03-01 12:42:17 +01:00
52884e3773 Replace G_TYPE_INSTANCE_GET_PRIVATE() with G_ADD_PRIVATE()
The G_TYPE_INSTANCE_GET_PRIVATE() macro is deprecated, which generates
a compiler warning since `glib_encoded_version` variable had been
set to the 2.66 version in the main CMakeLists.txt file.
2024-02-13 12:31:12 +01:00
10ecb59895 e-shell: Describe --force-shutdown option as closing also background processes
The description was too similar to the --quit option, making it hard to
distinguish them. The --force-shutdown also does more than the --quit,
it kills the evolution-data-server background processes, which is
a significant difference.
2024-02-06 08:49:30 +01:00
a45e02cbb0 EShell: Emit "ready-to-start" event after modules and preferences window is ready
The event had been emitted within GApplication::startup function, which
was before the modules had been loaded, thus when some modules connect
to the "ready-to-start" signal then never received it.
2023-12-06 08:22:57 +01:00
17ec2c0320 I#1753 - Mail: Use Ctrl+Alt+F for Forward, Ctrl+F to search for messages
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1753
2023-11-23 14:29:12 +01:00
21c3e2346b shell: Move from gtk_main() to g_application_run()
Let the Evolution finally be a complete GtkAplication by using
the correct g_application_run(). This gets rid of:

   (evolution:121456): GLib-GIO-WARNING **: 13:29:58.970: Your application
   did not unregister from D-Bus before destruction. Consider using g_application_run().

runtime warning shown on quit of the application.
2023-09-29 13:46:38 +02:00
67334034a5 I#2457 - Shell: Add option to prefer symbolic icons
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/2457
2023-08-14 15:32:25 +02:00
579cf8a093 Tweak how long to wait for a 'connected' state when opening an EClient
The 'connected' state is not reached when the data store is not available,
which means to wait for the whole set time. Use shorter times, also because
most of the backends support offline mode, thus the changes can be propagated
to the server later.

Related to https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/489
2023-08-07 10:19:39 +02:00
cf0368ae14 I#967 - Add save e-mails individually as eml format
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/967
2023-07-20 21:49:45 +02:00
6323c3f672 Calendar: Indicate detached instance of a recurring event
Use a different icon for a recurring event, which is a detached
instance from the series.

Also add some more symbolic icons used in the Calendar view.

Related to https://gitlab.gnome.org/GNOME/evolution/-/issues/1180
2023-07-13 10:10:22 +02:00
99c0b9948c I#2362 - EShellSearchbar: Cannot clear search by deleting text
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/2362
2023-05-30 09:15:00 +02:00
95d11dc046 I#1039 - Mail: Cannot change the search domain with active search
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1039
2023-05-10 11:14:54 +02:00
3ed75e8b15 I#2355 - Search input field's clear button unclickable during first entry
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/2355
2023-05-10 08:42:43 +02:00
1cefe44b38 Make it possible to run GitLab CI Flatpak artifact
It's required to rename the application ID to make it workable
under Flatpak.
2023-01-19 16:58:30 +01:00
31b098ba14 M!115 - Fix several typos in the code
Closes https://gitlab.gnome.org/GNOME/evolution/-/merge_requests/115
2023-01-03 13:20:27 +00:00
e313d01789 EShellHeaderBar: Remove unused pack_start/_end functions
Use e_header_bar_pack_start()/e_header_bar_pack_end() functions directly.
2022-12-02 10:02:59 +01:00
22fd3a364a I#2146 - EShellHeaderBar: Show button labels adaptively
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/2146
2022-12-02 09:49:48 +01:00
344e7791b2 I#2096 - Use symbolic icons for high contrast icon themes
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/2096
2022-10-27 11:09:07 +02:00
9f488ae848 I#2064 - EShellHeaderBar: Disable subtitle for the header bar
Evolution shell header bars never use the subtitle, so it should
be turned off to prevent using unnecessary vertical space.

Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/2064
2022-10-19 18:38:28 +02:00
083e9cb567 I#2083 - Enable sandboxing for WebKitGTK 2.38.0+
The printing bug had been fixed for WebKitGTK 2.38.0, thus enable
sandboxing for that and later versions.

Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/2083
2022-10-19 07:40:19 +02:00
c12bb7fa43 I#2039 - Add option to disable use of header bars
Users can use:

   gsettings set org.gnome.evolution.shell use-header-bar false

to turn off header bars.

Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/2039
2022-09-22 11:09:19 +02:00
fde82bd10d I#2022 - Use icon-only buttons in the header bar
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/2022
2022-09-13 19:22:34 +02:00
92a44896a7 I#1969 - EShellWindow: The 'New' menu is not filled after start
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1969
2022-08-30 13:48:53 +02:00
7cb572cf7a Show a menu button in the header bar when the menu bar is hidden
Since there is a header bar now, there can be shown a menu button
when the menu bar is hidden to make it easier to access the menu.
2022-08-05 09:04:54 +02:00
97c3360e8c EShell: Create 'Categories Editor' dialog with a header bar
Remove duplicated close button
2022-07-21 13:19:44 +02:00
e055a8f8e5 EShell: Allow header bar for dialogs 2022-07-21 13:19:44 +02:00
aa1814e414 Move menu bar handling to utils 2022-07-21 13:19:39 +02:00