Andrew Borodin
74651f2e9f
Added modal flag to the dialog structure.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:16:19 +04:00
Andrew Borodin
aa0d96bd8b
Ticket #1646 : removed leading and trailing spaces in i18n resources.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-07 21:42:46 +04:00
Andrew Borodin
1947d842a5
Added deletable member to WListbox structure.
...
Added deletable member to WListbox structure to enable
delete some list entries.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-04 13:42:44 +00:00
Andrew Borodin
32c580ee87
Reimplemented WListbox to use GList.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-04 13:42:43 +00:00
Andrew Borodin
aac16c693d
Ticket #1445 : remove history items.
...
Initial step: optimizatiom of listbox_remove_current() function.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-04 13:42:43 +00:00
Slava Zanko
93dbc46e9c
Reorganization of sources. Part 1.
...
* moved src/global.h into lib/global.h
* moved glibcompat.[ch] from ./src/ into ./lib/
* moved fs.h from ./src/ into ./lib/
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:23 +02:00
Slava Zanko
51f10b3038
Cleanup of code for compile with new warnings options for compilator
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-30 20:36:48 +02:00
Andrew Borodin
47c4744347
Ticket #1451 : fixed placement of choose encoding dialog window.
...
The "Choose codepage" dialog (for file panel) is centered
over the according panel.
Renamed create_listbox_window_delta() function to
create_listbox_window_centered(). Now this function takes in
coordinates of dialog center.
Changed argumets order to unified dialogs API.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-10-15 11:40:30 +04:00
Slava Zanko
7896ea84f6
Added handlers for panel sort keybind actions.
...
* PanelSelectSortOrder - show 'Sort order' dialog
* PanelToggleSortOrderPrev - toggle next sort type (or reverse sort order)
* PanelToggleSortOrderNext - toggle previous sort type (or cancel reverse)
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-06 10:18:54 +03:00
Slava Zanko
b4f7ea071f
Remove array of hardcoded format names from listmode.c
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-06 10:18:54 +03:00
Andrew Borodin
bd0d344802
TTY: moved repaint_screen() from src/main.[ch] to src/layout.[ch].
...
Fixed includes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-12 21:23:54 +04:00
Andrew Borodin
5a5a8bd3c0
Reorganization of key and window management functions.
2009-08-12 21:23:12 +04:00
Slava Zanko
2ebdf91079
Merge branch 'm-utf-8'
...
* m-utf-8: (223 commits)
Fix wildcard pattern in file select and file find dialogs
Project builds with option --disable-charsets
Deleted build-glib1.sh because glib1 don't work with utf-8
fix building without --enable-charset
Total replacement to mc_search stuff in all places
Search engine: if found_len parameter NULL, then mc_search_run don't try to fill them
src/view.c: Reworked search stuff to usage src/search
refactoring: rename edit/editcmd_dialog.c:editcmd_dialog__get_search_types_list to
Search engine: development of hex search complete
Search engine: remove forgotten debug string and reindent file
Search engine:
configure.ac: if present glib-2.14 and higher, libpcre don't linked
Search engine: now used regexp external engines:
src/find.c: Fixed core dump if content search pattern no present
edit/editcmd_dialogs.c: fixed state of search type between dialog window calls
Find files: checkbox 'Regular expression' for content search now default unchecked
Find files: changes for usage of new search engine:
Fix copy of current/opposite path to command line: remove charset info from path
src/Makefile.am: add some header files to Make-tracking
Fixed editor menu reloading.
2009-05-07 13:01:01 +03:00
Slava Zanko
10b7bdb361
Project now build with:
...
make CFLAGS="-ansi -pedantic -Wall -Wextra -Werror"
WARNING! Builds wuthout samba.
2009-04-24 01:47:22 +03:00
Andrew Borodin
004bc0077e
Unification of widgets API.
...
widget.h: chaged paremeters order of listbox_new()
and groupbox_new() functions.
widget.c: likewise.
src/achown.c: sync with modified API of WListbox and WGroupbox widgets.
src/boxes.c: likewise.
src/chown.c: likewise.
src/complete.c: likewise.
src/find.c: likewise.
src/hotlist.c: likewise.
src/layout.c: likewise.
src/listmode.c: likewise.
src/option.c: likewise.
src/panelize.c: likewise.
src/wtools.c: likewise.
edit/editcmd.c: likewise.
2009-04-15 20:22:26 +04:00
Mikhail S. Pobolovets
08469a001e
Some fixups with wrongly highlighted words
...
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-02-10 16:07:59 +02:00
Mikhail S. Pobolovets
758ab591d8
Simple doxygen description for files in src directory.
...
Mostly \file and \brief tag added.
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-02-10 16:07:59 +02:00
Patrick Winnertz
d84586ba82
Reverted the use of mhl_str_dup and use g_strdup instead.
...
Signed-off-by: Patrick Winnertz <winnie@debian.org>
2009-02-05 23:40:32 +01:00
Patrick Winnertz
1c287d798d
First bunch of mhl_mem_free removal patches
...
Signed-off-by: Patrick Winnertz <winnie@debian.org>
2009-02-05 23:36:58 +01:00
Enrico Weigelt, metux IT service
8b38cf44da
manully merged 227_replace_g_free
2009-02-02 22:34:05 +01:00
Enrico Weigelt, metux IT service
f921cc40cd
replaced calls to g_strdup() by mhl_str_dup()
2009-01-30 20:10:40 +01:00
Enrico Weigelt, metux IT service
15d7d47c15
replaced g_free() by mhl_mem_free()
2009-01-30 19:28:35 +01:00
Pavel Tsekov
2f3df3af4e
* edit/bookmark.c: Update copyright notice.
...
* edit/edit.c: Likewise.
* edit/editcmd.c: Likewise.
* edit/editdraw.c: Likewise.
* edit/editkeys.c: Likewise.
* edit/editlock.c: Likewise.
* edit/editmenu.c: Likewise.
* edit/editoptions.c: Likewise.
* edit/editwidget.c: Likewise.
* edit/syntax.c: Likewise.
* src/background.c: Likewise.
* src/boxes.c: Likewise.
* src/complete.c: Likewise.
* src/execute.c: Likewise.
* src/ext.c: Likewise.
* src/file.c: Likewise.
* src/filegui.c: Likewise.
* src/fileopctx.c: Likewise.
* src/find.c: Likewise.
* src/hotlist.c: Likewise.
* src/key.c: Likewise.
* src/keyxdef.c: Likewise.
* src/layout.c: Likewise.
* src/learn.c: Likewise.
* src/listmode.c: Likewise.
* src/main.c: Likewise.
* src/panelize.c: Likewise.
* src/slint.c: Likewise.
* src/textconf.c: Likewise.
* src/tree.c: Likewise.
* src/treestore.c: Likewise.
* src/tty.c: Likewise.
* src/util.c: Likewise.
* src/utilunix.c: Likewise.
* src/view.c: Likewise.
* src/widget.c: Likewise.
* src/wtools.c: Likewise.
* src/x11conn.c: Likewise.
* vfs/cpio.c: Likewise.
* vfs/extfs.c: Likewise.
* vfs/fish.c: Likewise.
* vfs/ftpfs.c: Likewise.
* vfs/gc.c: Likewise.
* vfs/mcfs.c: Likewise.
* vfs/mcserv.c: Likewise.
* vfs/smbfs.c: Likewise.
* vfs/tar.c: Likewise.
2007-09-25 15:33:35 +00:00
Pavel Tsekov
23361694b6
* src/background.c: Use the correct form of FSF's name in the copyright
...
notice.
* src/boxes.c: Ditto.
* src/complete.c: Ditto.
* src/execute.c: Ditto.
* src/ext.c: Ditto.
* src/file.c: Ditto.
* src/filegui.c: Ditto.
* src/fileopctx.c: Ditto.
* src/fileopctx.h: Ditto.
* src/find.c: Ditto.
* src/hotlist.c: Ditto.
* src/key.c: Ditto.
* src/keyxdef.c: Ditto.
* src/layout.c: Ditto.
* src/learn.c: Ditto.
* src/listmode.c: Ditto.
* src/main.c: Ditto.
* src/panelize.c: Ditto.
* src/slint.c: Ditto.
* src/textconf.c: Ditto.
* src/tree.c: Ditto.
* src/treestore.c: Ditto.
* src/tty.c: Ditto.
* src/util.c: Ditto.
* src/utilunix.c: Ditto.
* src/view.c: Ditto.
* src/widget.c: Ditto.
* src/wtools.c: Ditto.
* src/x11conn.c: Ditto.
* vfs/cpio.c: Ditto.
* vfs/extfs.c: Ditto.
* vfs/fish.c: Ditto.
* vfs/ftpfs.c: Ditto.
* vfs/gc.c: Ditto.
* vfs/mcfs.c: Ditto.
* vfs/mcserv.c: Ditto.
* vfs/smbfs.c: Ditto.
* vfs/tar.c: Ditto.
* vfs/undelfs.c: Ditto.
* vfs/utilvfs.c: Ditto.
* vfs/vfs.c: Ditto.
* edit/bookmark.c: Ditto.
* edit/edit.c: Ditto.
* edit/edit.h: Ditto.
* edit/editcmd.c: Ditto.
* edit/editdraw.c: Ditto.
* edit/editkeys.c: Ditto.
* edit/editlock.c: Ditto.
* edit/editmenu.c: Ditto.
* edit/editoptions.c: Ditto.
* edit/editwidget.c: Ditto.
* edit/syntax.c: Ditto.
2007-09-24 09:28:32 +00:00
Pavel Tsekov
049352e884
* src/widget.h (struct WRadio): Remove unused field
...
`upper_letter_is_hotkey'.
(radio_new): Remove the last argument from the function
declaration - it is unused.
* src/widget.c (radio_new): Remove the last argument from the
function declaration - it is unused.
* src/boxes.c: Adjust all callers to reflect the changes above.
* src/layout.c: Likewise.
* src/listmode.c: Likewise.
* src/option.c: Likewise.
* src/wtools.c: Likewise.
2006-02-28 16:15:21 +00:00
Pavel Roskin
1f60f44145
Update postal address of Free Software Foundation.
2005-05-27 03:35:10 +00:00
Roland Illig
fc85bdba7e
* *.c: Reordered header inclusion.
2005-02-08 09:04:03 +00:00
Pavel Roskin
98950838b4
* dlg.h: Merge with ...
...
* dialog.h: ... this. Adjust all dependencies.
* dlg.c: Merge with ...
* dialog.c: ... this.
* Makefile.am (SRCS): Remove dlg.h and dlg.c.
2003-10-24 23:20:30 +00:00
Pavel Roskin
e14f56d71b
* dlg.h: Replace DLG_BACKWARD to DLG_REVERSE with a better
...
defined meaning. Make it default to populate dialogs from the
top. Change all calls to create_dlg().
2003-09-12 21:22:01 +00:00
Pavel Roskin
0c794a4e95
Fix unsafe defines.
2003-09-10 21:33:12 +00:00
Pavel Roskin
25e8950d39
* listmode.c: Use groupboxes.
2003-09-07 23:06:27 +00:00
Pavel Roskin
13a02ef978
* dlg.h: Use new types for dialog callbacks.
...
(dlg_cb_fn): Swap msg and parm arguments for consistency with
widget callbacks. Adjust all dependencies.
2003-09-07 21:24:01 +00:00
Pavel Roskin
198e0035e4
* listmode.c: Create all buttons in one place. Remove unneeded
...
low-level drawing.
(listmode_edit): Return NULL on cancel.
* main.c (listmode_cmd): Actually use the result of
listmode_edit().
2003-09-01 09:03:30 +00:00
Pavel Roskin
3632b705de
* listmode.c: Use callbacks for Add and Remove buttons. Don't
...
run dialog in the loop, it doesn't work this way.
2003-09-01 08:18:54 +00:00
Pavel Roskin
f8e00e7b6a
* widget.c (listbox_new): Remove "action" argument. Listboxes
...
without callbacks default to closing the dialog. Adjust all
users. This fixes double click on completion listbox.
* widget.h: Use uppercase names for the return values of the
listbox callback.
2003-09-01 07:31:56 +00:00
Pavel Roskin
58545e65c2
* widget.h: Use exact type in the listbox callback. Adjust all
...
legitimate users, remove all unused callbacks.
2003-09-01 05:43:20 +00:00
Pavel Roskin
339bd16e5e
* boxes.c: Fix GUI code for some non-default configurations.
...
* listmode.c: Likewise.
2003-09-01 05:10:49 +00:00
Pavel Roskin
2b9b18150e
* widget.h (button_new): Remove unused extra argument. Adjust
...
all dependencies.
2003-09-01 02:07:02 +00:00
Pavel Roskin
10f65ac83d
* dlg.h (struct Widget): Remove tkname field.
...
(init_widget): Remove tkname argument.
* widget.h (listbox_new): Likewise.
Adjust all dependencies.
2003-08-31 23:29:49 +00:00
Pavel Roskin
a84b0fc9cd
Fix some of the most ugly abuses of mixed caps in English texts,
...
especially in button captions.
2002-10-21 22:26:39 +00:00
Pavel Roskin
6c2eb32b70
* dlg.c (x_set_dialog_title): Completely eliminate. Adjust all
...
dependencies.
2002-09-03 07:42:36 +00:00
Pavel Roskin
812e80c85a
Add a comment saying where the code is broken and why.
2002-09-02 07:18:51 +00:00
Pavel Roskin
cec127c569
* listmode.c (listmode_refresh): Use common_dialog_repaint().
...
Eliminate all global variables. Reformat the whole file.
2002-09-02 06:06:49 +00:00
Pavel Roskin
c11389facb
* global.h: Include io.h, pwd.h, grp.h and utime.h. Adjust all
...
sources not to include them and to include global.h at the right
place.
2001-09-07 17:52:19 +00:00
Pavel Roskin
a8ef641beb
* x.h: Remove. Adjust all users. Make sure that global.h is
...
included instead. Don't include sys/param.h unconditionally -
rely on global.h taking care of it.
* Makefile.in: Remove x.h.
2001-09-03 05:07:40 +00:00
Pavel Roskin
7b340a2af9
* achown.c: Make global variables static if possible. Remove now
...
useless preprocessor directives, since this file is now used in
the text edition only.
* boxes.c: Remove useless ifdefs.
[USE_VFS]: Don't undef USE_NETCODE - it's done in extraconf.h.
* cmd.c [USE_VFS]: Don't undef USE_NETCODE.
* chmod.c: Remove useless ifdefs.
* filegui.c: Likewise.
* hotlist.c: Likewise.
* info.c: Likewise.
* layout.c: Likewise.
* listmode.c: Likewise.
* option.c: Likewise.
* subshell.c: Likewise.
* help.c: Remove useless ifdefs. Make global variables static if
possible.
* key.c: Likewise.
* learn.c: Likewise.
2001-06-05 16:41:44 +00:00
Pavel Roskin
bb912def1a
* gtkedit/editcmd.c: Remove support for XView layout attributes.
...
* gtkedit/editoptions.c: Likewise.
* pc/chmod.c: Likewise.
* pc/drive.c: Likewise.
* src/boxes.c: Likewise.
* src/chmod.c: Likewise.
* src/dlg.c: Likewise.
* src/dlg.h: Likewise.
* src/filegui.c: Likewise.
* src/find.c: Likewise.
* src/hotlist.c: Likewise.
* src/layout.c: Likewise.
* src/listmode.c: Likewise.
* src/main.c: Likewise.
* src/option.c: Likewise.
* src/panelize.c: Likewise.
* src/wtools.c: Likewise.
* src/wtools.h: Likewise.
* vfs/smbfs.c: Likewise.
2001-04-06 21:48:11 +00:00
Pavel Roskin
3263fee6d4
* listmode.c, listmode.h, main.c: Consistently using define
...
LISTMODE_EDITOR to enable the experimental listmode editor.
* main.c: Don't allow two adjacent separators in the Command
menu.
2000-09-26 22:38:13 +00:00
Pavel Roskin
e828211662
Updated address of Free Software Foundation
2000-08-22 22:50:00 +00:00
Miguel de Icaza
cae3f1b9ab
Various typo fixes in gnome-file-property-dialog.c. nd in gdialogs.c.
...
It does not look as it was tested a lot.
Miguel
v
1999-02-13 20:12:35 +00:00