[Goodies-commits] r1832 - in xfce4-notes-plugin/trunk: . panel-plugin po
Mike Massonnet
mmassonnet at xfce.org
Wed Aug 2 02:22:02 CEST 2006
Author: mmassonnet
Date: 2006-08-02 00:22:00 +0000 (Wed, 02 Aug 2006)
New Revision: 1832
Modified:
xfce4-notes-plugin/trunk/ChangeLog
xfce4-notes-plugin/trunk/panel-plugin/notes-window.c
xfce4-notes-plugin/trunk/po/ChangeLog
xfce4-notes-plugin/trunk/po/fr.po
Log:
* ChangeLog: Use the correct format.
* panel-plugin/notes-window.c: Changed the tab border to 3
pixels (that's a 50/50 :)), set the label angle to 90?\194?\176.
Correct the note_page_destroy to empty the first page instead
of doing nothing.
Modified: xfce4-notes-plugin/trunk/ChangeLog
===================================================================
--- xfce4-notes-plugin/trunk/ChangeLog 2006-08-01 22:39:08 UTC (rev 1831)
+++ xfce4-notes-plugin/trunk/ChangeLog 2006-08-02 00:22:00 UTC (rev 1832)
@@ -1,29 +1,50 @@
-+ 2006/08/01 jannis
- - configure.in.in: Fixed LINGUAS (removed the quotes around it).
- - panel-plugin/notes-options.c: Added a 12 pixel border around
+2006-08-02 Mike Massonnet <mmassonnet at gmail.com>
+
+ * ChangeLog: Use the correct format.
+ * panel-plugin/notes-window.c: Changed the tab border to 3
+ pixels (that's a 50/50 :)), set the label angle to 90°.
+ Correct the note_page_destroy to empty the first page instead
+ of doing nothing.
+
+2006-08-01 Jannis Pohlmann <jannis at xfce.org>
+
+ * configure.in.in: Fixed LINGUAS (removed the quotes around it).
+ * panel-plugin/notes-options.c: Added a 12 pixel border around
the config options to be consistent with other plugins.
- - panel-plugin/notes-window.c: Added 6 pixel border of notebook
+ * panel-plugin/notes-window.c: Added 6 pixel border of notebook
tabs, which makes it easier to click on them (AFAIK).
- - panel-plugin/*.c: Cleaned up the English strings.
- - po/*.po, po/xfce4-notes-plugin.pot: New strings merged.
- - po/de.po: German translations updated once again.
-+ 2006/08/01 jannis
- - configure.in.in: Removed configure.ac to configure.in.in as
+ * panel-plugin/*.c: Cleaned up the English strings.
+ * po/*.po, po/xfce4-notes-plugin.pot: New strings merged.
+ * po/de.po: German translations updated once again.
+
+2006-08-01 Jannis Pohlmann <jannis at xfce.org>
+
+ * configure.in.in: Removed configure.ac to configure.in.in as
needed by autogen.sh.
-+ 2006/07/33 mmassonnet
+
+2006-07-30 Mike Massonnet <mmassonnet at gmail.com>
+
- Remove the Add new page button. Add two buttons Add/Remove.
- Remove close eventbox from the tabs
- Don't ask confirmation to delete an empty note
- Versionning 1.3.0
-+ 2006/07/27 mmassonnet
+
+2006-07-27 Mike Massonnet <mmassonnet at gmail.com>
+
- Set vertical scrollbar policy by default to automatic
- Add a confirmation dialog on note delete
-+ 2006/07/24 mmassonnet
+
+2006-07-24 Mike Massonnet <mmassonnet at gmail.com>
+
- Fix a bug with the window size
-+ 2006/07/24 mmassonnet
+
+2006-07-24 Mike Massonnet <mmassonnet at gmail.com>
+
- Support multiple notes through a notebook
- Options: always on top, sticky, show at startup, show in task switcher
-+ 2006/07/03 mmassonnet
+
+2006-07-03 Mike Massonnet <mmassonnet at gmail.com>
+
- New release for new panel version 4.4
- The features:
- Save / load the data (amazing isn't it :)
@@ -34,26 +55,38 @@
- Panel toggle button
- Always on top and Sticky
- Remember the position of the note
-+ 2003/10/23 b0kaj
+
+2003-10-23 Jakob Henriksson <b0kaj+dev at lysator.liu.se>
+
- added a dialog to confirm deletion of a note when it is not
empty.
-+ 2003/10/21 b0kaj
+
+2003-10-21 Jakob Henriksson <b0kaj+dev at lysator.liu.se>
+
- reverted the change med yesterday about reading notes.xml
- applied margin patch from jasper
- cleaned up saving notes using timers
-+ 2003/10/20 b0kaj
+
+2003-10-20 Jakob Henriksson <b0kaj+dev at lysator.liu.se>
+
- added patch from jasper preventing Alt+F4 to close a note.
- make loading the applet to read notex.xml so that old notes
are read when applet is loaded from scratch.
-+ 2003/10/16 b0kaj
+
+2003-10-16 Jakob Henriksson <b0kaj+dev at lysator.liu.se>
+
- added bg_pixmap_name[GTK_STATE_NORMAL] = g_strdup("<none>");
to prevent themes from using bg_pixmaps when user has selected
not to use system themes/colors.
- changed version number to 0.9.7 in configure.ac
-+ 2003/10/10 b0kaj
+
+2003-10-10 Jakob Henriksson <b0kaj+dev at lysator.liu.se>
+
- applied patch from jasper containing addition of double-click
event for creating new notes and some code cleanup.
-+ 2003/10/08 b0kaj
+
+2003-10-08 Jakob Henriksson <b0kaj+dev at lysator.liu.se>
+
- Added autosave min 5 sec and max 10 sec after last edit. This
autosave buisness in order for notes not to get lost when
using "quit" on desktop menu or using ctrl+alt+del for closing
@@ -61,7 +94,9 @@
- Release version 0.9.6
- Upload into CVS at berlios.de
- Fixed problem with sticky notes, should be ok now.
-+ 2003/10/07 b0kaj
+
+2003-10-07 Jakob Henriksson <b0kaj+dev at lysator.liu.se>
+
- Added in options: sticky, better color selection, icon choice.
- Changed close button to a button instead of an event box. Makes
possible to regret close if mouse is removed from button while
@@ -71,7 +106,12 @@
- Other code cleanup
- Moved resize.png and close.png into code
- Released version 0.9.5
-+ 2003/10/06 b0kaj
+
+2003-10-06 Jakob Henriksson <b0kaj+dev at lysator.liu.se>
+
- Added GPL COPYING file
-+ 2003/10/05 b0kaj
+
+2003-10-05 Jakob Henriksson <b0kaj+dev at lysator.liu.se>
+
- Released version 0.9
+
Modified: xfce4-notes-plugin/trunk/panel-plugin/notes-window.c
===================================================================
--- xfce4-notes-plugin/trunk/panel-plugin/notes-window.c 2006-08-01 22:39:08 UTC (rev 1831)
+++ xfce4-notes-plugin/trunk/panel-plugin/notes-window.c 2006-08-02 00:22:00 UTC (rev 1832)
@@ -169,9 +169,9 @@
/* Notebook */
note->notebook = gtk_notebook_new ();
- gtk_notebook_set_tab_border (GTK_NOTEBOOK (note->notebook), 6);
gtk_widget_show (note->notebook);
+ gtk_notebook_set_tab_border (GTK_NOTEBOOK (note->notebook), 3);
gtk_notebook_set_show_tabs (GTK_NOTEBOOK (note->notebook), FALSE);
gtk_notebook_set_tab_pos (GTK_NOTEBOOK (note->notebook), GTK_POS_LEFT);
gtk_notebook_set_scrollable (GTK_NOTEBOOK (note->notebook), TRUE);
@@ -204,6 +204,7 @@
page->label = gtk_label_new (note_id);
gtk_widget_show (page->label);
+ gtk_label_set_angle (GTK_LABEL (page->label), 90);
gtk_label_set_justify (GTK_LABEL (page->label), GTK_JUSTIFY_RIGHT);
gtk_box_pack_start (GTK_BOX (page->hbox), page->label, TRUE, TRUE, 0);
@@ -358,9 +359,6 @@
NotePage *page;
GtkTextBuffer *buffer;
- if (gtk_notebook_get_n_pages (GTK_NOTEBOOK (notes->note->notebook)) == 1)
- return TRUE;
-
id = gtk_notebook_get_current_page (GTK_NOTEBOOK (notes->note->notebook));
page = (NotePage *)g_list_nth_data (notes->note->pages, id);
buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (page->text));
@@ -397,6 +395,7 @@
GtkNotebook *notebook;
GList *pages;
NotePage *page;
+ GtkTextBuffer *buffer;
gchar tab_label[8];
notebook = GTK_NOTEBOOK (notes->note->notebook);
@@ -404,6 +403,14 @@
DBG ("Delete id %d", id);
+ if (gtk_notebook_get_n_pages (notebook) == 1)
+ {
+ page = (NotePage *)g_list_nth_data (notes->note->pages, id);
+ buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (page->text));
+ gtk_text_buffer_set_text (buffer, "", -1);
+ return;
+ }
+
gtk_notebook_remove_page (notebook, id);
notes->note->pages = g_list_nth (notes->note->pages, 0);
Modified: xfce4-notes-plugin/trunk/po/ChangeLog
===================================================================
--- xfce4-notes-plugin/trunk/po/ChangeLog 2006-08-01 22:39:08 UTC (rev 1831)
+++ xfce4-notes-plugin/trunk/po/ChangeLog 2006-08-02 00:22:00 UTC (rev 1832)
@@ -1,5 +1,10 @@
-2006-08-01 Mike Massonnet <mmassonnet at gmail.com>
+2006-08-02 Mike Massonnet <mmassonnet at gmail.com>
+ * xfce4-notes-plugin.pot: update-po.
+ * fr.po: german and french has been updated.
+
+2006-08-01 Mike Massonnet <mmassonnet at gmail.com>
+
* de.po, LINGUAS : Add new German translation.
2006-07-30 Mike Massonnet <mmassonnet at gmail.com>
Modified: xfce4-notes-plugin/trunk/po/fr.po
===================================================================
--- xfce4-notes-plugin/trunk/po/fr.po 2006-08-01 22:39:08 UTC (rev 1831)
+++ xfce4-notes-plugin/trunk/po/fr.po 2006-08-02 00:22:00 UTC (rev 1832)
@@ -1,7 +1,7 @@
# French translations for the Xfce4 notes plugin.
# Copyright (C) 2003 Jakob Henriksson <b0kaj+dev at lysator.liu.se>
# 2006 Mike Massonnet <mmassonnet at gmail.com>
-# This file is distributed under the same license as the xfce4-notes-plugin
+# This file is distributed under the same license as the xfce4-notes-plugin
# package.
# Mike Massonnet <mmassonnet at gmail.com>, 2006.
# Maximilian Schleiss <maxschleiss at bluewin.ch>, 2006.
@@ -10,14 +10,15 @@
"Project-Id-Version: 1.2.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-08-01 21:40+0200\n"
-"PO-Revision-Date: 2006-07-28 13:07+0100\n"
-"Last-Translator: Maximilian Schleiss <maxschleiss at bluewin.ch>\n"
+"PO-Revision-Date: 2006-08-02 00:30+0100\n"
+"Last-Translator: Mike Massonnet <mmassonnet at gmail.com>\n"
"Language-Team: French <xfce-i18n at xfce.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: ../panel-plugin/notes.c:244 ../panel-plugin/notes-options.c:59
+#: ../panel-plugin/notes.c:244
+#: ../panel-plugin/notes-options.c:59
#: ../panel-plugin/notes-window.c:62
#: ../panel-plugin/xfce4-notes-plugin.desktop.in.in.h:1
msgid "Notes"
@@ -28,14 +29,12 @@
msgstr "Propriétés"
#: ../panel-plugin/notes-options.c:78
-#, fuzzy
msgid "Show notes at startup"
-msgstr "Afficher les notes au démarrage"
+msgstr "Afficher au démarrage"
#: ../panel-plugin/notes-options.c:86
-#, fuzzy
msgid "Show in the task list"
-msgstr "Afficher dans le changement de tâche"
+msgstr "Afficher dans le gestionnaire de tâches"
#: ../panel-plugin/notes-options.c:96
msgid "Always on top"
@@ -43,24 +42,25 @@
#: ../panel-plugin/notes-options.c:105
msgid "Stick mode"
-msgstr "Mode permanent"
+msgstr "Coller sur tous les bureaux"
+# is deprecated
#: ../panel-plugin/notes-options.c:117
msgid "Always show vertical scrollbar"
-msgstr "Toujours afficher la barre de défilement verticale"
+msgstr ""
+# is deprecated
#: ../panel-plugin/notes-options.c:121
msgid "A restart of the panel is needed"
-msgstr "Un redémarrage du panneau est nécessaire"
+msgstr ""
#: ../panel-plugin/notes-window.c:99
msgid "Create new note"
-msgstr ""
+msgstr "Créer une nouvelle note"
#: ../panel-plugin/notes-window.c:115
-#, fuzzy
msgid "Delete this note"
-msgstr "Supprimer une page"
+msgstr "Supprimer cette note"
#: ../panel-plugin/notes-window.c:140
msgid "<b>Notes</b>"
@@ -72,10 +72,10 @@
#: ../panel-plugin/xfce4-notes-plugin.desktop.in.in.h:2
msgid "Notes plugin for the Xfce4 desktop"
-msgstr "Greffon de notes Post-It pour le bureau Xfce4"
+msgstr "Des Post-It pour le bureau Xfce4"
#~ msgid "Notes Plugin"
#~ msgstr "Greffon Notes"
-
#~ msgid "Open a new page"
#~ msgstr "Ouvrir une nouvelle page"
+
More information about the Goodies-commits
mailing list