- 25 Dec, 2004 1 commit
-
-
Jan Djärv authored
tool-bar-button-margin control margins of images in tool bar.
-
- 07 Dec, 2004 2 commits
-
-
Jan Djärv authored
(xg_get_file_name): Block and unblock __SIGRTMIN if defined. * alloc.c: If HAVE_GTK_AND_PTHREAD, include pthread.h, new variables main_thread and alloc_mutex, define (UN)BLOCK_INPUT_ALLOC to use alloc_mutex to protect emacs_blocked_* calls and only do (UN)BLOCK_INPUT in the main thread. If not HAVE_GTK_AND_PTHREAD, (UN)BLOCK_INPUT_ALLOC is the same as (UN)BLOCK_INPUT. (emacs_blocked_free, emacs_blocked_malloc) (emacs_blocked_realloc): Use (UN)BLOCK_INPUT_ALLOC. (uninterrupt_malloc): Initialize main_thread and alloc_mutex. (reset_malloc_hooks): New function. * lisp.h: Declare reset_malloc_hooks. * emacs.c (Fdump_emacs): Call reset_malloc_hooks. * keyboard.c: Conditionally include pthread.h (handle_async_inpu, input_available_signalt): If not in the main thread, block signal, send signal to main thread and return.
-
Jan Djärv authored
Set current folder in file chooser if default_filename is a directory.
-
- 23 Nov, 2004 1 commit
-
-
Jan Djärv authored
x-use-old-gtk-file-dialog. * xfns.c: Define x_use_old_gtk_file_dialog. (syms_of_xfns): Rename use-old-gtk-file-dialog to x-... Move it outside ifdef USE_GTK.
-
- 16 Nov, 2004 1 commit
-
-
Jan Djärv authored
HAVE_GTK_FILE_SELECTION_NEW.
-
- 13 Nov, 2004 2 commits
-
-
Jan Djärv authored
-
Jan Djärv authored
(xg_file_sel_destroy): Removed. (xg_file_response_cb, pop_down_file_dialog, xg_get_file_name_from_chooser, xg_get_file_name_from_selector): New functions. (xg_get_file_with_chooser, xg_get_file_with_selection): Take new argument func, set it to xg_get_file_name_from_chooser/selector. Move common code to xg_get_file_name. Return widget created. (xg_get_file_name): Set name, transient for, modal and destroy with parent here. Connect response signal to xg_file_response_cb, connect delete-event to gtk_true. Record pop_down_file_dialog for unwind. Do event loop and call x_menu_wait_for_event in loop. (xg_create_widget): Make dialogs modal.
-
- 04 Nov, 2004 2 commits
- 02 Nov, 2004 2 commits
-
-
Jan Djärv authored
of save.
-
Jan Djärv authored
Fx_file_dialog if only directories should be read. * lisp.h: Fx_file_dialog takes 5 parameters. * xfns.c (Fx_file_dialog): Both Motif and GTK version: Add parameter only_dir_p. In Motif version, don't put DEFAULT_FILENAME in filter part of the dialog, just text field part. Do not add DEFAULT_FILENAME to list of files if it isn't there. In GTK version, pass only_dir_p parameter to xg_get_file_name. * macfns.c (Fx_file_dialog): Add parameter only_dir_p. Check only_dir_p instead of comparing prompt to "Dired". When using a save dialog, add option kNavDontConfirmReplacement, change title to "Enter name", change text for save button to "Ok". * w32fns.c (Fx_file_dialog): Add parameter only_dir_p. Check only_dir_p instead of comparing prompt to "Dired". * gtkutil.c (xg_get_file_with_chooser) (xg_get_file_with_selection): New functions, only defined ifdef HAVE_GTK_FILE_CHOOSER_DIALOG_NEW and HAVE_GTK_FILE_SELECTION_NEW respectively. (xg_get_file_name): Add parameter only_dir_p. Call xg_get_file_with_chooser or xg_get_file_with_selection depending on HAVE_GTK_FILE* and the value of use_old_gtk_file_dialog. (xg_initialize): New DEFVAR_BOOL use_old_gtk_file_dialog. * gtkutil.h (xg_get_file_name): Add parameter only_dir_p.
-
- 26 Oct, 2004 1 commit
-
-
Jan Djärv authored
(xg_destroy_widgets): Renamed from remove_from_container. Just destroy all widgets in list. Argument wcont removed. (xg_update_menubar, xg_update_submenu): Call xg_destroy_widgets instead of remove_from_container. (xg_display_close, xg_create_tool_bar, update_frame_tool_bar) (free_frame_tool_bar): Add comment.
-
- 19 Oct, 2004 1 commit
-
-
Jan Djärv authored
xg_find_top_left_in_fixed): Removed. (xg_create_scroll_bar): Put an event box widget between the scroll bar widget and the edit widget. (xg_show_scroll_bar): Show the parent widget (the event box). (xg_remove_scroll_bar): Destroy parent (the event box) also. (xg_update_scrollbar_pos): Remove arguments real_left and canon_width. Move the parent (the event box) widget inside the fixed widget. Move window clear to xterm.c.
-
- 18 Oct, 2004 1 commit
-
-
Jan Djärv authored
gdk_window_clear and move gdk_window_process_all_updates after clear so events are sent to the X server in correct order.
-
- 27 Aug, 2004 1 commit
-
-
Jan Djärv authored
tool bar items is 0.
-
- 28 Jun, 2004 2 commits
- 14 Jun, 2004 1 commit
-
-
Jan Djärv authored
(xg_get_gdk_pixmap_and_mask): Removed. (update_frame_tool_bar): Call xg_get_image_for_pixmap instead of xg_get_gdk_pixmap_and_mask.
-
- 03 May, 2004 1 commit
-
-
Jan Djärv authored
"under" scroll bar when size/position changes.
-
- 24 Dec, 2003 1 commit
-
-
Jan Djärv authored
-
- 16 Nov, 2003 1 commit
-
-
Jan Djärv authored
-
- 02 Nov, 2003 1 commit
-
-
Jan Djärv authored
Since the context in Lisp is not present anymore, we don't know how to invoke the action for a menu item.
-
- 01 Sep, 2003 1 commit
-
-
Miles Bader authored
-
- 29 Jul, 2003 1 commit
-
-
Jan Djärv authored
-
- 15 Jun, 2003 1 commit
-
-
Stefan Monnier authored
data to kbd_buffer_store_event.
-
- 03 Jun, 2003 1 commit
-
-
Jan Djärv authored
menu item label.
-
- 02 Jun, 2003 1 commit
-
-
Dave Love authored
(xg_create_frame_widgets): Use ENCODE_UTF_8.
-
- 24 May, 2003 1 commit
-
-
Kim F. Storm authored
new macros in dispextern.h, frame.h and window.h.
-
- 02 May, 2003 1 commit
-
-
Jan Djärv authored
(make_menu_item, create_menus, xg_update_menu_item): Don't call ..._with_mnemonic functions for menu items.
-
- 09 Apr, 2003 1 commit
-
-
Jan Djärv authored
get GtkAdjustment as widget now is a GtkRange. * gtkutil.c (xg_create_scroll_bar): Connect to value-changed on GtkRange to avoid memory leak.
-
- 28 Mar, 2003 1 commit
-
-
Jan Djärv authored
of area to be redrawn for better performance.
-
- 26 Mar, 2003 1 commit
-
-
Jan Djärv authored
(xg_frame_set_char_size): Calculate scroll bar width before frame width. Call SET_FRAME_GARBAGED and cancel_mouse_face. (xg_separator_p): Check for all documented separator types. (xg_update_scrollbar_pos): Variable gheight not needed, use height. (update_frame_tool_bar): Don't call gdk_window_process_all_updates.
-
- 23 Mar, 2003 2 commits
- 18 Mar, 2003 1 commit
-
-
Jan Djärv authored
all widgets.
-
- 17 Mar, 2003 2 commits
- 14 Mar, 2003 2 commits
- 13 Mar, 2003 1 commit
-
-
Andreas Schwab authored
-