From: <che...@us...> - 2003-07-31 05:40:41
|
Update of /cvsroot/sim-icq/sim/plugins/dock In directory sc8-pr-cvs1:/tmp/cvs-serv32057/sim/plugins/dock Modified Files: Tag: SIM_0_9 dock.cpp Log Message: small changes Index: dock.cpp =================================================================== RCS file: /cvsroot/sim-icq/sim/plugins/dock/Attic/dock.cpp,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -C2 -d -r1.1.2.1 -r1.1.2.2 *** dock.cpp 8 Jul 2003 12:42:40 -0000 1.1.2.1 --- dock.cpp 31 Jul 2003 05:40:38 -0000 1.1.2.2 *************** *** 109,113 **** cmd->menu_id = DockMenu; cmd->menu_grp = 0x1000; ! cmd->flags = COMMAND_TITLE; Event eCmd(EventCommandCreate, cmd); --- 109,113 ---- cmd->menu_id = DockMenu; cmd->menu_grp = 0x1000; ! cmd->flags = COMMAND_TITLE; Event eCmd(EventCommandCreate, cmd); *************** *** 116,124 **** cmd->id = CmdCustomize; cmd->text = I18N_NOOP("Customize menu"); ! cmd->icon = "configure"; cmd->menu_id = DockMenu; cmd->menu_grp = 0x10000; ! cmd->accel = 0; ! cmd->flags = COMMAND_DEFAULT; eCmd.process(); --- 116,124 ---- cmd->id = CmdCustomize; cmd->text = I18N_NOOP("Customize menu"); ! cmd->icon = "configure"; cmd->menu_id = DockMenu; cmd->menu_grp = 0x10000; ! cmd->accel = 0; ! cmd->flags = COMMAND_DEFAULT; eCmd.process(); *************** *** 307,311 **** cmd->menu_id = DockMenu; cmd->menu_grp = 0x1000; ! cmd->flags = COMMAND_CHECK_STATE; Event e(EventCommandExec, cmd); --- 307,311 ---- cmd->menu_id = DockMenu; cmd->menu_grp = 0x1000; ! cmd->flags = COMMAND_CHECK_STATE; Event e(EventCommandExec, cmd); *************** *** 322,326 **** cmd->menu_id = DockMenu; cmd->menu_grp = 0x1000; ! cmd->flags = COMMAND_CHECK_STATE; if (core->unread.size()) --- 322,326 ---- cmd->menu_id = DockMenu; cmd->menu_grp = 0x1000; ! cmd->flags = COMMAND_CHECK_STATE; if (core->unread.size()) *************** *** 354,358 **** void DockPlugin::timer() { ! if (!getAutoHide() || (inactiveTime == 0)) return; unsigned now; --- 354,360 ---- void DockPlugin::timer() { ! if (!isMainShow()) // already hidden ! return; ! if (!getAutoHide() || (inactiveTime == 0)) // no autohide return; unsigned now; |