2008-05-02 Mike Massonnet Fix compilation without xfconf * panel-plugin/notes-properties-dialog.c: - Add HAVE_XFCONF checks * panel-plugin/notes.h: - Fix bad copy/paste 2008-04-30 Mike Massonnet Fix container spacing in properties dialog * panel-plugin/notes-properties-dialog.c(prop_dialog_new): - Drop border within children 2008-04-30 Mike Massonnet Rename the channels and some properties; make the panel plugin options work; * src/defines.h, src/notes-properties-dialog.c, src/notes.c, src/notes.h, src/panel-plugin.c: - Define the channel names - Make use of new channel/property names * src/notes.c: * src/panel-plugin.c: - Attach a callback to "property-changed" signal on the panel plugin channel - Update arrow visibility - Update taskbar hint for the windows 2008-04-29 Mike Massonnet Add an arrow button (ftm not hideable) * panel-plugin/notes.h: - Two new widgets in NotesPlugin struct, a XfceHVBox and XfceArrowButton * panel-plugin/panel-plugin.c: - Add arrow button beneath panel button - Display the menu on toggle - Attach a callback to "orientation-changed" (NOTE: position-changed may be better suited but doesn't exist) 2008-04-28 Mike Massonnet Add missing properties dialog * panel-plugin/notes-properties-dialog.c, panel-plugin/notes-properties-dialog.h: - Properties dialog with 3 callbacks 2008-04-27 Mike Massonnet Add configuration dialog (need xfconf) * configure.in.in: - Add optional build flag for the configuration dialog * panel-plugin/Makefile.am: - Add build deps and compilation for new files * panel-plugin/defines.h: - New file with common defines * panel-plugin/notes.c(notes_window_new_with_label): - Get default window geometry with xfconf (optional) - Drop gtk_tooltips, and put gtk_tooltip instead (only with GTK+>=2.12.0) * panel-plugin/notes.c(notes_window_load_data): - Load default data from xfconf (optional) * panel-plugin/notes.h: - Quick clean up * panel-plugin/panel-plugin.c: - Add optional "configure-plugin" callback 2007-12-24 Mike Massonnet * panel-plugin/notes.c(notes_window_load_data): Reset window title after we pick up an automatic window name. 2007-12-23 Mike Massonnet * panel-plugin/panel-plugin.c(notes_plugin_free): Correctly unref ThunarVfs 2007-12-23 Mike Massonnet * panel-plugin/notes.h: Add delete boolean on NotesNote. Declare notes_window_get_note_by_name outside. Add interactive delete function for a window. * panel-plugin/notes.c(notes_window_delete), panel-plugin/notes.c(notes_window_destroy), panel-plugin/notes.c(notes_window_menu_new): Separate interactive delete out from _destroy. * panel-plugin/notes.c(notes_window_get_note_by_name): Return the pointer of a NotesNote by comparing its name. * panel-plugin/notes.c(notes_window_fs_event), panel-plugin/notes.c(notes_note_new): Set a boolean "delete" to TRUE or FALSE. It keeps the CPU cycles lower when it comes to refresh the NotesNote. The fs event on NotesPlugin takes care of the refresh. * panel-plugin/notes.c(notes_note_destroy): Read the id from the GSList or it breaks the delete process of the NotesNote if the Tab doesn't have the focus. * panel-plugin/panel-plugin.c(notes_plugin_get_window_by_name): Returns the NotesWindow po 2007-12-23 Mike Massonnet * configure.in.in, panel-plugin/Makefile.am, panel-plugin/notes.c, panel-plugin/notes.h, panel-plugin/panel-plugin.c: Add file system monitoring. 2007-12-23 Mike Massonnet * panel-plugin/notes-window.*: Delete old files from VCS. 2007-12-23 Mike Massonnet * README: Polish a bit the readme 2007-12-23 Mike Massonnet * panel-plugin/xfce4-popup-notes.c: Check for GTK version. 2007-10-29 Mike Massonnet * panel-plugin/notes.c: Add some comments around a bit 2007-10-29 Mike Massonnet * panel-plugin/notes.c: Rename functions around title press/release 2007-10-27 Mike Massonnet * panel-plugin/notes.c(notes_window_start_move), panel-plugin/notes.c(notes_window_timeout_start_move), panel-plugin/notes.c(notes_window_timeout_start_move_destroy), panel-plugin/notes.c(notes_window_new_with_label): Delay the start_move window a bit (1OOms) with a timeout, and kill it on-release. 2007-10-24 kelnos * configure.in.in: remove trailing parens on AC_INIT version info to work around bug in intltool 0.35.x and 0.36.x 2007-10-10 Mike Massonnet * === Release 1.6.0 === * ChangeLog, README, NEWS: Update files. * configure.in.in: Add comment. * panel-plugin/panel-plugin.c(notes_plugin_message_received), panel-plugin/xfce4-popup-notes.c(main), panel-plugin/xfce4-popup-notes.h: New GOption interface for the xfce4-popup-notes command. Possibility to show the menu, or to show/hide all windows. 2007-10-09 Mike Massonnet * panel-plugin/notes.c(notes_window_show): Call gtk_window_present followed by gdk_window_raise. * panel-plugin/notes.c(notes_window_show): Deiconify the window (in a certain case it will break the window is left iconified). * panel-plugin/notes.c(notes_note_save_data): Save the data only if the NotesNote->timeout is set. * panel-plugin/panel-plugin.c(notes_plugin_new), panel-plugin/panel-plugin.c(notes_plugin_destroy_timeout), panel-plugin/panel-plugin.c(notes_plugin_button_pressed), panel-plugin/panel-plugin.c(notes_plugin_button_released), panel-plugin/panel-plugin.c(notes_plugin_show_hide_windows), panel-plugin/panel-plugin.c(notes_plugin_menu_popup): Change the behavior of the panel button to show all/hide all windows on click, and display the popup menu on timeout while the button is left pressed. * panel-plugin/panel-plugin.c(notes_plugin_menu_destroy): Check the menu pointer to dettach it. * panel_plugin/panel-plugin.c(notes_plugin_message_received): Call function notes_plugin_show_hide_windows() by default. 2007-10-07 Mike Massonnet * panel-plugin/notes.c(notes_window_new_with_label): Remove add/delete note accelerators. * panel-plugin/notes.c(notes_window_menu_new): Rework the menu a bit, and add menu items with accelerators to add/delete a note. 2007-10-01 Mike Massonnet * panel-plugin/notes.c(notes_window_load_data): Set the first tab as current. 2007-09-30 Mike Massonnet * panel-plugin/notes.c(notes_window_set_font_dialog), panel-plugin/notes.c(notes_note_set_font): Two new functions to set the default font in the window. 2007-09-29 Mike Massonnet * panel-plugin/Makefile.am: Add compilation for xfce4-popup-notes. * panel-plugin/panel-plugin.c, panel-plugin/xfce4-popup-notes.c: Add two new functions notes_plugin_message_received() and notes_plugin_set_selection(). * panel-plugin/panel-plugin.c(notes_plugin_new), panel-plugin/panel-plugin.c(notes_plugin_menu_popup): Changed the "event" signal with a "clicked" signal for btn_panel. 2007-09-26 Mike Massonnet * configure.in.in: Check for math.h (rint()). * panel-plugin/notes.c(notes_window_set_transparency): New function to set the opacity of the window. * panel-plugin/notes.c(notes_window_scroll_event): Update the opacity on scroll with the GDK_MOD1_MASK state on. * panel-plugin/notes.c(notes_window_new_with_label), panel-plugin/notes.c(notes_note_new): Load data before connecting the signals. * panel-plugin/notes.c(notes_plugin_save_data_all): New function, saves all the NotesNote on free/quit overmore the NotesWindow. 2007-09-27 Mike Massonnet * panel-plugin/notes.c(notes_window_rename), panel-plugin/notes.c(notes_note_rename): Return the result of g_rename. * panel-plugin/notes.c(notes_window_rename_dialog), panel-plugin/notes.c(notes_note_rename_dialog): Display an error message with xfce_message_dialog() if the rename failed. * panel-plugin/notes.c(notes_window_menu_new): Rename menu items and drop images. Add rename note with accelerator (F2). * panel-plugin/notes.c(notes_note_new): Set label angle to 90° in the tabs. * panel-plugin/notes.c(notes_window_rename_note_dialog): Convenience function to rename a NotesNote->name through a NotesWindow (with its accelerator). * panel-plugin/notes.c(notes_note_rename_dialog): New dialog to rename a note. * panel-plugin/notes.c(notes_note_rename): New rename function for a note. * panel-plugin/notes.c(notes_note_sort_names): Reorder tabs in notebook too. 2007-09-26 Mike Massonnet * panel-plugin/{notes.c,notes.h,panel-plugin.c}: Remove config.h from notes.h and put it in each .c file, this way we do have debugging information. * panel-plugin/notes.c(notes_window_new_with_label), panel-plugin/notes.c(notes_window_menu_new): Use smarter accelerators. * panel-plugin/notes.c(notes_window_show), panel-plugin/notes.c(notes_window_hide): Unshade on hide and if visible on show too. * panel-plugin/notes.c(notes_window_unshade): Resize only if the window is visible. 2007-09-23 Mike Massonnet * panel-plugin/{notes.{c,h},panel-plugin.c}: Save NotesNote data on buffer changes. * panel-plugin/notes.c(notes_note_key_pressed): Implement cycle through tabs (Shift+Ctrl+0..9 and Ctrl+PageUp/Down). * panel-plugin/notes.{c,h}: Set window menu static, and put the dynamic menu items (window options) in a sub-menu. * panel-plugin/notes.c(notes_window_new_with_label): Switched the "event" signal with a simple "clicked" signal so we can show the menu with an Accelerator. * panel-plugin/notes.c(notes_window_new_with_label), panel-plugin/notes.c(notes_window_menu_new): Add accelerators and tooltips to the window. * panel-plugin/notes.c(notes_window_rename): Update gtk_window_set_title. * panel-plugin/panel-plugin.c(notes_plugin_menu_new): Add “New window” menu item. * panel-plugin/notes.c(notes_window_destroy): Ask for confirmation if the NotesNote contents is not empty. Re-init a new NotesNote if the last one is destroyed. * panel-plugin/notes.c(notes_window_set_statusbar): Fix visibility of notebook when the statusbar option is switched. * panel-plugin/notes.c(notes_window_strcasecmp): Use g_utf8_collate_key_for_filename to sort 10 after 9 and not 1. * panel-plugin/notes.c(notes_window_get_current_note): New function to return the current NotesNote in a NotesWindow. * panel-plugin/notes.c(notes_window_delete_note): Implement click on delete note button (half done). * panel-plugin/notes.c(notes_note_new): Insert note in GSList with sort function. Play with the notebook to set the current page. Take a name in function parameter (this fixes an issue in function _load_data). * panel-plugin/notes.c(notes_window_add_note): No more need to play with the notebook when we add a new note. * panel-plugin/notes.c(notes_note_load_data): If the name of NotesNote is NULL search an unused id starting from 1. * panel-plugin/notes.c(notes_note_sort_names), panel-plugin/notes.c(notes_note_strcasecmp) : Implement two sort functions. 2007-09-19 Mike Massonnet * panel-plugin/notes.c: Fix implementation for shade/unshade. Implement click on add note button. 2007-09-18 Mike Massonnet * panel-plugin/panel-plugin.c(notes_plugin_menu_popup), panel-plugin/notes.c(notes_window_menu_popup): We don't need to look the state of the toggle button to popup the menu. * panel-plugin/panel-plugin.c(notes_plugin_menu_new): gtk_menu_set_screen with the panel button (_NOT_ NULL) so other buttons in the window won't get any relief when the mouse is over. xfce_panel_plugin_register_menu for consistence with the auto hiding of the panel. * panel-plugin/panel-plugin.c(notes_plugin_menu_popup): Check that the Control button is not pressed, since it displays the context menu of the panel and we won't mix this with or own menu. Pass the notes_plugin pointer to notes_plugin_menu_position user_data. * panel-plugin/panel-plugin.c(notes_plugin_menu_position): Fix menu position for vertical panels. * panel-plugin/{notes,panel-plugin}.c: Replace the buttons for the menus with toggle buttons. * panel-plugin/notes.c(notes_window_load_data): If the name isn't set, look for a non-existent id. * panel-plugin/notes.c(notes_window_menu_new): Attach rename item to notes_window_rename_dialog instead of notes_window_rename. * panel-plugin/notes.c(notes_window_rename_dialog): Only show the dialog, and call notes_window_rename if needed. * panel-plugin/notes.c(notes_window_rename): Implement simple rename function for NotesWindow. * panel-plugin/notes.c(notes_window_new_with_label): Use sort functions to add new NotesWindow in the GSList. * panel-plugin/notes.c(notes_window_sort_names): Sort the GSList of windows. * panel-plugin/notes.c(notes_window_strcasecmp): Compare name of first NotesWindow with second NotesWindow. * panel-plugin/notes.c(notes_window_destroy,notes_note_destroy): Implement destroy functions. 2007-09-14 Mike Massonnet * panel-plugin/notes.c: Read contents of notes and put them in the window. * panel-plugin/notes.c: Implement rename window function. 2007-09-13 Mike Massonnet * panel-plugin/notes.c(notes_window_show): Show and present the window if already visible. * panel-plugun/panel-plugin.c: Set in/sensitivity of the icon given the visibility state of the window. * icons/: Remove the icons with hidden style. * panel-plugin/{notes.c,panel-plugin.c}: Add menu positionning function. * icons/: Add icons with hidden style. * panel-plugin/{panel-plugin.c,notes.c,notes.h}: Hacking around the menus for the panel and the window. NotesWindow: Fixed ShowOnStartup, Above, Sticky status. NotesPlugin: Switch hide/show state of the windows with either a greyed or plain colors icon. 2007-09-10 Mike Massonnet * panel-plugin/notes.c: Set skip pager hint. 2007-09-09 Mike Massonnet * panel-plugin/{notes.{c,h},panel-plugin.c}: First window options in a menu (keep above, sticky, show on startup, new window). 2007-09-08 Mike Massonnet * panel-plugin/notes.c: Shade window function. Start move/send to background/send to foreground window function. Fix window names. * panel-plugin/*: Make the plugin runnable. 2007-09-07 Mike Massonnet * */**/: Initial code rewrite for multiple window support and a better way to save the notes. All features have to be backported on this new code base. *EXPERIMENTAL CODE* 2007-07-29 Mike Massonnet * panel-plugin/notes-window.c: Raise window on click, and unraise on middle click. * panel-plugin/notes.c: No more tooltip for the button panel. * configure.in.in: Bump version post-release. * INSTALL: Remove autogenerated file. 2007-01-16 Mike Massonnet * === Released 1.4.1 === * Makefile.am, configure.in.in, icons: Initial import of icons stol^Wtaken from stickynotes applet from the GNOME project. * panel-plugin/notes.c: Use the xfce4-notes-plugin icon. 2006-11-26 Mike Massonnet * === Released 1.4 === * panel-plugin/notes.c: Fix a bug with the task_switcher. * panel-plugin/notes.c: Don't focus the notebook. 2006-11-25 Mike Massonnet * po/{*,fr,de}: make update-po. Update french and german. * panel-plugin/{notes-options.c,notes-window.h,notes-window.c, notes.h,notes.c}: Add a resize grip (GtkStatusbar), and the option for it. 2006-10-09 Mike Massonnet * panel-plugin/notes-options.c: Change window icon from panel to settings. 2006-10-03 Mike Massonnet * panel-plugin/notes.{c,h}: Add a default behavior to reset the last state of the visibility of the window after restart. * po/*: update-po. 2006-09-24 Mike Massonnet * panel-plugin/{notes.c,notes-window.c}: Unshade on new page. 2006-09-17 Mike Massonnet * panel-plugin/notes-window.c: Cycle through the tabs. * panel-plugin/notes.c, panel-plugin/notes-window.c: Use a unique RC file. 2006-09-06 Mike Massonnet * === Released 1.3.99.1 === * configure.in.in: Tag version 1.3.99.1. * panel-plugin/Makefile.am: Add compilation for xfce4-popup-notes. * panel-plugin/xfce4-popup-notes.{c,h}: New files, derivated from xfce4-popup-windowlist. * panel-plugin/notes.c: Add message receiver for the xfce4-popup-notes source. Shows/hides the notes when called. 2006-08-30 Mike Massonnet * panel-plugin/notes.c: Use rc groups. * panel-plugin/notes-window.c: Revert the question if only the tab is edited. Use a save-timeout when a page is closed. * panel-plugin/notes.{c,h}, panel-plugin/notes-options.c: Still remove deprecated code. * panel-plugin/notes.c, panel-plugin/notes-window.c: Clean up save_on_timeout() and make better use of it (on close a page). Add save_on_timeout_execute(). * panel-plugin/notes.{c,h}, panel-plugin/notes-window.c: Changed the panel toggled button against a classic panel button. Use a simple signal clicked instead of button-press-event for the panel button. * panel-plugin/notes-window.c: Use default activation in the rename dialog. 2006-08-14 Mike Massonnet * panel-plugin/notes-window.c: - Add CTRL+Page_Down/Up on key press from the GtkTextView to navigate through the notes. - Add F2 on key press from the GtkTextView to rename (new function note_page_rename). 2006-08-12 Mike Massonnet * panel-plugin/notes-options.c: Remove more deprecated code. * panel-plugin/notes-window.c: Add accelerators for New note and Close note (Ctrl+N and Ctrl+W). 2006-08-09 Mike Massonnet * panel-plugin/notes-window.c: Set angle 90 if the label is dirty (it looks cool this way, I'm liking it:)). * panel-plugin/notes-options.c: Remove deprecated code. * po/xfce4-notes-plugin.pot, po/*.po: update. 2006-08-08 Mike Massonnet * === Released 1.3.90.2 === * panel-plugin/notes-window.c: Add a 3 pixel border around the tab label text. Rename the tabs on double clicking the tab label. * panel-plugin/notes-window.c: I have forget to check for the response of the dialog ... 2006-08-05 Mike Massonnet * panel-plugin/notes.c: Fix resize issue after the window has been hidden while shaded. 2006-08-02 Mike Massonnet * 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. * panel-plugin/notes-window.{c,h}: Remove hbox, pack the text label directly in the tab. Remove set_tab_border (it is said to be deprecated in newly written code). Try a new design for the tabs. They are packed at left from bottom to top. 2006-08-01 Jannis Pohlmann * 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 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 Pohlmann * configure.in.in: Removed configure.ac to configure.in.in as needed by autogen.sh. 2006-07-30 Mike Massonnet - 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 Mike Massonnet - Set vertical scrollbar policy by default to automatic - Add a confirmation dialog on note delete 2006-07-24 Mike Massonnet - Fix a bug with the window size 2006-07-24 Mike Massonnet - Support multiple notes through a notebook - Options: always on top, sticky, show at startup, show in task switcher 2006-07-03 Mike Massonnet - New release for new panel version 4.4 - The features: - Save / load the data (amazing isn't it :) - Moving the note without holding ALT (brilliant :) - Show/hide the note (kikoo) - Close button on the upper right corner - Escape touch - Panel toggle button - Always on top and Sticky - Remember the position of the note 2003-10-23 Jakob Henriksson - added a dialog to confirm deletion of a note when it is not empty. 2003-10-21 Jakob Henriksson - reverted the change med yesterday about reading notes.xml - applied margin patch from jasper - cleaned up saving notes using timers 2003-10-20 Jakob Henriksson - 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 Jakob Henriksson - added bg_pixmap_name[GTK_STATE_NORMAL] = g_strdup(""); 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 Jakob Henriksson - applied patch from jasper containing addition of double-click event for creating new notes and some code cleanup. 2003-10-08 Jakob Henriksson - 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 X. - Release version 0.9.6 - Upload into CVS at berlios.de - Fixed problem with sticky notes, should be ok now. 2003-10-07 Jakob Henriksson - 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 still pressed down. - Added better tooltips to applet icon in panel. - Made note title editable by double-click - Other code cleanup - Moved resize.png and close.png into code - Released version 0.9.5 2003-10-06 Jakob Henriksson - Added GPL COPYING file 2003-10-05 Jakob Henriksson - Released version 0.9