Skip to content

Commit

Permalink
fixed a couple of small issues, small improvement in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
FedeDP committed Sep 26, 2015
1 parent e6ebf58 commit 5d51670
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Ncurses File Manager for linux
* Powermanagement inhibition while processing a job(eg: while pasting a file) to avoid data loss. It relies upon systemd/logind (sd-bud API), so it requires a systemd booted system.
It is switched off by default. You can enable this feature from the config file or with "--inhibit=1" cmdline switch.
* It can mount your external usb drives/sticks through sd-bus and udisks2. Press 'm' to get a list of mountable drives (if any), then type your chosen drive to mount it.
* It can install your distro package files: pressing enter on a package file will ask user if he wants to install the package. It relies upon packagekit.
* It can install your distro package files: pressing enter on a package file will ask user if he wants to install the package. It relies upon packagekit, so it should be distro agnostic.

**IT DOES NOT SUPPORT TERMINAL RESIZE**. It is meant to be used maximized, or from a tty.

Expand Down
2 changes: 1 addition & 1 deletion src/string_constants.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const char *helper_string[] = { "Enter to surf between folders or to open files
"You can't close first tab. Use q to quit."};

#if defined(LIBUDEV_PRESENT) && (SYSTEMD_PRESENT)
const char *device_mode_str = "Device tab. Choose your desired device to (un)mount it. q to quit.";
const char *device_mode_str = "Choose your desired device to (un)mount it. q to quit.";
#endif
#ifdef SYSTEMD_PRESENT
const char *bus_error = "Failed to open system bus";
Expand Down
4 changes: 2 additions & 2 deletions src/ui_functions.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,12 +176,12 @@ static void print_border_and_title(int win)
{
wborder(fm[win], '|', '|', '-', '-', '+', '+', '+', '+');
if (sv.searching == 3 + win) {
mvwprintw(fm[win], 0, 0, "Found file searching %.*s: ", width[active] - 1 - strlen("Found file searching : ") - strlen(search_tab_title), sv.searched_string);
mvwprintw(fm[win], 0, 0, "Found file searching %.*s: ", width[win] - 1 - strlen("Found file searching : ") - strlen(search_tab_title), sv.searched_string);
mvwprintw(fm[win], 0, width[win] - (strlen(search_tab_title) + 1), search_tab_title);
}
#if defined(LIBUDEV_PRESENT) && (SYSTEMD_PRESENT)
else if (device_mode == 1 + win) {
mvwprintw(fm[win], 0, 0, device_mode_str);
mvwprintw(fm[win], 0, 0, "%.*s", width[win] - 1, device_mode_str);
}
#endif
else {
Expand Down

0 comments on commit 5d51670

Please sign in to comment.