Created
January 3, 2012 19:04
-
-
Save jperras/1556364 to your computer and use it in GitHub Desktop.
Newsbeuter patch #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/controller.cpp b/src/controller.cpp | |
index 34ca979..715f59e 100644 | |
--- a/src/controller.cpp | |
+++ b/src/controller.cpp | |
@@ -855,7 +855,7 @@ void controller::notify(const std::string& msg) { | |
} | |
if (cfg.get_configvalue_as_bool("notify-beep")) { | |
LOG(LOG_DEBUG, "controller:notify: notifying beep"); | |
- ::beep(); | |
+ //::beep(); | |
} | |
if (cfg.get_configvalue("notify-program").length() > 0) { | |
std::string prog = cfg.get_configvalue("notify-program"); | |
diff --git a/src/view.cpp b/src/view.cpp | |
index d0c7064..4a4a647 100644 | |
--- a/src/view.cpp | |
+++ b/src/view.cpp | |
@@ -1018,7 +1018,7 @@ void view::handle_cmdline_completion(std::tr1::shared_ptr<formaction> fa) { | |
switch (suggestions.size()) { | |
case 0: | |
LOG(LOG_DEBUG, "view::handle_cmdline_completion: found no suggestion for `%s'", fragment.c_str()); | |
- ::beep(); // direct call to ncurses - we beep to signal that there is no suggestion available, just like vim | |
+ //::beep(); // direct call to ncurses - we beep to signal that there is no suggestion available, just like vim | |
return; | |
case 1: | |
suggestion = suggestions[0]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment