Clean up underscores in function and variable names

Try to fix all places where we accidentally used foo_bar instead
of fooBar for function names, function parameters, and variables.

(Lucas Rocha pointed out one example.)

http://bugzilla.gnome.org/show_bug.cgi?id=581141
This commit is contained in:
Owen W. Taylor
2009-05-02 18:33:13 -04:00
parent 63eea7dc20
commit 20e755023b
7 changed files with 40 additions and 40 deletions

View File

@ -50,14 +50,14 @@ function start() {
// Make sure not more than one run dialog is shown.
if (!runDialog) {
runDialog = new RunDialog.RunDialog();
let end_handler = function() {
let endHandler = function() {
runDialog.destroy();
runDialog = null;
};
runDialog.connect('run', end_handler);
runDialog.connect('cancel', end_handler);
runDialog.connect('run', endHandler);
runDialog.connect('cancel', endHandler);
if (!runDialog.show())
end_handler();
endHandler();
}
});
@ -69,9 +69,9 @@ function start() {
let display = global.screen.get_display();
let toggleOverlay = function(display) {
if (overlay.visible) {
hide_overlay();
hideOverlay();
} else {
show_overlay();
showOverlay();
}
};
@ -154,20 +154,20 @@ function endModal() {
inModal = false;
}
function show_overlay() {
function showOverlay() {
if (startModal()) {
overlayActive = true;
overlay.show();
}
}
function hide_overlay() {
function hideOverlay() {
overlay.hide();
overlayActive = false;
endModal();
}
function create_app_launch_context() {
function createAppLaunchContext() {
let global = Shell.Global.get();
let screen = global.screen;
let display = screen.get_display();