Changeset 044f19f
- Timestamp:
- Jun 12, 2010, 3:29:01 PM (14 years ago)
- Branches:
- master, release-1.10, release-1.7, release-1.8, release-1.9
- Children:
- ea7daa8
- Parents:
- e92e2a1
- git-author:
- David Benjamin <davidben@mit.edu> (06/12/10 01:49:55)
- git-committer:
- David Benjamin <davidben@mit.edu> (06/12/10 15:29:01)
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
cmd.c
r94be4a8 r044f19f 74 74 } else if (NULL != (cmd = owl_dict_find_element(cd, argv[0]))) { 75 75 retval = owl_cmd_execute(cmd, cd, ctx, argc, argv, buff); 76 /* This really should be attached to the cmd or cmddict...*/77 owl_global_ notifier_emit_command_executed(g.gn);76 /* redraw the sepbar; TODO: don't violate layering */ 77 owl_global_sepbar_dirty(&g); 78 78 } else { 79 79 owl_function_makemsg("Unknown command '%s'.", buff); -
global.c
re92e2a1 r044f19f 141 141 } 142 142 143 void owl_global_sepbar_dirty(owl_global *g) 144 { 145 owl_window_dirty(g->mainpanel.sepwin); 146 } 147 143 148 /* Called once perl has been initialized */ 144 149 void owl_global_complete_setup(owl_global *g) -
owl.c
r07b59ea r044f19f 271 271 /* log the message if we need to */ 272 272 owl_log_message(m); 273 /* emit a signal for listeners*/274 owl_global_ notifier_emit_message_received(g.gn, m);273 /* redraw the sepbar; TODO: don't violate layering */ 274 owl_global_sepbar_dirty(&g); 275 275 276 276 return 1; -
sepbar.c
r94be4a8 r044f19f 6 6 { 7 7 g_signal_connect(w, "redraw", G_CALLBACK(sepbar_redraw), NULL); 8 owl_dirty_window_on_signal(w, g.gn, "message-received"); 9 owl_dirty_window_on_signal(w, g.gn, "command-executed"); 8 /* TODO: handle dirtiness in the sepbar */ 10 9 owl_window_dirty(w); 11 10 }
Note: See TracChangeset
for help on using the changeset viewer.