[gnome-builder] add :split and :vsplit
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] add :split and :vsplit
- Date: Tue, 24 Mar 2015 00:33:52 +0000 (UTC)
commit e74cd020a04f9d8713b07425dffe85a4c3384405
Author: Christian Hergert <christian hergert me>
Date: Sat Mar 21 17:14:18 2015 -0700
add :split and :vsplit
src/vim/gb-vim.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/vim/gb-vim.c b/src/vim/gb-vim.c
index 88790b2..a1a7b3f 100644
--- a/src/vim/gb-vim.c
+++ b/src/vim/gb-vim.c
@@ -450,6 +450,7 @@ gb_vim_command_split (GtkSourceView *source_view,
const gchar *options,
GError **error)
{
+ gb_widget_activate_action (GTK_WIDGET (source_view), "view-stack", "split-down", NULL);
return TRUE;
}
@@ -459,6 +460,7 @@ gb_vim_command_vsplit (GtkSourceView *source_view,
const gchar *options,
GError **error)
{
+ gb_widget_activate_action (GTK_WIDGET (source_view), "view-stack", "split-left", NULL);
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]