From 0362cc8c008abdc905497a2bf4fdb661bceface3 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 25 Aug 2009 08:24:39 -0400 Subject: Bug 488409 - Remember size of filter/vfolder editor windows --- mail/em-filter-editor.c | 126 ++++++++++++------------ mail/em-filter-editor.h | 44 ++++++--- mail/em-vfolder-editor.c | 88 +++++++++-------- mail/em-vfolder-editor.h | 39 +++++--- mail/evolution-mail.schemas.in | 174 +++++++++++++++++++++++++--------- shell/apps_evolution_shell.schemas.in | 2 +- 6 files changed, 296 insertions(+), 177 deletions(-) diff --git a/mail/em-filter-editor.c b/mail/em-filter-editor.c index 8d720742c6..b782ca8cbf 100644 --- a/mail/em-filter-editor.c +++ b/mail/em-filter-editor.c @@ -29,68 +29,79 @@ #include #include "e-util/e-util-private.h" +#include "e-util/gconf-bridge.h" #include "em-filter-editor.h" #include "em-filter-rule.h" -#define d(x) +static gpointer parent_class; -static FilterRule *create_rule (RuleEditor *re); - -static void em_filter_editor_class_init (EMFilterEditorClass *klass); -static void em_filter_editor_init (EMFilterEditor *fe); -static void em_filter_editor_finalise (GObject *obj); - -static RuleEditorClass *parent_class = NULL; - -GType -em_filter_editor_get_type (void) +static FilterRule * +filter_editor_create_rule (RuleEditor *rule_editor) { - static GType type = 0; - - if (!type) { - static const GTypeInfo info = { - sizeof (EMFilterEditorClass), - NULL, /* base_class_init */ - NULL, /* base_class_finalize */ - (GClassInitFunc) em_filter_editor_class_init, - NULL, /* class_finalize */ - NULL, /* class_data */ - sizeof (EMFilterEditor), - 0, /* n_preallocs */ - (GInstanceInitFunc) em_filter_editor_init, - }; + FilterRule *rule = filter_rule_new (); + FilterPart *part; - type = g_type_register_static (RULE_TYPE_EDITOR, "EMFilterEditor", &info, 0); - } + /* create a rule with 1 part & 1 action in it */ + rule = (FilterRule *)em_filter_rule_new (); + part = rule_context_next_part (rule_editor->context, NULL); + filter_rule_add_part (rule, filter_part_clone (part)); + part = em_filter_context_next_action ( + (EMFilterContext *)rule_editor->context, NULL); + em_filter_rule_add_action ( + (EMFilterRule *)rule, filter_part_clone (part)); - return type; + return rule; } static void -em_filter_editor_class_init (EMFilterEditorClass *klass) +filter_editor_class_init (EMFilterEditorClass *class) { - GObjectClass *gobject_class = G_OBJECT_CLASS (klass); - RuleEditorClass *re_class = (RuleEditorClass *) klass; - - parent_class = g_type_class_ref (rule_editor_get_type ()); + RuleEditorClass *rule_editor_class; - gobject_class->finalize = em_filter_editor_finalise; + parent_class = g_type_class_peek_parent (class); - /* override methods */ - re_class->create_rule = create_rule; + rule_editor_class = RULE_EDITOR_CLASS (class); + rule_editor_class->create_rule = filter_editor_create_rule; } static void -em_filter_editor_init (EMFilterEditor *fe) +filter_editor_init (EMFilterEditor *filter_editor) { - ; + GConfBridge *bridge; + const gchar *key_prefix; + + bridge = gconf_bridge_get (); + key_prefix = "/apps/evolution/mail/filter_editor"; + + gconf_bridge_bind_window_size ( + bridge, key_prefix, GTK_WINDOW (filter_editor)); } -static void -em_filter_editor_finalise (GObject *obj) +GType +em_filter_editor_get_type (void) { - G_OBJECT_CLASS (parent_class)->finalize (obj); + static GType type = 0; + + if (G_UNLIKELY (type == 0)) { + static const GTypeInfo type_info = { + sizeof (EMFilterEditorClass), + (GBaseInitFunc) NULL, + (GBaseFinalizeFunc) NULL, + (GClassInitFunc) filter_editor_class_init, + (GClassFinalizeFunc) NULL, + NULL, /* class_data */ + sizeof (EMFilterEditor), + 0, /* n_preallocs */ + (GInstanceInitFunc) filter_editor_init, + NULL /* value_table */ + }; + + type = g_type_register_static ( + RULE_TYPE_EDITOR, "EMFilterEditor", &type_info, 0); + } + + return type; } /** @@ -101,15 +112,17 @@ em_filter_editor_finalise (GObject *obj) * Return value: A new #EMFilterEditor object. **/ EMFilterEditor * -em_filter_editor_new (EMFilterContext *fc, const EMFilterSource *source_names) +em_filter_editor_new (EMFilterContext *fc, + const EMFilterSource *source_names) { - EMFilterEditor *fe = (EMFilterEditor *) g_object_new (em_filter_editor_get_type(), NULL); + EMFilterEditor *fe; GladeXML *gui; gchar *gladefile; - gladefile = g_build_filename (EVOLUTION_GLADEDIR, - "filter.glade", - NULL); + fe = g_object_new (EM_TYPE_FILTER_EDITOR, NULL); + + gladefile = g_build_filename ( + EVOLUTION_GLADEDIR, "filter.glade", NULL); gui = glade_xml_new (gladefile, "rule_editor", NULL); g_free (gladefile); @@ -149,7 +162,10 @@ select_source (GtkComboBox *combobox, EMFilterEditor *fe) } void -em_filter_editor_construct (EMFilterEditor *fe, EMFilterContext *fc, GladeXML *gui, const EMFilterSource *source_names) +em_filter_editor_construct (EMFilterEditor *fe, + EMFilterContext *fc, + GladeXML *gui, + const EMFilterSource *source_names) { GtkWidget *combobox; gint i; @@ -175,19 +191,3 @@ em_filter_editor_construct (EMFilterEditor *fe, EMFilterContext *fc, GladeXML *g column = gtk_tree_view_get_column (GTK_TREE_VIEW (RULE_EDITOR (fe)->list), 0); gtk_tree_view_column_set_visible (column, TRUE); } - -static FilterRule * -create_rule (RuleEditor *re) -{ - FilterRule *rule = filter_rule_new (); - FilterPart *part; - - /* create a rule with 1 part & 1 action in it */ - rule = (FilterRule *)em_filter_rule_new (); - part = rule_context_next_part (re->context, NULL); - filter_rule_add_part (rule, filter_part_clone (part)); - part = em_filter_context_next_action ((EMFilterContext *)re->context, NULL); - em_filter_rule_add_action ((EMFilterRule *)rule, filter_part_clone (part)); - - return rule; -} diff --git a/mail/em-filter-editor.h b/mail/em-filter-editor.h index 8d9926b873..c725fd97b5 100644 --- a/mail/em-filter-editor.h +++ b/mail/em-filter-editor.h @@ -22,17 +22,32 @@ * */ -#ifndef _EM_FILTER_EDITOR_H -#define _EM_FILTER_EDITOR_H +#ifndef EM_FILTER_EDITOR_H +#define EM_FILTER_EDITOR_H #include "filter/rule-editor.h" #include "em-filter-context.h" -#define EM_FILTER_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), em_filter_editor_get_type(), EMFilterEditor)) -#define EM_FILTER_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), em_filter_editor_get_type(), EMFilterEditorClass)) -#define EM_IS_FILTER_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), em_filter_editor_get_type())) -#define EM_IS_FILTER_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), em_filter_editor_get_type())) -#define EM_FILTER_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), em_filter_editor_get_type(), EMFilterEditorClass)) +/* Standard GObject macros */ +#define EM_TYPE_FILTER_EDITOR \ + (em_filter_editor_get_type ()) +#define EM_FILTER_EDITOR(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST \ + ((obj), EM_TYPE_FILTER_EDITOR, EMFilterEditor)) +#define EM_FILTER_EDITOR_CLASS(cls) \ + (G_TYPE_CHECK_CLASS_CAST \ + ((cls), EM_TYPE_FILTER_EDITOR, EMFilterEditorClass)) +#define EM_IS_FILTER_EDITOR(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE \ + ((obj), EM_TYPE_FILTER_EDITOR)) +#define EM_IS_FILTER_EDITOR_CLASS(cls) \ + (G_TYPE_CHECK_CLASS_TYPE \ + ((cls), EM_TYPE_FILTER_EDITOR)) +#define EM_FILTER_EDITOR_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS \ + ((obj), EM_TYPE_FILTER_EDITOR, EMFilterEditorClass)) + +G_BEGIN_DECLS typedef struct _EMFilterEditor EMFilterEditor; typedef struct _EMFilterEditorClass EMFilterEditorClass; @@ -45,16 +60,19 @@ struct _EMFilterSource { }; struct _EMFilterEditor { - RuleEditor parent_object; + RuleEditor parent; }; struct _EMFilterEditorClass { RuleEditorClass parent_class; }; -GType em_filter_editor_get_type (void); - -EMFilterEditor *em_filter_editor_new (EMFilterContext *f, const EMFilterSource *source_names); -void em_filter_editor_construct (EMFilterEditor *fe, EMFilterContext *fc, GladeXML *gui, const EMFilterSource *source_names); +GType em_filter_editor_get_type (void); +EMFilterEditor *em_filter_editor_new (EMFilterContext *f, + const EMFilterSource *source_names); +void em_filter_editor_construct (EMFilterEditor *fe, + EMFilterContext *fc, + GladeXML *gui, + const EMFilterSource *source_names); -#endif /* ! _EM_FILTER_EDITOR_H */ +#endif /* EM_FILTER_EDITOR_H */ diff --git a/mail/em-vfolder-editor.c b/mail/em-vfolder-editor.c index 84acd5f293..058ad0a957 100644 --- a/mail/em-vfolder-editor.c +++ b/mail/em-vfolder-editor.c @@ -31,40 +31,49 @@ #include #include "e-util/e-util-private.h" +#include "e-util/gconf-bridge.h" #include "em-vfolder-editor.h" #include "em-vfolder-rule.h" -#define d(x) +static gpointer parent_class; -static FilterRule *create_rule (RuleEditor *re); +static FilterRule * +vfolder_editor_create_rule (RuleEditor *rule_editor) +{ + FilterRule *rule = filter_rule_new (); + FilterPart *part; -static RuleEditorClass *parent_class = NULL; + /* create a rule with 1 part in it */ + rule = (FilterRule *) em_vfolder_rule_new (); + part = rule_context_next_part (rule_editor->context, NULL); + filter_rule_add_part (rule, filter_part_clone (part)); -static void -em_vfolder_editor_finalise (GObject *obj) -{ - G_OBJECT_CLASS (parent_class)->finalize (obj); + return rule; } static void -em_vfolder_editor_class_init (EMVFolderEditorClass *klass) +vfolder_editor_class_init (EMVFolderEditorClass *class) { - GObjectClass *gobject_class = G_OBJECT_CLASS (klass); - RuleEditorClass *re_class = (RuleEditorClass *) klass; + RuleEditorClass *rule_editor_class; - parent_class = g_type_class_ref (rule_editor_get_type ()); + parent_class = g_type_class_peek_parent (class); - gobject_class->finalize = em_vfolder_editor_finalise; - - /* override methods */ - re_class->create_rule = create_rule; + rule_editor_class = RULE_EDITOR_CLASS (class); + rule_editor_class->create_rule = vfolder_editor_create_rule; } static void -em_vfolder_editor_init (EMVFolderEditor *ve) +vfolder_editor_init (EMVFolderEditor *vfolder_editor) { - ; + GConfBridge *bridge; + const gchar *key_prefix; + + bridge = gconf_bridge_get (); + key_prefix = "/apps/evolution/mail/vfolder_editor"; + + gconf_bridge_bind_window_size ( + bridge, key_prefix, GTK_WINDOW (vfolder_editor)); } GType @@ -72,20 +81,22 @@ em_vfolder_editor_get_type (void) { static GType type = 0; - if (!type) { - static const GTypeInfo info = { + if (G_UNLIKELY (type == 0)) { + static const GTypeInfo type_info = { sizeof (EMVFolderEditorClass), - NULL, /* base_class_init */ - NULL, /* base_class_finalize */ - (GClassInitFunc) em_vfolder_editor_class_init, - NULL, /* class_finalize */ - NULL, /* class_data */ + (GBaseInitFunc) NULL, + (GBaseFinalizeFunc) NULL, + (GClassInitFunc) vfolder_editor_class_init, + (GClassFinalizeFunc) NULL, + NULL, /* class_data */ sizeof (EMVFolderEditor), - 0, /* n_preallocs */ - (GInstanceInitFunc) em_vfolder_editor_init, + 0, /* n_preallocs */ + (GInstanceInitFunc) vfolder_editor_init, + NULL /* value_table */ }; - type = g_type_register_static (RULE_TYPE_EDITOR, "EMVFolderEditor", &info, 0); + type = g_type_register_static ( + RULE_TYPE_EDITOR, "EMVFolderEditor", &type_info, 0); } return type; @@ -101,13 +112,14 @@ em_vfolder_editor_get_type (void) GtkWidget * em_vfolder_editor_new (EMVFolderContext *vc) { - EMVFolderEditor *ve = (EMVFolderEditor *) g_object_new (em_vfolder_editor_get_type(), NULL); + EMVFolderEditor *ve; GladeXML *gui; gchar *gladefile; - gladefile = g_build_filename (EVOLUTION_GLADEDIR, - "filter.glade", - NULL); + ve = g_object_new (EM_TYPE_VFOLDER_EDITOR, NULL); + + gladefile = g_build_filename ( + EVOLUTION_GLADEDIR, "filter.glade", NULL); gui = glade_xml_new (gladefile, "rule_editor", NULL); g_free (gladefile); @@ -118,17 +130,3 @@ em_vfolder_editor_new (EMVFolderContext *vc) return GTK_WIDGET (ve); } - -static FilterRule * -create_rule (RuleEditor *re) -{ - FilterRule *rule = filter_rule_new (); - FilterPart *part; - - /* create a rule with 1 part in it */ - rule = (FilterRule *) em_vfolder_rule_new (); - part = rule_context_next_part (re->context, NULL); - filter_rule_add_part (rule, filter_part_clone (part)); - - return rule; -} diff --git a/mail/em-vfolder-editor.h b/mail/em-vfolder-editor.h index 550f7cd2d3..2a48c46e87 100644 --- a/mail/em-vfolder-editor.h +++ b/mail/em-vfolder-editor.h @@ -21,32 +21,47 @@ * */ -#ifndef _EM_VFOLDER_EDITOR_H -#define _EM_VFOLDER_EDITOR_H +#ifndef EM_VFOLDER_EDITOR_H +#define EM_VFOLDER_EDITOR_H #include "filter/rule-editor.h" #include "em-vfolder-context.h" -#define EM_VFOLDER_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), em_vfolder_editor_get_type(), EMVFolderEditor)) -#define EM_VFOLDER_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), em_vfolder_editor_get_type(), EMVFolderEditorClass)) -#define EM_IS_VFOLDER_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), em_vfolder_editor_get_type())) -#define EM_IS_VFOLDER_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), em_vfolder_editor_get_type())) -#define EM_VFOLDER_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), em_vfolder_editor_get_type(), EMVFolderEditorClass)) +/* Standard GObject macros */ +#define EM_TYPE_VFOLDER_EDITOR \ + (em_vfolder_editor_get_type ()) +#define EM_VFOLDER_EDITOR(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST \ + ((obj), EM_TYPE_VFOLDER_EDITOR, EMVFolderEditor)) +#define EM_VFOLDER_EDITOR_CLASS(cls) \ + (G_TYPE_CHECK_CLASS_CAST \ + ((cls), EM_TYPE_VFOLDER_EDITOR, EMVFolderEditorClass)) +#define EM_IS_VFOLDER_EDITOR(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE \ + ((obj), EM_TYPE_VFOLDER_EDITOR)) +#define EM_IS_VFOLDER_EDITOR_CLASS(cls) \ + (G_TYPE_CHECK_CLASS_TYPE \ + ((cls), EM_TYPE_VFOLDER_EDITOR)) +#define EM_VFOLDER_EDITOR_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS \ + ((obj), EM_TYPE_VFOLDER_EDITOR, EMVFolderEditorClass)) + +G_BEGIN_DECLS typedef struct _EMVFolderEditor EMVFolderEditor; typedef struct _EMVFolderEditorClass EMVFolderEditorClass; struct _EMVFolderEditor { - RuleEditor parent_object; - + RuleEditor parent; }; struct _EMVFolderEditorClass { RuleEditorClass parent_class; }; -GType em_vfolder_editor_get_type (void); +GType em_vfolder_editor_get_type (void); +GtkWidget * em_vfolder_editor_new (EMVFolderContext *vc); -GtkWidget *em_vfolder_editor_new (EMVFolderContext *vc); +G_END_DECLS -#endif /* ! _EM_VFOLDER_EDITOR_H */ +#endif /* EM_VFOLDER_EDITOR_H */ diff --git a/mail/evolution-mail.schemas.in b/mail/evolution-mail.schemas.in index b42a5446c2..d6483110c7 100644 --- a/mail/evolution-mail.schemas.in +++ b/mail/evolution-mail.schemas.in @@ -26,7 +26,7 @@ Spell check inline - Draw spelling error indicators on words as you type. + Draw spelling error indicators on words as you type. @@ -40,7 +40,7 @@ Automatic link recognition - Recognize links in text and replace them. + Recognize links in text and replace them. @@ -54,7 +54,7 @@ Automatic emoticon recognition - Recognize emoticons in text and replace them with images. + Recognize emoticons in text and replace them with images. @@ -82,7 +82,7 @@ Always request read receipt - Whether a read receipt request gets added to every message by default. + Whether a read receipt request gets added to every message by default. @@ -364,7 +364,7 @@ Enable/disable caret mode - Enable caret mode, so that you can see a cursor when reading mail. + Enable caret mode, so that you can see a cursor when reading mail. @@ -525,7 +525,7 @@ Determines whether to use the same fonts for both "From" and "Subject" lines in the "Messages" column in vertical view. - Determines whether to use the same fonts for both "From" and "Subject" lines in the "Messages" column in vertical view. + Determines whether to use the same fonts for both "From" and "Subject" lines in the "Messages" column in vertical view. @@ -656,7 +656,7 @@ Variable width font - The variable width font for mail display. + The variable width font for mail display. @@ -670,7 +670,7 @@ Terminal font - The terminal font for mail display. + The terminal font for mail display. @@ -684,7 +684,7 @@ Use custom fonts - Use custom fonts for displaying mail. + Use custom fonts for displaying mail. @@ -712,8 +712,8 @@ Compress display of addresses in TO/CC/BCC - Compress display of addresses in TO/CC/BCC to the number - specified in address_count. + Compress display of addresses in TO/CC/BCC to the number + specified in address_count. @@ -727,7 +727,7 @@ Allows Evolution to display text part of limited size - Enable to render message text part of limited size. + Enable to render message text part of limited size. @@ -741,9 +741,9 @@ Text message part limit - This decides the max size of the text part that can be formatted under - Evolution. The default is 4MB / 4096 KB and is specified in terms of KB. - + This decides the max size of the text part that can be formatted under + Evolution. The default is 4MB / 4096 KB and is specified in terms of KB. + @@ -757,7 +757,7 @@ Number of addresses to display in TO/CC/BCC This sets the number of addresses to show in default message list - view, beyond which a '...' is shown. + view, beyond which a '...' is shown. @@ -786,8 +786,8 @@ Default value for thread expand state - This setting specifies whether the threads should be in expanded - or collapsed state by default. Evolution requires a restart. + This setting specifies whether the threads should be in expanded + or collapsed state by default. Evolution requires a restart. @@ -801,9 +801,9 @@ Whether sort threads based on latest message in that thread - This setting specifies whether the threads should be sorted based - on latest message in each thread, rather than by message's date. - Evolution requires a restart. + This setting specifies whether the threads should be sorted based + on latest message in each thread, rather than by message's date. + Evolution requires a restart. @@ -1015,8 +1015,8 @@ Prompt when user tries to open 10 or more messages at once - If a user tries to open 10 or more messages at one time, ask the user - if they really want to do it. + If a user tries to open 10 or more messages at one time, ask the user + if they really want to do it. @@ -1030,7 +1030,7 @@ Prompt while marking multiple messages - Enable or disable the prompt whilst marking multiple messages. + Enable or disable the prompt whilst marking multiple messages. @@ -1044,8 +1044,8 @@ Prompt to check if the user wants to go offline immediately - It disables/enables the repeated prompts to ask if offline - sync is required before going into offline mode. + It disables/enables the repeated prompts to ask if offline + sync is required before going into offline mode. @@ -1059,9 +1059,9 @@ Prompt when deleting messages in search folder - It disables/enables the repeated prompts to warn that deleting - messages from a search folder permanently deletes the message, not - simply removing it from the search results. + It disables/enables the repeated prompts to warn that deleting + messages from a search folder permanently deletes the message, not + simply removing it from the search results. @@ -1091,7 +1091,7 @@ Minimum days between emptying the trash on exit - Minimum time between emptying the trash on exit, in days. + Minimum time between emptying the trash on exit, in days. @@ -1105,7 +1105,7 @@ Last time empty trash was run - The last time empty trash was run, in days since the epoch. + The last time empty trash was run, in days since the epoch. @@ -1119,7 +1119,7 @@ Amount of time in seconds the error should be shown on the status bar. - Amount of time in seconds the error should be shown on the status bar. + Amount of time in seconds the error should be shown on the status bar. @@ -1197,7 +1197,7 @@ Minimum days between emptying the junk on exit - Minimum time between emptying the junk on exit, in days. + Minimum time between emptying the junk on exit, in days. @@ -1211,7 +1211,7 @@ Last time empty junk was run - The last time empty junk was run, in days since the epoch. + The last time empty junk was run, in days since the epoch. @@ -1226,8 +1226,8 @@ The default plugin for Junk hook This is the default junk plugin, even though there are multiple plugins - enabled. If the default listed plugin is disabled, then it won't fall back - to the other available plugins. + enabled. If the default listed plugin is disabled, then it won't fall back + to the other available plugins. @@ -1240,10 +1240,10 @@ true Use only local spam tests. - - Use only the local spam tests (no DNS). - - + + Use only the local spam tests (no DNS). + + @@ -1269,7 +1269,7 @@ Determines whether to lookup in address book for sender email - Determines whether to lookup the sender email in address book. If found, it shouldn't be a spam. It looks up in the books marked for autocompletion. It can be slow, if remote address books (like LDAP) are marked for autocompletion. + Determines whether to lookup the sender email in address book. If found, it shouldn't be a spam. It looks up in the books marked for autocompletion. It can be slow, if remote address books (like LDAP) are marked for autocompletion. @@ -1283,7 +1283,7 @@ Determines whether to look up addresses for junk filtering in local address book only - This option is related to the key lookup_addressbook and is used to determine whether to look up addresses in local address book only to exclude mail sent by known contacts from junk filtering. + This option is related to the key lookup_addressbook and is used to determine whether to look up addresses in local address book only to exclude mail sent by known contacts from junk filtering. @@ -1311,7 +1311,7 @@ Custom headers to use while checking for junk. - Custom headers to use while checking for junk. The list elements + Custom headers to use while checking for junk. The list elements are string in the format "headername=value". @@ -1391,6 +1391,50 @@ + + /schemas/apps/evolution/mail/filter_editor_height + /apps/evolution/mail/filter_editor_height + int + 650 + + "Filter Editor" window height + + Initial height of the "Filter Editor" window. + The value updates as the user resizes the window vertically. + + + + + + /schemas/apps/evolution/mail/filter_editor_maximized + /apps/evolution/mail/filter_editor_maximized + bool + + "Filter Editor" window maximize state + + Initial maximize state of the "Filter Editor" window. + The value updates when the user maximizes or unmaximizes the + window. Note, this particular value is not used by Evolution + since the "Filter Editor" window cannot be maximized. This + key exists only as an implementation detail. + + + + + + /schemas/apps/evolution/mail/filter_editor_width + /apps/evolution/mail/filter_editor_width + int + 400 + + "Filter Editor" window width + + Initial width of the "Filter Editor" window. + The value updates as the user resizes the window horizontally. + + + + /schemas/apps/evolution/mail/send_recv_height /apps/evolution/mail/send_recv_height @@ -1438,6 +1482,50 @@ + + /schemas/apps/evolution/mail/vfolder_editor_height + /apps/evolution/mail/vfolder_editor_height + int + 650 + + "Search Folder Editor" window height + + Initial height of the "Search Folder Editor" window. + The value updates as the user resizes the window vertically. + + + + + + /schemas/apps/evolution/mail/vfolder_editor_maximized + /apps/evolution/mail/vfolder_editor_maximized + bool + + "Search Folder Editor" window maximize state + + Initial maximize state of the "Search Folder Editor" window. + The value updates when the user maximizes or unmaximizes the + window. Note, this particular value is not used by Evolution + since the "Search Folder Editor" window cannot be maximized. + This key exists only as an implementation detail. + + + + + + /schemas/apps/evolution/mail/vfolder_editor_width + /apps/evolution/mail/vfolder_editor_width + int + 400 + + "Search Folder Editor" window width + + Initial width of the "Search Folder Editor" window. + The value updates as the user resizes the window horizontally. + + + + diff --git a/shell/apps_evolution_shell.schemas.in b/shell/apps_evolution_shell.schemas.in index 3f97072583..157df8cb9e 100644 --- a/shell/apps_evolution_shell.schemas.in +++ b/shell/apps_evolution_shell.schemas.in @@ -60,7 +60,7 @@ /schemas/apps/evolution/shell/current_folder - /apps/evolution/shell/current-folder + /apps/evolution/shell/current_folder evolution string -- cgit