[gnome-latex: 52/205] Notebook scrollable
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-latex: 52/205] Notebook scrollable
- Date: Fri, 14 Dec 2018 10:51:15 +0000 (UTC)
commit 24e700f524057196089e01d45d31c235c51e1a57
Author: Sébastien Wilmet <sebastien wilmet gmail com>
Date: Fri Sep 11 01:33:59 2009 +0200
Notebook scrollable
If there are a lot of documents opened, arrows appear to scroll between
tabs.
TODO | 23 +++++++++++------------
src/actions.c | 4 ----
src/callbacks.c | 2 +-
src/main.c | 1 +
4 files changed, 13 insertions(+), 17 deletions(-)
---
diff --git a/TODO b/TODO
index 35f7d52..7350921 100644
--- a/TODO
+++ b/TODO
@@ -2,21 +2,13 @@ TODO LaTeXila
Wed Sep 9, 2009 to Wed Sep 16, 2009
-[-] undo/redo and the "saved" document property
- - detect when the buffer is the same as in the file currently saved
-
-[-] execution of the actions
- - verify that the method used for compile_document () is correct
- - optimisations?
- - same behavior than compile_document () for:
- * convert_document ()
- * view_document ()
+[x] document tabs
+ x arrows to navigate between tabs if there are a lot of documents opened
[-] save and load
- show/hide symbol tables
- size of the window
- position of the panes
- - sceen position (center by default)
[-] new toolbar
- structure: part, chapter, section, subsection, subsubsection, paragraph, subparagraph
@@ -32,8 +24,15 @@ Wed Sep 9, 2009 to Wed Sep 16, 2009
* homogeneous icons
* text under or to the right of the icons?
-[-] document tabs
- - arrows to navigate between tabs if there are a lot of documents opened
+[-] undo/redo and the "saved" document property
+ - detect when the buffer is the same as in the file currently saved
+
+[-] execution of the actions
+ - verify that the method used for compile_document () is correct
+ - optimisations?
+ - same behavior than compile_document () for:
+ * convert_document ()
+ * view_document ()
[x] bugs correction
diff --git a/src/actions.c b/src/actions.c
index 79e5f38..5e91380 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -26,14 +26,10 @@
#include <glib.h>
#include <glib/gstdio.h>
#include <gtksourceview/gtksourceview.h>
-#include <gtksourceview/gtksourcelanguage.h>
-#include <gtksourceview/gtksourcelanguagemanager.h>
-#include <gtksourceview/gtksourceiter.h>
#include "main.h"
#include "config.h"
#include "actions.h"
-#include "callbacks.h"
#include "print.h"
static gchar * get_command_line (gchar **command);
diff --git a/src/callbacks.c b/src/callbacks.c
index 03c36af..8843d64 100644
--- a/src/callbacks.c
+++ b/src/callbacks.c
@@ -1083,7 +1083,7 @@ save_as_dialog (void)
latexila.main_window,
GTK_FILE_CHOOSER_ACTION_SAVE,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
- GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
+ GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT,
NULL
);
diff --git a/src/main.c b/src/main.c
index cff98fb..ae56998 100644
--- a/src/main.c
+++ b/src/main.c
@@ -337,6 +337,7 @@ main (int argc, char *argv[])
/* source view with tabs */
GtkWidget *notebook = gtk_notebook_new ();
latexila.notebook = GTK_NOTEBOOK (notebook);
+ gtk_notebook_set_scrollable (GTK_NOTEBOOK (notebook), TRUE);
g_signal_connect (G_OBJECT (notebook), "switch-page",
G_CALLBACK (cb_page_change), NULL);
gtk_paned_pack1 (GTK_PANED (vpaned), notebook, TRUE, TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]