Re: [Evolution] Hiding the Location in calendar view
On Tue, 2021-04-06 at 12:50 +0200, Krauß, Peter (SCC) wrote: > Could you point me on where to look out for this? Hi, what exactly are you trying to achieve, please? I understood from your previous message that you want more room for the "summary" part, but as the construction is "summary (location)" and the ellipsization happens at the end of the string, removing the " (location)" won't add more space for the "summary". At least for the left-to-right languages. To answer your question, look at e-week-view.c:dup_comp_summary() function. Bye, Milan P.S.: by the way, Reply To List (Ctrl+L in Evolution) works better for me on this list. ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... https://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] Hiding the Location in calendar view
Ok, I tried that but I am not fully satisfied. I tried to dig into the code a bit to find out where the string gets constructed yet I have to say it's an overwhelming amount of stuff. Could you point me on where to look out for this? My efforts up to now only allow me to change the background box (I found `week_view_event_item_draw` in `src/calendar/gui/e-week-view-event- item.c` for that...) yet it seems to be unrelated to the text and only draws the boxes. Cheers, Peter On Tue, 2021-04-06 at 11:31 +0200, Milan Crha via evolution-list wrote: > On Tue, 2021-04-06 at 10:52 +0200, Krauß, Peter (SCC) via evolution- > list wrote: > > Is there a way to hide the location information of an appointment > > in > > the calendar view (week, month)? > > Hi, > no, it's not. As long as your intention is to shorten the title, > which > consists of "summary (location)", I'd say hiding the location part > won't help much, because it's after the summary, thus it's the > location > part, which gets ellipsized and has got eventually hidden due to the > screen space constraints. > > Try Edit->Preferences->Calendar and Tasks->Display tab->"Show > appointment end times in week and month view" and "Show appointment > icons in the month view", to limit what the two views show (which can > give more space for the event summary). > Bye, > Milan > > ___ > evolution-list mailing list > evolution-list@gnome.org > To change your list options or unsubscribe, visit ... > https://mail.gnome.org/mailman/listinfo/evolution-list ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... https://mail.gnome.org/mailman/listinfo/evolution-list
Re: [Evolution] Hiding the Location in calendar view
On Tue, 2021-04-06 at 10:52 +0200, Krauß, Peter (SCC) via evolution- list wrote: > Is there a way to hide the location information of an appointment in > the calendar view (week, month)? Hi, no, it's not. As long as your intention is to shorten the title, which consists of "summary (location)", I'd say hiding the location part won't help much, because it's after the summary, thus it's the location part, which gets ellipsized and has got eventually hidden due to the screen space constraints. Try Edit->Preferences->Calendar and Tasks->Display tab->"Show appointment end times in week and month view" and "Show appointment icons in the month view", to limit what the two views show (which can give more space for the event summary). Bye, Milan ___ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... https://mail.gnome.org/mailman/listinfo/evolution-list