[balsa/gtk3] Use layout-type enum
- From: Peter Bloomfield <PeterB src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/gtk3] Use layout-type enum
- Date: Tue, 8 Jan 2013 15:34:38 +0000 (UTC)
commit 8b4f251a03b8dcfef7a7d04f6814adf90e63bfeb
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Tue Jan 8 10:33:43 2013 -0500
Use layout-type enum
* src/pref-manager.c (create_layout_types_menu): use relevant
enum.
ChangeLog | 5 +++++
src/pref-manager.c | 6 +++---
2 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index c171405..e37d99e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2013-01-08 Peter Bloomfield
+ * src/pref-manager.c (create_layout_types_menu): use relevant
+ enum.
+
+2013-01-08 Peter Bloomfield
+
* src/main-window.c: mailbox index cannot shrink.
2012-12-08 Peter Bloomfield
diff --git a/src/pref-manager.c b/src/pref-manager.c
index 1715bb8..eced9d7 100644
--- a/src/pref-manager.c
+++ b/src/pref-manager.c
@@ -3383,9 +3383,9 @@ static GtkWidget *
create_layout_types_menu(void)
{
GtkWidget *combo_box = pm_combo_box_new();
- add_show_menu(_("Default layout"), NEXT_UNREAD, combo_box);
- add_show_menu(_("Wide message layout"), NEXT, combo_box);
- add_show_menu(_("Wide screen layout"), CLOSE, combo_box);
+ add_show_menu(_("Default layout"), LAYOUT_DEFAULT, combo_box);
+ add_show_menu(_("Wide message layout"), LAYOUT_WIDE_MSG, combo_box);
+ add_show_menu(_("Wide screen layout"), LAYOUT_WIDE_SCREEN, combo_box);
return combo_box;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]