aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-sidebar.c
Commit message (Collapse)AuthorAgeFilesLines
* track hbox and label widget (button_free): unref themJP Rosevear2004-01-121-36/+192
| | | | | | | | | | | | | | | | | | | | | 2004-01-11 JP Rosevear <jpr@ximian.com> * e-sidebar.c (button_new): track hbox and label widget (button_free): unref them (do_layout_text_buttons): layout buttons with text (do_layout_icon_buttons): layout icon only buttons (do_layout): layout based on mode (impl_size_request): distinguish between horizontal and vertical padding (init): set a default mode (e_sidebar_add_button): align the button text to the left, only add the text if we are in the text mode (e_sidebar_get_mode): accessor (e_sidebar_set_mode): accessor * e-sidebar.h: add prototype and mode enum svn path=/trunk/; revision=24163
* remove padding around the folder list. (impl_size_request): don't addNot Zed2003-12-111-6/+4
| | | | | | | | | 2003-12-11 Not Zed <NotZed@Ximian.com> * e-sidebar.c (do_layout): remove padding around the folder list. (impl_size_request): don't add padding around folder list. svn path=/trunk/; revision=23917
* Call e_sidebar_select_button() instead of switch_view().Ettore Perazzoli2003-11-131-24/+52
| | | | | | | | | | * e-shell-window.c (e_shell_window_switch_to_component): Call e_sidebar_select_button() instead of switch_view(). * e-sidebar.c (update_buttons): New helper function. (e_sidebar_select_button): New. svn path=/trunk/; revision=23299
* Add a little border to the buttons so it looks nicer.Ettore Perazzoli2003-10-231-0/+1
| | | | | | | | | | * e-sidebar.c (e_sidebar_add_button): Add a little border to the buttons so it looks nicer. * e-component-registry.c (query_components): Set an icon from the "evolution:button_icon" attribute. svn path=/trunk/; revision=23023
* (PADDING): Increase to 6 pixels.Ettore Perazzoli2003-10-231-4/+31
| | | | | | | | | | | (button_toggled_callback): Add a cast. (e_sidebar_set_selection_widget): Handle the NULL widget case properly. (impl_remove): New, implementation for GtkContainer::remove. (do_layout): Add padding between the selection_widget and the button box. svn path=/trunk/; revision=22989
* Add an "evolution:button_label" property on the component for use in theEttore Perazzoli2003-10-231-0/+397
* gui/component/GNOME_Evolution_Addressbook.server.in.in: Add an "evolution:button_label" property on the component for use in the shell. * gui/GNOME_Evolution_Calendar.server.in.in: Add an "evolution:button_label" property on the component for use in the shell. * GNOME_Evolution_Mail.server.in.in: Add an "evolution:button_label" attribute to the Component for use in the shell. * e-shell-window.c (struct _ComponentView): New member button_id. (struct _EShellWindowPrivate): New member sidebar. (component_new_new): Get a button_id arg. (component_button_clicked_callback): Removed. (sidebar_button_selected_callback): New. (create_component_button): Removed. (setup_widget): Set up the sidebar using ESidebar and hook up its "button_selected" signal. Also get the component name from a property on the server info. (e_shell_window_new): Use BASE_VERSION for the version in the app name instead of hardcoding "1.5". * e-sidebar.c: New. * e-sidebar.h: New. svn path=/trunk/; revision=22988