[gnome-latex: 98/205] Icon for the references (label, ref, ...)
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-latex: 98/205] Icon for the references (label, ref, ...)
- Date: Fri, 14 Dec 2018 10:55:07 +0000 (UTC)
commit 92abfb7c8c218c83f63916ee10a55376475f246f
Author: Sébastien Wilmet <sebastien wilmet gmail com>
Date: Sun Oct 11 23:11:18 2009 +0200
Icon for the references (label, ref, ...)
images/icons/references.png | Bin 0 -> 337 bytes
src/prefs.c | 1 +
src/ui.c | 5 +++--
3 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/images/icons/references.png b/images/icons/references.png
new file mode 100644
index 0000000..656685a
Binary files /dev/null and b/images/icons/references.png differ
diff --git a/src/prefs.c b/src/prefs.c
index 7160489..b24b80d 100644
--- a/src/prefs.c
+++ b/src/prefs.c
@@ -480,6 +480,7 @@ create_preferences (void)
latexila.main_window, 0,
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE, NULL);
gtk_dialog_set_has_separator (GTK_DIALOG (pref_dialog), FALSE);
+ gtk_container_set_border_width (GTK_CONTAINER (pref_dialog), 5);
g_signal_connect (G_OBJECT (pref_dialog), "response",
G_CALLBACK (cb_pref_dialog_close), NULL);
diff --git a/src/ui.c b/src/ui.c
index fb80664..07bf441 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -63,6 +63,7 @@ static struct {
{DATA_DIR "/images/icons/list-enumerate.png", "list-enumerate"},
{DATA_DIR "/images/icons/list-description.png", "list-description"},
{DATA_DIR "/images/icons/list-item.png", "list-item"},
+ {DATA_DIR "/images/icons/references.png", "references"},
};
// all the actions (for the menu and the toolbar)
@@ -156,7 +157,7 @@ static GtkActionEntry latex_entries[] = {
{"SectioningSubparagraph", "sectioning-paragraph", N_("subparagraph"), NULL,
N_("subparagraph"), G_CALLBACK (cb_sectioning_subparagraph)},
- {"References", NULL, N_("References"), NULL, NULL, NULL},
+ {"References", "references", N_("References"), NULL, NULL, NULL},
{"ReferencesLabel", NULL, "label", NULL, "label", G_CALLBACK (cb_ref_label)},
{"ReferencesRef", NULL, "ref", NULL, "ref", G_CALLBACK (cb_ref_ref)},
{"ReferencesPageref", NULL, "pageref", NULL, "pageref", G_CALLBACK (cb_ref_pageref)},
@@ -316,7 +317,7 @@ init_ui (GtkWidget *box)
GTK_ACTIVATABLE (sizes_menu_tool_button), sizes);
GtkAction *references = tool_menu_action_new ("ReferencesToolItem",
- _("References"), _("References"), NULL);
+ _("References"), _("References"), "references");
GtkToolItem *references_menu_tool_button = gtk_menu_tool_button_new (NULL,
NULL);
gtk_activatable_set_related_action (
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]