aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/quick-view.c
Commit message (Collapse)AuthorAgeFilesLines
* Added Korean font to the fontset string. Likewise.Changwoo Ryu1999-02-271-1/+1
| | | | | | | | | | | | | | | 1999-02-27 Changwoo Ryu <cwryu@adam.kaist.ac.kr> * quick-view.c (QUICK_VIEW_FONTSET): Added Korean font to the fontset string. * mark.h (*_FONTSET): Likewise. 1999-02-27 Changwoo Ryu <cwryu@adam.kaist.ac.kr> * canvas.c (*_FONTSET): Added Korean fonts to the each fontset strings. svn path=/trunk/; revision=707
* will define fonts via fontset. Friendlier to locales that use iso8859-[^1]Sergey I. Panov1999-02-181-3/+3
| | | | | | | | | | | | | * gnome-month-item.c,gnome-month-item.h,goto.c,mark.h, month-view.c,prop.c,quick-view.c,year-view.c: will define fonts via fontset. Friendlier to locales that use iso8859-[^1] and koi8-r encodings. Does not solve problem for Asian languiges --- better solution is needed (e.g. standart GNOME fontstyles defined in gtkrc). Interpol svn path=/trunk/; revision=677
* Do not grab the mouse here (it was being grabbed incorrectly, anyways).Federico Mena Quintero1999-01-201-25/+35
| | | | | | | | | | | | 1999-01-19 Federico Mena Quintero <federico@nuclecu.unam.mx> * quick-view.c (quick_view_do_popup): Do not grab the mouse here (it was being grabbed incorrectly, anyways). (quick_view_map_event): Grab the mouse when the window is mapped. This avoids the ugly "while (xGrabPointer () != Success)" hack. (quick_view_button_release): Handle button releases here. svn path=/trunk/; revision=613
* s/g_copy_strings/g_strconcat/Jeff Garzik1998-12-311-1/+1
| | | | svn path=/trunk/; revision=566
* Use the allocation size instead of the old fields in the canvas structure.Federico Mena Quintero1998-12-151-1/+1
| | | | | | | | | 1998-12-14 Federico Mena Quintero <federico@nuclecu.unam.mx> * year-view.c (idle_handler): Use the allocation size instead of the old fields in the canvas structure. svn path=/trunk/; revision=523
* s/gtk_window_position/gtk_window_set_position/Sebastian Wilhelmi1998-12-021-2/+2
| | | | | | | s/gtk_window_position/gtk_window_set_position/ s/gtk_container_border_width/gtk_container_set_border_width/ svn path=/trunk/; revision=498
* Do some cleanup; now we pass a struct with the layout algorithm's stateFederico Mena Quintero1998-10-091-1/+1
| | | | | | | | | | | | | | | | | | | | | 1998-10-08 Federico Mena Quintero <federico@nuclecu.unam.mx> * layout.c: Do some cleanup; now we pass a struct with the layout algorithm's state instead of passing a trillion parameters around. * gncal-full-day.c (layout_children): Use the new generic layout engine. (child_compare): Sort keys are start time then end time, not just start time. This produces somewhat nicer results for the layout algorithm. The new layout code uses a partition of the time range occupied by the events, rather than using a fixed time granularity. This is better since the different parts of the program that use the layout module will have different semantics regarding snapping the event bounds to a fixed "time grid". svn path=/trunk/; revision=434
* Stuff that I forgot to commit yesterday.Federico Mena Quintero1998-10-011-41/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stuff that I forgot to commit yesterday. Now the year view has a nifty pop-up view you can activate if you click on a day with mouse button 1. It will display a quick view of the appointments in that day. Also, reworked the marking and coloring code for month items so that the year view is not glacially slow anymore when switching years. It still is slow when first mapping or realizing the year view, I'm not sure why. I will look into that. 1998-09-29 Federico Mena Quintero <federico@nuclecu.unam.mx> * prop.c (fetch_color_spec): Changed name from fetch_prelight_spec and made it conform to the new prelighting mechanism. (fake_mark_days): Set the proper day attributes. (reconfigure_month): Use colorify_month_item(). (fake_mark_days): Use mark_month_item_index(). * mark.c (colorify_month_item): New public function to reset the colors in a month item. (get_attributes): New internal function that creates an array of attributes for the days in a month item. This is the basis of all the new optimizations to month item marking. (unmark_month_item): Now it uses the attributes array to unmark only the days that need unmarking. (mark_event_in_month): Update the day attributes array. (month_item_prepare_prelight): Changed the definition of the prelight color query function. Use the new function. (day_event): Do color changes based on the day attributes array. (mark_month_item_index): New public function to mark a single day by index. (mark_event_in_month): Use mark_month_item_index(). * gnome-month-item.c (gnome_month_item_num2child): Now takes an int, not a GnomeMonthItemChild. (gnome_month_item_child2num): Now returns an int, not a GnomeMonthItemChild. (gnome_month_item_num2day): Now takes an int, not a GnomeMonthItemChild. * goto.c (goto_dialog): Create the days before the year spin button, because the year_changed callback expects the month item to be created. The new semantics of the spin button cause it to emit a value_changed signal on the adjustment upon creation -- is this the behavior we want from it? (goto_dialog): Use gtk_window_set_modal() instead of the deprectaed gnome_dialog_set_modal(). * quick-view.c (quick_view_new): Make it look not as crappy by putting the title inside the frame. (quick_view_do_popup): Fixed the pointer grab and added a cursor. (create_items_for_event): Query the text width/height from the text item using the new object arguments, so that the size of the popup window can be set properly. * year-view.c (do_quick_view_popup): Calculate a nice date string for the popup window. svn path=/trunk/; revision=415
* New file that presents a quick view of the events in a particular day whenFederico Mena Quintero1998-09-291-0/+217
1998-09-28 Federico Mena Quintero <federico@nuclecu.unam.mx> * quick-view.[ch]: New file that presents a quick view of the events in a particular day when the mouse is clicked on the year view. Work in progress. * year-view.c (do_quick_view_popup): New function that creates a quick view for the events in a day. * Makefile.am (gnomecal_SOURCES): Added quick-view.[ch] to the list of sources. svn path=/trunk/; revision=413