[evolution] Calendar: Show only the last part of the timezone above the time column in the Day View



commit 7e9acfe3ebda67a4a340639f61efa0401042c116
Author: Milan Crha <mcrha redhat com>
Date:   Thu Oct 24 15:15:20 2019 +0200

    Calendar: Show only the last part of the timezone above the time column in the Day View
    
    Timezone names with three slashes skipped only the first part, which could
    make the too width for the time column.

 src/calendar/gui/e-day-view.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/calendar/gui/e-day-view.c b/src/calendar/gui/e-day-view.c
index 8cbd97db6a..a628864c2b 100644
--- a/src/calendar/gui/e-day-view.c
+++ b/src/calendar/gui/e-day-view.c
@@ -9749,7 +9749,7 @@ day_view_update_timezone_name_label (GtkWidget *label,
 
        gtk_widget_set_tooltip_text (label, location);
 
-       dash = strchr (location, '/');
+       dash = strrchr (location, '/');
        if (dash && *dash && dash[1])
                location = dash + 1;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]