Ignore:
Timestamp:
Jun 3, 2010, 2:19:28 AM (12 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
cc36f27
Parents:
d6f2d21
Message:
Add a command-executed signal for the sepbar

Now we can remove sepbar_dirty()
File:
1 edited

Legend:

Unmodified
Added
Removed
  • globalnotifiergen.pl

    r608681f r94be4a8  
    5555  VIEW_CHANGED,
    5656  MESSAGE_RECEIVED,
     57  COMMAND_EXECUTED,
    5758  LAST_SIGNAL
    5859};
     
    181182                 1,
    182183                 G_TYPE_POINTER, NULL);
     184
     185  notifier_signals[COMMAND_EXECUTED] =
     186    g_signal_new("command-executed",
     187                 G_TYPE_FROM_CLASS(gobject_class),
     188                 G_SIGNAL_RUN_FIRST,
     189                 0,
     190                 NULL, NULL,
     191                 g_cclosure_marshal_VOID__VOID,
     192                 G_TYPE_NONE,
     193                 0,
     194                 NULL);
    183195
    184196  /* Register properties */
     
    276288  g_signal_emit(gn, notifier_signals[MESSAGE_RECEIVED], 0, msg);
    277289}
    278 EOT
     290
     291void owl_global_notifier_emit_command_executed(OwlGlobalNotifier *gn)
     292{
     293  g_signal_emit(gn, notifier_signals[COMMAND_EXECUTED], 0);
     294}
     295
     296EOT
Note: See TracChangeset for help on using the changeset viewer.