aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-05-25 07:00:39 +0800
committerChris Lahey <clahey@src.gnome.org>2000-05-25 07:00:39 +0800
commite033af05d726f5307efa12879ad0f6f3e88bb041 (patch)
treec012df66efcbf3536ee3a63a6995ce89a082cff2 /shell
parent057745cfb6c4b4a0543446b0d7fbe2661d2164f2 (diff)
downloadgsoc2013-evolution-e033af05d726f5307efa12879ad0f6f3e88bb041.tar
gsoc2013-evolution-e033af05d726f5307efa12879ad0f6f3e88bb041.tar.gz
gsoc2013-evolution-e033af05d726f5307efa12879ad0f6f3e88bb041.tar.bz2
gsoc2013-evolution-e033af05d726f5307efa12879ad0f6f3e88bb041.tar.lz
gsoc2013-evolution-e033af05d726f5307efa12879ad0f6f3e88bb041.tar.xz
gsoc2013-evolution-e033af05d726f5307efa12879ad0f6f3e88bb041.tar.zst
gsoc2013-evolution-e033af05d726f5307efa12879ad0f6f3e88bb041.zip
Added widgets/e-paned/Makefile.
2000-05-24 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added widgets/e-paned/Makefile. * tests/ui-tests/message-browser.c: Switched from GtkPaned to EPaned. * widgets/Makefile.am: Added e-paned directory. * widgets/e-paned/, widgets/e-paned/.cvsignore, widgets/e-paned/Makefile.am, widgets/e-paned/e-hpaned.c, widgets/e-paned/e-hpaned.h, widgets/e-paned/e-paned.c, widgets/e-paned/e-paned.h, widgets/e-paned/e-vpaned.c, widgets/e-paned/e-vpaned.h: New widget based completely on GtkPaned from 1.4. This will be more advanced soon. From calendar/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added libepaned.a. * gui/gnome-cal.c: Switched from GtkPaned to EPaned. From mail/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added libepaned.a. * folder-browser.c: Switched from GtkPaned to EPaned. From shell/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added libepaned.a. * e-shell-view.c: Switched from GtkPaned to EPaned. From widgets/shortcut-bar/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added libepaned.a. * test-shortcut-bar.c: Switched from GtkPaned to EPaned. svn path=/trunk/; revision=3191
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog6
-rw-r--r--shell/Makefile.am1
-rw-r--r--shell/e-shell-view.c30
3 files changed, 23 insertions, 14 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index cb23544111..26a88bb1cb 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,9 @@
+2000-05-24 Christopher James Lahey <clahey@helixcode.com>
+
+ * Makefile.am: Added libepaned.a.
+
+ * e-shell-view.c: Switched from GtkPaned to EPaned.
+
2000-05-23 Ettore Perazzoli <ettore@helixcode.com>
* e-shell.c: New member `corba_storage_registry' in
diff --git a/shell/Makefile.am b/shell/Makefile.am
index a62fb41abd..10a7404035 100644
--- a/shell/Makefile.am
+++ b/shell/Makefile.am
@@ -73,6 +73,7 @@ $(EVOLUTION_CORBA_GENERATED): $(IDLS)
evolution_LDADD = \
$(top_builddir)/widgets/shortcut-bar/libshortcut-bar.a \
+ $(top_builddir)/widgets/e-paned/libepaned.a \
$(top_builddir)/widgets/e-text/libetext.a \
$(top_builddir)/widgets/misc/libemiscwidgets.a \
$(top_builddir)/e-util/libeutil.la \
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c
index f3dd6d1a9d..8f6e0a307e 100644
--- a/shell/e-shell-view.c
+++ b/shell/e-shell-view.c
@@ -42,6 +42,8 @@
#include "e-shell-view.h"
#include "e-shell-view-menu.h"
+#include <widgets/e-paned/e-paned.h>
+
#define PARENT_TYPE gnome_app_get_type () /* Losing GnomeApp does not define GNOME_TYPE_APP. */
static GnomeAppClass *parent_class = NULL;
@@ -255,15 +257,15 @@ setup_widgets (EShellView *shell_view)
/* Put things into a paned and the paned into the GnomeApp. */
- priv->hpaned2 = gtk_hpaned_new ();
- gtk_paned_add1 (GTK_PANED (priv->hpaned2), priv->storage_set_view_box);
- gtk_paned_add2 (GTK_PANED (priv->hpaned2), priv->notebook);
- gtk_paned_set_position (GTK_PANED (priv->hpaned2), DEFAULT_SHORTCUT_BAR_WIDTH);
+ priv->hpaned2 = e_hpaned_new ();
+ e_paned_add1 (E_PANED (priv->hpaned2), priv->storage_set_view_box);
+ e_paned_add2 (E_PANED (priv->hpaned2), priv->notebook);
+ e_paned_set_position (E_PANED (priv->hpaned2), DEFAULT_SHORTCUT_BAR_WIDTH);
- priv->hpaned1 = gtk_hpaned_new ();
- gtk_paned_add1 (GTK_PANED (priv->hpaned1), priv->shortcut_bar_box);
- gtk_paned_add2 (GTK_PANED (priv->hpaned1), priv->hpaned2);
- gtk_paned_set_position (GTK_PANED (priv->hpaned1), DEFAULT_SHORTCUT_BAR_WIDTH);
+ priv->hpaned1 = e_hpaned_new ();
+ e_paned_add1 (E_PANED (priv->hpaned1), priv->shortcut_bar_box);
+ e_paned_add2 (E_PANED (priv->hpaned1), priv->hpaned2);
+ e_paned_set_position (E_PANED (priv->hpaned1), DEFAULT_SHORTCUT_BAR_WIDTH);
gtk_container_set_border_width (GTK_CONTAINER (priv->hpaned1), 0);
gtk_container_set_border_width (GTK_CONTAINER (priv->hpaned2), 0);
@@ -762,14 +764,14 @@ e_shell_view_show_shortcuts (EShellView *shell_view,
if (show) {
if (! GTK_WIDGET_VISIBLE (priv->shortcut_bar_box)) {
gtk_widget_show (priv->shortcut_bar_box);
- gtk_paned_set_position (GTK_PANED (priv->hpaned1), priv->hpaned1_position);
+ e_paned_set_position (E_PANED (priv->hpaned1), priv->hpaned1_position);
}
} else {
if (GTK_WIDGET_VISIBLE (priv->shortcut_bar_box)) {
gtk_widget_hide (priv->shortcut_bar_box);
/* FIXME this is a private field! */
- priv->hpaned1_position = GTK_PANED (priv->hpaned1)->child1_size;
- gtk_paned_set_position (GTK_PANED (priv->hpaned1), 0);
+ priv->hpaned1_position = E_PANED (priv->hpaned1)->child1_size;
+ e_paned_set_position (E_PANED (priv->hpaned1), 0);
}
}
}
@@ -788,14 +790,14 @@ e_shell_view_show_folders (EShellView *shell_view,
if (show) {
if (! GTK_WIDGET_VISIBLE (priv->storage_set_view_box)) {
gtk_widget_show (priv->storage_set_view_box);
- gtk_paned_set_position (GTK_PANED (priv->hpaned2), priv->hpaned2_position);
+ e_paned_set_position (E_PANED (priv->hpaned2), priv->hpaned2_position);
}
} else {
if (GTK_WIDGET_VISIBLE (priv->storage_set_view_box)) {
gtk_widget_hide (priv->storage_set_view_box);
/* FIXME this is a private field! */
- priv->hpaned2_position = GTK_PANED (priv->hpaned2)->child1_size;
- gtk_paned_set_position (GTK_PANED (priv->hpaned2), 0);
+ priv->hpaned2_position = E_PANED (priv->hpaned2)->child1_size;
+ e_paned_set_position (E_PANED (priv->hpaned2), 0);
}
}
}