Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Switch license to GPLv3 or later. | Glenn Morris | 2007-07-25 | 1 | -1/+1 |
| | |||||
* | (xg_update_menubar, create_menus): Create empty | Jan Djärv | 2007-04-27 | 1 | -1/+9 |
| | | | | submenu for menu bar items. | ||||
* | (xg_update_menubar): Call g_list_next after moving | Jan Djärv | 2007-04-03 | 1 | -0/+1 |
| | | | | menu bar item. | ||||
* | (update_frame_tool_bar): Initialize h/vmargin to 0. | Jan Djärv | 2007-01-31 | 1 | -1/+1 |
| | |||||
* | (xg_initialize): Call XftInit if HAVE_XFT. | Jan Djärv | 2007-01-26 | 1 | -0/+5 |
| | |||||
* | Add 2007 to copyright years. | Glenn Morris | 2007-01-21 | 1 | -1/+1 |
| | |||||
* | (menuitem_highlight_callback): Invoked widget is the | Jan Djärv | 2007-01-02 | 1 | -55/+25 |
| | | | | | | | | parent of the menu item. Get menu item widget from event. (xg_create_one_menuitem, xg_update_menu_item): highlight_id and unhighlight_id has been removed. (create_menus): Connect enter/leave-notify-event to the menu instead of individual items. | ||||
* | (update_frame_tool_bar): Connect create-menu-proxy with | Jan Djärv | 2006-12-31 | 1 | -1/+95 |
| | | | | | | xg_tool_bar_menu_proxy. (xg_tool_bar_menu_proxy): New function. (xg_tool_bar_proxy_callback): New function. | ||||
* | (xg_tool_bar_button_cb): Save last modifier on widget. | Jan Djärv | 2006-12-30 | 1 | -79/+56 |
| | | | | | | (xg_tool_bar_callback): Remove check for button. (update_frame_tool_bar): Put an event box in the tool bar and a button in the event box. Attach enter/leave-notify-event to the event box. | ||||
* | (update_frame_tool_bar): Handle modifying a toolbar item | Jan Djärv | 2006-12-03 | 1 | -6/+27 |
| | | | | without an image. | ||||
* | * gtkutil.c (update_frame_tool_bar): If icon image is invalid and | Chong Yidong | 2006-11-04 | 1 | -1/+6 |
| | | | | wicon is null, insert an empty button. | ||||
* | * gtkutil.c (get_utf8_string): Remove warnings with casts. | Jan Djärv | 2006-10-16 | 1 | -8/+10 |
| | | | | | (xg_tool_bar_button_cb): Ditto (xg_tool_bar_callback): Ditto. | ||||
* | Whitespace fix. | Richard M. Stallman | 2006-09-23 | 1 | -1/+1 |
| | |||||
* | * gtkutil.c (xg_get_file_with_chooser): Only chow C-l help for | Jan Djärv | 2006-09-22 | 1 | -1/+3 |
| | | | | Gtk+ versions < 2.10. | ||||
* | * gtkutil.c (xg_get_file_with_chooser): Rename x_gtk_show_chooser_help_text to | Jan Djärv | 2006-09-18 | 1 | -3/+3 |
| | | | | x_gtk_file_dialog_help_text. | ||||
* | * gtkutil.c (xg_uses_old_file_dialog): Rename x-use-old-gtk-file-dialog | Jan Djärv | 2006-09-18 | 1 | -2/+2 |
| | | | | to x-gtk-use-old-file-dialog. | ||||
* | * gtkutil.c (xg_get_file_with_chooser): Check | Jan Djärv | 2006-09-16 | 1 | -9/+16 |
| | | | | x-gtk-show-chooser-help-text before adding the help text. | ||||
* | * gtkutil.c (get_utf8_string): Try harder to convert to UTF8. Gtk+ | Jan Djärv | 2006-09-16 | 1 | -1/+57 |
| | | | | will simply crash if we fail. | ||||
* | * gtkutil.c (xg_display_close): Always change default display if needed, | Jan Djärv | 2006-09-10 | 1 | -9/+7 |
| | | | | check for < Gtk+ version 2.10 before calling gdk_display_close. | ||||
* | * gtkutil.c (xg_get_file_with_chooser): Don't mention specific keys in | Jan Djärv | 2006-09-04 | 1 | -10/+10 |
| | | | | | the file chooser message. Only call gtk_file_chooser_set_current_name when action is SAVE. | ||||
* | * gtkutil.c (xg_get_file_with_chooser): Change file chooser message | Jan Djärv | 2006-09-02 | 1 | -8/+19 |
| | | | | | for writing files. Call gtk_file_chooser_set_current_name to keep default filename. | ||||
* | * gtkutil.c (menu_nav_ended): Check that menubar_widget is not NULL. | Jan Djärv | 2006-06-02 | 1 | -5/+9 |
| | |||||
* | * gtkutil.c (menu_nav_ended): Change x-menu-bar-start to menu-bar-open. | Jan Djärv | 2006-06-01 | 1 | -1/+1 |
| | |||||
* | Connect menu_nav_ended to "selection-done" to fix grabs | Jan Djärv | 2006-05-29 | 1 | -0/+30 |
| | |||||
* | * gtkutil.c (xg_get_image_for_pixmap): If x_find_image_file returns | Jan Djärv | 2006-02-24 | 1 | -11/+7 |
| | | | | | nil the image file has been removed, in that case use the (cached) pixmap. | ||||
* | (malloc_widget_value): Use xmalloc. | Richard M. Stallman | 2006-02-20 | 1 | -1/+1 |
| | |||||
* | Indentation fix | Jan Djärv | 2006-02-15 | 1 | -3/+3 |
| | |||||
* | * gtkutil.c (xg_tool_bar_detach_callback): Set show-arrow to the | Jan Djärv | 2006-02-14 | 1 | -0/+5 |
| | | | | value of x-gtk-whole-detached-tool-bar. | ||||
* | * gtkutil.c (xg_tool_bar_button_cb): New function. | Jan Djärv | 2006-02-14 | 1 | -1/+30 |
| | | | | | | | (xg_tool_bar_callback): Call x_x_to_emacs_modifiers to store modifiers in event. (update_frame_tool_bar): Connect button-release-event to xg_tool_bar_button_cb. | ||||
* | Update years in copyright notice; nfc. | Thien-Thi Nguyen | 2006-02-06 | 1 | -1/+1 |
| | |||||
* | * gtkutil.c (update_frame_tool_bar): Use new tool bar functions | Jan Djärv | 2006-01-31 | 1 | -32/+32 |
| | | | | (gtk_toolbar_insert) so we can have tool bars of different sizes. | ||||
* | * gtkutil.c (xg_toggle_notify_cb): New function. | Jan Djärv | 2006-01-09 | 1 | -3/+45 |
| | | | | | | | (xg_toggle_visibility_cb): Move setting of x_gtk_show_hidden_files to xg_toggle_notify_cb. (xg_get_file_with_chooser): Add callback to xg_toggle_notify_cb when parameter value changes so the toggle button gets updated. | ||||
* | * gtkutil.c (xg_get_image_for_pixmap): If the image is from a file, | Jan Djärv | 2006-01-04 | 1 | -29/+29 |
| | | | | | let GTK do all image processing. Importing Emacs own pixmaps to GTK looks bad for inactive tool bar items with some Gnome themes. | ||||
* | * gtkutil.c (xg_get_file_with_chooser): Changed message shown | Jan Djärv | 2005-12-28 | 1 | -14/+5 |
| | | | | in file chooser. | ||||
* | Formatting | Jan Djärv | 2005-12-27 | 1 | -7/+8 |
| | |||||
* | * gtkutil.c (xg_toggle_visibility_cb): New function. | Jan Djärv | 2005-12-27 | 1 | -1/+50 |
| | | | | | | (xg_get_file_with_chooser): Add toggle hidden files and a message to the new file chooser dialog. Show hidden files if x_show_hidden_files is non-zero. | ||||
* | * xfns.c (Fx_uses_old_gtk_dialog): New function. | Jan Djärv | 2005-12-23 | 1 | -2/+22 |
| | | | | | | | * gtkutil.c (xg_uses_old_file_dialog): New function. (xg_get_file_name): Use xg_uses_old_file_dialog. * gtkutil.h: Declare xg_uses_old_file_dialog. | ||||
* | * gtkutil.c (SSDATA): New macro to remove compiler warnings. | Jan Djärv | 2005-12-12 | 1 | -8/+11 |
| | | | | | (xg_get_image_for_pixmap, xg_create_frame_widgets) (xg_get_file_with_chooser): Use SSDATA instead of SDATA. | ||||
* | * gtkutil.c (xg_set_geometry): Do a gtk_window_move if program | Jan Djärv | 2005-09-20 | 1 | -0/+3 |
| | | | | | positions have been set for the frame (as is done for frames in special-display-buffer-names). | ||||
* | * gtkutil.c (xg_set_frame_icon): New function. | Jan Djärv | 2005-08-16 | 1 | -1/+19 |
| | |||||
* | * gtkutil.c (xg_get_pixbuf_from_pix_and_mask): New function. | Jan Djärv | 2005-08-13 | 1 | -48/+61 |
| | | | | | (xg_get_image_for_pixmap): Move some code to xg_get_pixbuf_from_pix_and_mask, and call it. | ||||
* | * gtkutil.c (xg_modify_menubar_widgets): Remove semicolon that | Jan Djärv | 2005-08-08 | 1 | -1/+1 |
| | | | | should not be there, causing menu display errors in GTK 2.6.9. | ||||
* | Update years in copyright notice; nfc. | Thien-Thi Nguyen | 2005-08-07 | 1 | -2/+1 |
| | |||||
* | Update FSF's address. | Lute Kamstra | 2005-07-04 | 1 | -2/+2 |
| | |||||
* | * gtkutil.c (xg_update_scrollbar_pos): Call x_sync so that the | Jan Djärv | 2005-03-10 | 1 | -2/+7 |
| | | | | GTK main loop is entered in xterm.c, thus doing the redraw. | ||||
* | * gtkutil.c (xg_resize_outer_widget): Removed unneeded call to | Jan Djärv | 2005-02-27 | 1 | -6/+0 |
| | | | | gtk_window_resize and x_wm_set_size_hint. | ||||
* | (xg_create_frame_widgets): UNBLOCK_INPUT on error. | Kim F. Storm | 2005-02-21 | 1 | -8/+9 |
| | |||||
* | * gtkutil.c (create_menus): Connect selection-done event instead of | Jan Djärv | 2005-02-03 | 1 | -1/+1 |
| | | | | | | the deactivate event to deactivate_cb. This will make the last leave event come before the call to deactivate_cb, so the leave event does not make sit-for exit after a menu selection. | ||||
* | * gtkutil.c (xg_tool_bar_detach_callback): Remove unused variable bw. | Jan Djärv | 2005-01-21 | 1 | -2/+1 |
| | | | | | (xg_get_file_name): Move declaration ofx_use_old_gtk_file_dialog to start of function for older compilers. | ||||
* | * xterm.h (struct x_output): New member, toolbar_detached. | Jan Djärv | 2005-01-08 | 1 | -3/+10 |
| | | | | | | | | | | * gtkutil.c (xg_create_frame_widgets): Set initial tool bar height to 38. (xg_tool_bar_detach_callback): Set toolbar_detached to 1. (xg_tool_bar_attach_callback): Set toolbar_detached to 0. (xg_create_tool_bar): Initialize toolbar_detached. (update_frame_tool_bar): Only set FRAME_TOOLBAR_HEIGHT (f) if toolbar_detached is zero. |